AI-powered Python Security Scanner with GUI and Auto-Fix
Project description
gensecureAI 🛡️
AI-powered Python Security Scanner with GUI-based vulnerability detection and auto-fix support.
gensecureAI statically scans Python source code to detect common security issues and provides safe remediation suggestions with optional auto-fix.
🚀 Features
✅ SQL Injection Detection
✅ OS Command Injection Detection
✅ Hardcoded Secret Detection
✅ Dangerous Function Usage (eval, exec, pickle)
✅ GUI-Based Review & Auto-Fix
✅ Safe Code Rewrite Option
✅ Modular & Importable Library
🔥 Advanced Features (v2)
- AST Diff Guard – Validates AI fixes at AST level to prevent unrelated/hallucinated code changes
- Vulnerability-Aware Prompting – LLM prompt dynamically adapts based on detected CWE vulnerabilities
- Fix Correctness Validator – Ensures AI-generated fix compiles and preserves functionality
- Trust Score Engine – Calculates reliability score for each fix (0–100%)
- Attack Path Visualization – Maps input → vulnerable code → potential exploit
- Plugin-Based CWE Rules – Easily add new vulnerability detection rules without touching core
- Research Metrics Export – Export scan results, risk scores, and AI fixes in JSON/CSV
- Explainable AI Fix – Human-readable reasoning for applied security fixes
- CI / Headless Mode – Automated scans and fixes in pipelines without GUI
- Zero-Hallucination Strict Mode – Rejects any fixes that modify unrelated code or introduce new dependencies
📦 Installation
pip install gensecureAI
Project details
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 gensecureai-0.1.1.tar.gz.
File metadata
- Download URL: gensecureai-0.1.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fbf668583bf5116f07be61bc921508227cb4467680cccd39e2500354427a5b4
|
|
| MD5 |
fd7e775b425262297bb4655e606ac862
|
|
| BLAKE2b-256 |
ceafcfe3c640ce4bcf9f184c6cf1566b68d8c93b377198220f85ca1c5740145b
|
File details
Details for the file gensecureai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gensecureai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21066d4c2311bf8b06585083ce504a457394a39a666fc71053c21723a5eec842
|
|
| MD5 |
321110fcf174f9a8ca8c276c1636b2de
|
|
| BLAKE2b-256 |
0545e66036e9a2324a80736f28962019918253ac4522424ce474d5a38aab386a
|