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.2.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.2.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file gensecureai-0.2.1.tar.gz.

File metadata

  • Download URL: gensecureai-0.2.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.2.1.tar.gz
Algorithm Hash digest
SHA256 4c7bc07f6f3d6fa5c05be53dc5ddd70d64cd72cec37359078ba35d9b36173843
MD5 cb49989b8acc90be63a03e3e6e9f2ed3
BLAKE2b-256 b8c77947c2eddd8c5f99d94fad51ea43243d3a43b5747aa49c90abc47f934219

See more details on using hashes here.

File details

Details for the file gensecureai-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: gensecureai-0.2.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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57a0a5ce3a7938888b64f0e96454f3bc217e3f26baaf1648ee6e536c54c91c9d
MD5 31cca1846c55c263e84b74e2f91fc2dd
BLAKE2b-256 ead992073dd44d6b97a663b3034757a7c8d61947161bf56cdb38468cc388d3a6

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