Security Audit Toolkit
OWASP-oriented static scanner for Python — 12 regex rules covering injection, secrets, unsafe loaders, and misconfig.
| ID | Vulnerability | Severity |
|---|---|---|
| SQLI-001 | SQL Injection (f-string) | CRITICAL |
| SQLI-002 | SQL Injection (concatenation) | CRITICAL |
| XSS-001 | XSS (template) | HIGH |
| HARDCODE-001 | Hardcoded secret | HIGH |
| JWT-001 | JWT no algorithm | HIGH |
| XXE-001 | XML External Entity | HIGH |
| YAML-001 | Unsafe YAML load | CRITICAL |
| PICKLE-001 | Unsafe pickle | CRITICAL |
| REDIRECT-001 | Open Redirect | MEDIUM |
| DEBUG-001 | Debug mode | MEDIUM |
| EVAL-001 | Code injection (eval) | CRITICAL |
| SHELL-001 | Shell injection | CRITICAL |
Quick start
python demo.py
# or
python -c "from src.scanner import SecurityScanner; print(SecurityScanner().scan_file('app.py'))"
Library usage:
from scanner import SecurityScanner
scanner = SecurityScanner()
vulns = scanner.scan_file("app.py")
for v in vulns:
print(f"[{v.severity}] {v.title} at line {v.line}")
print(f" Fix: {v.fix}")
Tests
python3 -m pytest tests/ -q
Layout
src/scanner.py— rules + scannerdemo.py— offline smoke on synthetic vulnstests/— rule coverage
License
MIT · AMEOBIUS-team
Related
- https://github.com/AMEOBIUS-team/tor-hidden-service-template
- https://github.com/AMEOBIUS-team/bounty-hunter-toolkit
- https://github.com/AMEOBIUS-team/fastapi-template
- Portfolio: https://ameobius-team.github.io/kwork-portfolio/
Freelance portfolio: https://ameobius-space.github.io/kwork-portfolio/
Metadata
Release files for security-audit-toolkit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| security_audit_toolkit-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for security_audit_toolkit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| security_audit_toolkit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for security_audit_toolkit-0.1.0-py3-none-any.whl |
Total release size: 6.4 kB
Release files / security_audit_toolkit-0.1.0.tar.gz
| Download URL | security_audit_toolkit-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d369ba617149318dcf3f1090649cdf56d6b4a9b8fa0052188c3fc68a922d9a0
|
|
BLAKE2b-256 checksum How to use checksums |
ae5de4c1d213e22ad14cd464a9c004a7af93f93da332165502706f36c47e57df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / security_audit_toolkit-0.1.0-py3-none-any.whl
| Download URL | security_audit_toolkit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5981fd9183dcf14ef659244d856a437f1c09f5a7884f2fa6c26b394945b9f557
|
|
BLAKE2b-256 checksum How to use checksums |
83d56c735bd438bcc969813b183aec7674d57038578abeba6f8e36ce3bb771e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for security-audit-toolkit 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.