Skip to main content

Autonomous security scanner with proof-by-exploitation

Project description

BREACH

Autonomous Security Scanner with Proof-by-Exploitation

BREACH is an AI-powered security scanner that goes beyond detection - it proves vulnerabilities by safely exploiting them. Unlike traditional scanners that generate false positives, BREACH provides concrete evidence of exploitability.

Features

  • 60+ Attack Modules - SQL injection, XSS, SSRF, authentication bypass, and more
  • Proof-by-Exploitation - Every finding includes working proof-of-concept
  • AI-Powered Analysis - Optional Claude integration for intelligent attack planning
  • Multiple Scan Modes - From quick recon to comprehensive chaos testing
  • Beautiful Reports - JSON, Markdown, and HTML output formats

Installation

pip install breach-ai

For AI-powered features:

pip install breach-ai[ai]

For browser-based testing:

pip install breach-ai[browser]

For everything:

pip install breach-ai[full]

Quick Start

# Basic scan
breach https://example.com

# Quick reconnaissance
breach https://example.com --mode quick

# Deep comprehensive scan
breach https://example.com --mode deep

# Only proven/exploited vulnerabilities
breach https://example.com --mode proven

# All 60+ modules (chaos mode)
breach https://example.com --mode chaos

Scan Modes

Mode Description Duration
quick Fast recon and common vulnerabilities ~5 min
deep Comprehensive testing with all checks ~30 min
proven Only report exploited vulnerabilities ~20 min
chaos Run all 60+ attack modules ~45 min

Output Formats

# JSON output
breach https://example.com -o report.json

# Markdown report
breach https://example.com -o report.md

# HTML report
breach https://example.com -o report.html

Commands

# Show version
breach --version

# List all attack modules
breach list-modules

# System diagnostics
breach doctor

# Show help
breach --help

Attack Modules

BREACH includes 60+ attack modules covering:

Injection

  • SQL Injection (error-based, blind, time-based)
  • NoSQL Injection (MongoDB operators)
  • Command Injection
  • LDAP Injection
  • XPath Injection

Cross-Site Scripting (XSS)

  • Reflected XSS
  • Stored XSS
  • DOM-based XSS

Authentication

  • Brute Force
  • Credential Stuffing
  • Password Reset Flaws
  • Session Fixation
  • JWT Attacks

Authorization

  • IDOR (Insecure Direct Object Reference)
  • Privilege Escalation
  • Access Control Bypass

Server-Side

  • SSRF (Server-Side Request Forgery)
  • XXE (XML External Entity)
  • SSTI (Server-Side Template Injection)
  • Path Traversal
  • File Inclusion (LFI/RFI)

API Security

  • GraphQL Introspection
  • REST API Enumeration
  • Rate Limiting Bypass
  • Mass Assignment

Infrastructure

  • Subdomain Takeover
  • DNS Zone Transfer
  • SSL/TLS Misconfigurations
  • Information Disclosure

Configuration

Create a .env file or set environment variables:

# Optional: AI-powered analysis
ANTHROPIC_API_KEY=sk-ant-...

# Optional: Custom settings
BREACH_TIMEOUT=30
BREACH_RATE_LIMIT=50
BREACH_OUTPUT_DIR=./reports

Example Output

BREACH v2.0.0 - Autonomous Security Scanner
============================================

Target: https://example.com
Mode: deep
Started: 2024-01-15 10:30:00

[*] Reconnaissance Phase
    - Discovered 45 endpoints
    - Found 12 parameters
    - Identified technologies: PHP, MySQL, nginx

[*] Attack Phase
    - Testing SQL Injection...
      CRITICAL: SQLi found in /api/users?id=
    - Testing XSS...
      HIGH: Reflected XSS in /search?q=
    - Testing SSRF...
      CRITICAL: SSRF in /fetch?url=

[*] Exploitation Phase
    - Exploiting SQLi... SUCCESS
      Extracted: 1,247 user records
    - Exploiting SSRF... SUCCESS
      Accessed internal endpoint: http://169.254.169.254/

============================================
Scan Complete: 3 vulnerabilities (2 critical, 1 high)
Report saved: report.json

Development

# Clone the repository
git clone https://github.com/yourusername/breach.git
cd breach

# Create virtual environment
python -m venv .venv
source .venv/bin/activate

# Install in development mode
pip install -e ".[full]"

# Run tests
pytest

# Run the CLI
breach --help

Legal Disclaimer

BREACH is designed for authorized security testing only.

  • Only scan targets you own or have explicit written permission to test
  • Unauthorized scanning may violate computer crime laws
  • The authors are not responsible for misuse of this tool

By using BREACH, you agree to use it responsibly and legally.

License

This project is licensed under the GNU Affero General Public License v3.0.

Contributing

Contributions are welcome! Please read our Contributing Guidelines before submitting a pull request.

Acknowledgments

Inspired by the security research community and tools like:

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

breach_ai-2.0.0.tar.gz (496.4 kB view details)

Uploaded Source

Built Distribution

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

breach_ai-2.0.0-py3-none-any.whl (594.3 kB view details)

Uploaded Python 3

File details

Details for the file breach_ai-2.0.0.tar.gz.

File metadata

  • Download URL: breach_ai-2.0.0.tar.gz
  • Upload date:
  • Size: 496.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for breach_ai-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ad25b8c5a50e89d95a2571b5bb024fcc35b7d24bd7748416a77f6988d0e4fe14
MD5 92076bd90f083ca9030df61669f574ad
BLAKE2b-256 05805af67be80da4c43ded47884249aaf36f4d2f4365d48d866ef696fbf72389

See more details on using hashes here.

File details

Details for the file breach_ai-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: breach_ai-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 594.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for breach_ai-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f04b3d6e1a350e248554af01173aa1eb6e18fce1b4cec9bb334b04c0ca5b1b94
MD5 c4916b8896ffd89468664b9fea4b28a7
BLAKE2b-256 1e81bfafd833d64516b229fa94c0cbe61ff7fc52888bd0f6953b867434ae8dbd

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