Skip to main content

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)

  1. AST Diff Guard – Validates AI fixes at AST level to prevent unrelated/hallucinated code changes
  2. Vulnerability-Aware Prompting – LLM prompt dynamically adapts based on detected CWE vulnerabilities
  3. Fix Correctness Validator – Ensures AI-generated fix compiles and preserves functionality
  4. Trust Score Engine – Calculates reliability score for each fix (0–100%)
  5. Attack Path Visualization – Maps input → vulnerable code → potential exploit
  6. Plugin-Based CWE Rules – Easily add new vulnerability detection rules without touching core
  7. Research Metrics Export – Export scan results, risk scores, and AI fixes in JSON/CSV
  8. Explainable AI Fix – Human-readable reasoning for applied security fixes
  9. CI / Headless Mode – Automated scans and fixes in pipelines without GUI
  10. 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

gensecureai-0.1.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gensecureai-0.1.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for gensecureai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5fbf668583bf5116f07be61bc921508227cb4467680cccd39e2500354427a5b4
MD5 fd7e775b425262297bb4655e606ac862
BLAKE2b-256 ceafcfe3c640ce4bcf9f184c6cf1566b68d8c93b377198220f85ca1c5740145b

See more details on using hashes here.

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

Hashes for gensecureai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21066d4c2311bf8b06585083ce504a457394a39a666fc71053c21723a5eec842
MD5 321110fcf174f9a8ca8c276c1636b2de
BLAKE2b-256 0545e66036e9a2324a80736f28962019918253ac4522424ce474d5a38aab386a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page