Static Code Analysis Helper helps you perform static code analysis.
Project description
Static-Code-Analysis-Helper
Description
It detects functions that are likely to cause attack methodologies in many web programming languages and frameworks in your project folder.
Helps you perform static code analysis.
Note : Many of the functions described here may not cause vulnerabilities.
ScreenShot
Programming Languages
- Go
- Python
- Ruby
- PHP
- JavaScript
- Java
- Rust
- Perl
- Ruby on Rails
- Swift
- Golang
- Scala
- Kotlin
- Julia
- Dart
- ASP.NET Core
Types of attacks related to results
SQLi, XSS, XXE, CSRF, SSTI, SSRF, IDOR, CORS, XSHM, LFI, DoS, DDoS, RFI, Weak Encryption / Insecure Cryptographic Storage, Path Traversel, Session Attacks,Open Redirect, Insecure File Permissions, XPath Injection, File Uploads, Memory Corruption / Buffer Overflow, Security Misconfiguration, Reflected File Download, CSV Injection, Command Injection, WebSocket Vulnerabilities, Race Condition, Code Injection, Malicious File Deserialization, JWT Vulnerabilities, Broken Access Control, Content Spoofing, Authentication Vulnerabilities, Cookie Vulnerabilities, Business Logic Vulnerabilities.
TODO
- ******** Private Repository
- ******** Private Repository
- Scan Multiple Programming Language with MultiThread
- Detecting functions that contain other structures. Environment variables etc.
- Feature to download from Github, Gitlab or Bitbucket to the repository periodically.
NOTE : Please See; USAGE_POLICY.md LICENSE
Installation
From Git
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
From Source Code
git clone https://github.com/OsmanKandemir/static-code-analysis-helper.git
cd static-code-analysis-helper
python -m build
python setup.py install
From Pypi
Function Usage
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")
From Dockerfile
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>
From DockerHub
Usage
-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
Please, scan the only project files for the correct result.
Development and Contribution
To continue developing the application StaticCodeAnalysisHelper/LanguagesFunctions.py you can add new functions to the file according to the following syntaxes.
{"function": "function()","description": "description"}
{"function": "function[]","description": "description"}
{"function": "function","description": "description"}
See; CONTRIBUTING.md
License
Copyright (c) 2025 Osman Kandemir
Licensed under the GPL-3.0 License.
Donations
If you like Static-Code-Analysis-Helper and would like to show support, you can use Buy A Coffee or Github Sponsors feature for the developer using the button below.
Or
Sponsor me : https://github.com/sponsors/OsmanKandemir 😊
Your support will be much appreciated😊
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file staticcodeanalysishelper-1.0.0.tar.gz.
File metadata
- Download URL: staticcodeanalysishelper-1.0.0.tar.gz
- Upload date:
- Size: 28.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
317c58ea111622d6993b5d0d2c7f1cbf63ad859297e0d1c144ff6caa518d62e3
|
|
| MD5 |
c9d98368852929dd953536b3407c14da
|
|
| BLAKE2b-256 |
3518bf1f5fd21fcc4a603ff02002b2427896543ca5d93196bf8dbd67201a0c93
|
File details
Details for the file staticcodeanalysishelper-1.0.0-py3-none-any.whl.
File metadata
- Download URL: staticcodeanalysishelper-1.0.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04d1ef0d8749266ec258399ae8bd025ce032cca9703b1796d5692e6dec03a1bf
|
|
| MD5 |
ebc49eee1fc3fc6febdba180ad33fc38
|
|
| BLAKE2b-256 |
b835d8a5d7f6cab7e8c0df0762c1b37d2a26c6a13358839c0247048fe7686035
|