
它可以检测项目文件夹中许多 Web 编程语言和框架中可能被用于攻击方法的函数。
注意:这里描述的许多函数可能并不会导致漏洞。

SQLi、XSS、XXE、CSRF、SSTI、SSRF、IDOR、CORS、XSHM、LFI、DoS、DDoS、RFI、弱加密 / 不安全的加密存储、路径遍历、会话攻击、开放重定向、不安全的文件权限、XPath 注入、文件上传漏洞、内存损坏 / 缓冲区溢出、安全配置错误、反射式文件下载、CSV 注入、命令注入、WebSocket 漏洞、竞态条件、缓存投毒、代码注入、恶意文件反序列化、JWT 漏洞、访问控制失效、内容欺骗、认证漏洞、Cookie 漏洞、业务逻辑漏洞。
git clone https://github.com/OsmanKandemir/static-code-analysis-helper.git
cd static-code-analysis-helper
python3 scanner.py -f "/Users/Test/ProjectFolder" -o result.txt
git clone https://github.com/OsmanKandemir/static-code-analysis-helper.git
cd static-code-analysis-helper
python -m build
python setup.py install
该应用程序可在 PyPI 上获取。使用 pip 安装:
pip install staticcodeanalysishelper
from StaticCodeAnalysisHelper import FileScan
# Specific Programming Language Scan
FileScan.AdvancedFileScanning("/Desktop/My-Project","java","result.txt")
# Full Scan
FileScan.AdvancedFileScanning("/Desktop/My-Project",None,"result.txt")
docker build -t staticcodeanalysishelper .
docker run -v <YOUR-PROJECT-PATH-FOLDER>:/static-code-analysis-helper/Project staticcodeanalysishelper -f /static-code-analysis-helper/Project -p <YOUR-PROGRAMMING-LANGUAGE>
docker pull osmankandemir/staticcodeanalysishelper:v1.0.0
docker run -v <YOUR-PROJECT-PATH-FOLDER>:/static-code-analysis-helper/Project osmankandemir/staticcodeanalysishelper:v1.0.0 -f /static-code-analysis-helper/Project -p <YOUR-PROGRAMMING-LANGUAGE>
Please, scan the only project files for the correct result.
-f FOLDER [FOLDER], --folder Folder [FOLDER] Project Folder Path. --folder
-p PROGRAMMING [PROGRAMMING], --programming python [PROGRAMMING] Select Programming Language. --programming
-o OUTPUT [FILENAME] --output [FILENAME] Save output. --output
Programming Language List : java, asp.net, python, dart, ruby, go, php, rust, javascript, perl, scala, golang, kotlin, julia
要继续开发该应用程序,你可以根据以下语法向 StaticCodeAnalysisHelper/LanguagesFunctions.py 文件添加新函数。
{"function": "function()","description": "description"}
{"function": "function[]","description": "description"}
{"function": "function","description": "description"}
Copyright (c) 2025 Osman Kandemir
根据 GPL-3.0 许可证授权。
如果你喜欢 Static-Code-Analysis-Helper 并想表示支持,你可以使用下方按钮的 Buy A Coffee 或 Github Sponsors 功能来支持开发者。
或
赞助我:https://github.com/sponsors/OsmanKandemir 😊
非常感谢您的支持😊