Chimera is an advanced, automated security assessment and active exploitation framework designed to bridge the gap between Static Analysis (SAST) and Dynamic Analysis (DAST).
Going beyond standard vulnerability detection, Chimera features an integrated Exploit Replay Lab, an AI Kill Chain Analyzer, and Shadow API Discovery, making it a unified DevSecOps pipeline tool that thinks like a Red Team Operator.
- Shadow API Hunting: Actively downloads and parses frontend JavaScript bundles using Regex/AST to extract hidden developer endpoints, GraphQL routes, and hardcoded AWS/API keys.
- OWASP ZAP Orchestration: Automates a headless ZAP instance to perform deep spidering, active scanning, and fuzzing for runtime vulnerabilities.
- Smart Recon: Enumerates subdomains via Certificate Transparency logs and scans for exposed critical ports and security headers.
- Attack Path Mapping: Instead of isolating vulnerabilities, Chimera’s AI analyzes all findings collectively to build realistic, multi-step kill chains (e.g., WAF Bypass → Stored XSS → Session Hijacking).
- Weaponized PoC Generation: Automatically generates executable
curlscripts and payloads for identified vulnerabilities. - Interactive Exploit Lab: A built-in "Burp Repeater" style dashboard allowing operators to safely fire AI-generated exploits at the target and analyze the raw server response in real-time.
- Neural Engine: Uses a localized CodeBERT transformer model to analyze code logic and detect vulnerabilities (e.g., Logic Flaws, Insecure Crypto) that traditional regex scanners miss.
- Dependency & Secret Audit: Cross-references
package.jsonandrequirements.txtagainst the OSV Vulnerability Database and scans commit history for leaked credentials.
- Visual Evidence Collection: Integrates Headless Selenium to automatically navigate to vulnerable endpoints and capture high-resolution Proof-of-Concept (PoC) screenshots.
- GenAI Auto-Remediation: Feeds vulnerability data into Groq's LPUs to generate human-readable impact analysis and exact code snippets to patch the flaws.
- Forensic PDF: Auto-generates a detailed, color-coded PDF report classified by risk severity, complete with exploit evidence and architectural fixes.
Chimera follows a micro-modular architecture optimized for containerized deployment:
CHIMERA/
├── modules/
│ ├── ai_engine.py # Llama-3 integration for Kill Chains & PoC generation
│ ├── zap_engine.py # Controller for OWASP ZAP headless scanner
│ ├── ml_engine.py # PyTorch loader for CodeBERT logic flaw detection
│ ├── github_recon.py # Git cloning, secret scanning, and SCA checks
│ ├── recon.py # Subdomain enumeration, JS parsing, and Shadow API hunting
│ ├── evidence.py # Headless Selenium engine for PoC screenshot capture
│ └── report.py # Forensic PDF generator with visual evidence rendering
├── templates/
│ └── index.html # Interactive dashboard and Exploit Replay Lab UI
├── Dockerfile # Multi-stage build (Python + Java + Chromium)
├── app.py # Core Flask application and SocketIO event loop
└── requirements.txt # Python dependencies
Chimera requires Java (for ZAP) and Python. Docker handles this environment setup automatically.
# 1. Clone the repository
git clone [https://github.com/AUG235772/Chimera.git](https://github.com/AUG235772/Chimera.git)
cd Chimera
# 2. Build the Image
docker build -t chimera-scanner .
# 3. Run the Container
# Map port 7860 for the Web UI
docker run -p 7860:7860 --env-file .env chimera-scannerPrerequisites: Python 3.10+, Java 11+ (Required for ZAP), Chrome/Firefox (for Selenium).
# 1. Install Python Dependencies
pip install -r requirements.txt
# 2. Configure Environment Variables
# Create a .env file with your keys:
# GROQ_API_KEY=your_key_here
# ZAP_API_KEY=your_key_here
# 3. Launch the App
python app.pyAccess the dashboard at http://localhost:7860.
Chimera is intended for educational purposes and authorized security testing only.
The developer assumes no liability and is not responsible for any misuse or damage caused by this tool. Always obtain written permission from the owner before scanning any system.
