Skip to main content

Aegis-Devin: AI-driven autonomous penetration testing & network forensics platform. Autonomous red team, AI network forensics, CVE exploitation, MITRE ATT&CK mapping — one CLI. 100% free & open source.

Project description

Aegis-Devin Platform Banner

 ░█████╗░███████╗░██████╗░██╗░██████╗    ██████╗░███████╗██╗░░░██╗██╗███╗░░██╗
 ██╔══██╗██╔════╝██╔════╝░██║██╔════╝    ██╔══██╗██╔════╝██║░░░██║██║████╗░██║
 ███████║█████╗░░██║░░██╗░██║╚█████╗░    ██║░░██║█████╗░░╚██╗░██╔╝██║██╔██╗██║
 ██╔══██║██╔══╝░░██║░░╚██╗██║░╚═══██╗    ██║░░██║██╔══╝░░░╚████╔╝░██║██║╚████║
 ██║░░██║███████╗╚██████╔╝██║██████╔╝    ██████╔╝███████╗░░╚██╔╝░░██║██║░╚███║
 ╚═╝░░╚═╝╚══════╝░╚═════╝░╚═╝╚═════╝    ╚═════╝░╚══════╝░░░╚═╝░░░╚═╝╚═╝░░╚══╝

⚔ Aegis-Devin — AI Autonomous Penetration Testing + Network Forensics Platform ⚔

One command. Every phase. Real agentic AI intelligence. World's most advanced autonomous red team + network forensics CLI.

Python License: MIT CI Version Platform PyPI

Ruff mypy Security Buy Me a Coffee


  ┌─────────────────────────────────────────────────────────────────────────┐
  │  Aegis-Devin  ·  AI Autonomous Pentest  ·  Network Forensics  ·  Free  │
  │  Recon → Vuln → Exploit → Post → Forensics → Report                    │
  │  AI selects tools. AI reads output. AI decides next. AI writes report.  │
  │  15+ Attack Modules  ·  10+ WAF Vendors  ·  100% Free & Open Source    │
  └─────────────────────────────────────────────────────────────────────────┘
# Full autonomous AI pentest — one command
aegis ai auto --target example.com --full --format html

# AI-driven network forensics — capture + analyze + report
aegis forensics capture --interface eth0 --ai-analyze

# Autonomous red team against internal network
aegis forensics redteam --target 192.168.1.0/24 --full

Legal Notice: For authorized penetration testing and security research only. Using against systems you do not own or have explicit written permission to test is illegal.


Resources

Architecture Mind Map

Full attack-surface breakdown — every phase, every tool, every data flow — in one diagram.

Aegis Architecture Mind Map


Presentation & Whitepaper

Aegis Whitepaper PDF
📄 Whitepaper / PDF
View PDF →
Aegis Presentation PPTX
📊 Slide Deck / PPTX
Download Slides →

Overview

Aegis is a modular, AI-driven penetration testing platform that unifies the complete offensive security lifecycle into a single CLI tool. Instead of managing a dozen separate tools with incompatible output formats, Aegis wraps them all — Nmap, Nuclei, ffuf, sqlmap, theHarvester, subfinder, and more — behind one consistent interface backed by a shared SQLite database, workspace isolation, and AI orchestration.

Every finding from every tool lands in the same database. Every scan runs inside a named workspace. Every result can be exported as a PDF report, a SARIF file for GitHub Code Scanning, or a JSON feed for CI/CD pipelines.

# Full autonomous pentest — recon, vuln scan, AI triage, report
aegis ai auto --target example.com --format html

Who is it for?

Audience Use case
Penetration testers Unified workflow — no more scattered terminal windows
Bug bounty hunters Fast recon-to-report pipelines
Red teams Parallel campaigns across many targets
Security engineers Vulnerability scanning integrated into CI/CD
CTF players AI-assisted attack surface analysis

Features

Feature Description
Autonomous AI Mode Real agentic loop: nmap → parse services → AI selects tools → run → parse → AI next action
AI Payload Execution Generates AND actually sends SQLi/XSS/LFI/SSRF payloads, checks responses for confirmation
HTTP Evidence Capture Every nuclei finding stores full HTTP request + response status + body snippet
WAF Detection Detects 10+ WAF vendors (Cloudflare, AWS WAF, Akamai, ModSecurity, etc.) before exploiting
Hydra Brute-Force Real credential testing via Hydra against SSH, FTP, MySQL, RDP, SMB, HTTP
Authenticated Scanning Pass --cookies and --header to nuclei and feroxbuster for post-login scanning
Metasploit Integration Auto-maps Nuclei findings to MSF modules, runs via resource scripts or RPC API
HTTP Request Smuggling Raw socket-based CL.TE, TE.CL, TE.TE detection with timing + content analysis
Cloud Asset Discovery Finds exposed S3, Azure Blob, GCP Storage buckets via permutation + DNS detection
Active Directory Enum BloodHound, ldapdomaindump, CrackMapExec, anonymous rpcclient enumeration
OOB SSRF/XXE Detection interactsh-based DNS/HTTP callback detection for blind SSRF and XXE
Secret Extraction trufflehog scans JS files, git repos, and local paths for exposed credentials
Screenshot Capture gowitness auto-screenshots all discovered web services; images in HTML reports
Attack Path Graph Interactive D3.js force-directed graph in HTML reports
MCP Server Exposes Aegis as an MCP tool server — Claude, Cursor can drive full pentests
Burp Suite Import XXE-safe XML parsing, base64 decoding, findings stored with full HTTP evidence
CVE Correlation Queries NVD API v2, stores CVSS v3.1 scores and vectors per finding
SARIF Export SARIF v2.1.0 with rule IDs, OWASP URIs, GitHub security-severity scores
Parallel Campaigns asyncio-based runner — each target gets its own session, results aggregated
PostgreSQL Support Use db_path: postgresql://... for team/concurrent use
Workspace Isolation Each engagement has its own SQLite database — zero cross-engagement data leakage
Scope Enforcement Every target checked against scope before any tool runs
100% Free No paid APIs required — all tools are open source

Strategic Vision

Aegis is built on a foundation of autonomous strategy and modular integration. The following Mind Map provides a comprehensive overview of the platform's core identity, key features, and future trajectory.

Aegis Autonomous Security Mind Map


Documentation & Strategic Resources

Explore the theoretical and tactical foundations of Aegis through our dedicated security whitepaper and executive presentation.

Autonomous Security Whitepaper Executive Strategic Deck
Aegis Whitepaper Aegis Presentation
📄 Download PDF 📊 Download PPTX

Architecture

┌──────────────────────────────────────────────────────────────────┐
│  CLI Layer  (Click — main.py)                                    │
│  recon · vuln · exploit · ai · burp · cve · campaign · report   │
├──────────────────────────────────────────────────────────────────┤
│  Core Layer  (aegis/core/)                                       │
│  AIOrchestrator · CampaignRunner · BurpImporter                  │
│  CVECorrelator · SARIFExporter · TemplateManager · Notifier      │
├──────────────────────────────────────────────────────────────────┤
│  Tools Layer  (aegis/tools/)                                     │
│  recon/ · vuln/ · exploit/ · post/ · report/                     │
│  Each module is a Click command that writes findings to the DB   │
├──────────────────────────────────────────────────────────────────┤
│  Storage Layer  (SQLite per workspace)                           │
│  targets · hosts · ports · findings · evidence                   │
│  cve_correlations · scan_sessions · scope · api_tokens           │
└──────────────────────────────────────────────────────────────────┘

Data flow: tool runs → output parsed → db.add_finding() → AI triage → report generated → SARIF exported → CI/CD notified.


Installation

Option 1 — One-command installer (recommended)

Installs everything: apt packages, Go, Rust, subfinder, nuclei, trufflehog, gowitness, amass, feroxbuster, webtech, and Aegis itself.

git clone https://github.com/thecnical/aegis-devin.git
cd aegis
sudo bash install.sh

Preview without making any changes:

sudo bash install.sh --dry-run

If Aegis is already installed, use the built-in bootstrap command:

sudo aegis bootstrap --yes

# Skip Rust/feroxbuster if you don't need it
sudo aegis bootstrap --yes --skip-rust

# Preview only
aegis bootstrap --dry-run

After install, open a new terminal:

aegis doctor                        # verify all tools are found
aegis configure-keys --interactive  # set your free API keys (no YAML editing needed)
aegis ai auto --target example.com  # run your first pentest

What's New in v2.1.0

Bugs Fixed

  • Config not found: config/config.yaml — Aegis now resolves its config using AEGIS_PROJECT_DIR (injected by the wrapper script and __main__.py). Running aegis from any directory — ~, /tmp, anywhere — correctly finds the config.
  • 0 found, 0 missing in aegis doctor — was caused by the config not loading. Fixed by the path resolution above.
  • Log directory creationdata/logs/ is now created automatically on first run; no more crash if it's missing.
  • Config not found spam — the warning is now printed only once per session instead of on every get() call.

New Commands

Command What it does
aegis configure-keys --interactive Set API keys interactively — no manual YAML editing needed
aegis configure-keys --openrouter KEY Set a specific key non-interactively (good for CI)
aegis self-update Pull latest code from git (or upgrade via pip) + update nuclei templates
aegis self-update --dry-run Preview what would be updated
aegis uni --yes Fully remove Aegis, all Go/Cargo/pip tools, and wrapper scripts from the system
aegis uni --dry-run Preview everything that would be removed

Improved

  • install.sh wrapper now injects AEGIS_PROJECT_DIR and PATH (Go/Cargo bins) so all tools are found immediately after opening a new terminal
  • aegis uninstall now also removes /usr/local/bin/aegis and /usr/local/bin/aegis-mcp wrapper scripts
  • First-run hints only shown once (stored in config under ux.first_run_hint_shown)

Option 2 — Manual install (Kali Linux)

1. System dependencies

sudo apt update
sudo apt install -y python3-pip python3-venv git \
  libpango-1.0-0 libpangoft2-1.0-0 libpangocairo-1.0-0 \
  libcairo2 libffi-dev libgdk-pixbuf-2.0-0

The correct package name on modern Kali/Debian is libgdk-pixbuf-2.0-0 — not libgdk-pixbuf2.0-0.

2. Clone and create a virtual environment

git clone https://github.com/thecnical/aegis-devin.git
cd aegis
python3 -m venv .venv
source .venv/bin/activate

3. Install Aegis

pip install -e .

4. Create directories and verify

mkdir -p data/logs
aegis doctor

5. Install external tools

aegis install-tools --yes

Option 3 — PyPI

pip install aegis-devin
pip install "aegis-devin[mcp]"   # include MCP server support
pip install -e ".[dev]"        # development dependencies

Quick Start

# 1. Add a target to scope
aegis scope add example.com --kind domain

# 2. Run recon
aegis recon domain example.com

# 3. Scan for vulnerabilities
aegis vuln web https://example.com

# 4. Generate a report
aegis report generate example.com --format html

# 5. Or do all of the above in one command
aegis ai auto --target example.com --format html --full

Set API keys without editing YAML

# Interactive (prompts for each key)
aegis configure-keys --interactive

# Or set individual keys directly
aegis configure-keys --openrouter sk-or-...  --bytez btz-...

# Verify AI is ready
aegis ai doctor

All providers have completely free tiers — no credit card required:

Service URL Used for
OpenRouter https://openrouter.ai/keys AI triage, reports, auto mode
Bytez https://bytez.com AI triage, reports, auto mode
Shodan https://shodan.io OSINT recon
NVD https://nvd.nist.gov/developers CVE correlation

Complete Usage Guide

Hydra Brute-Force (real credential testing)

# Test SSH with default credentials (requires --force to bypass safe_mode)
aegis vuln net 192.168.1.1 --service ssh --force

# Test all services at once
aegis vuln net 192.168.1.1 --service all --force

# Use custom wordlists
aegis vuln net 192.168.1.1 --service ssh \
  --userlist /usr/share/wordlists/users.txt \
  --passlist /usr/share/wordlists/rockyou.txt --force

# WAF detection only (no brute-force)
aegis vuln net 192.168.1.1 --no-brute --url http://192.168.1.1

HTTP Evidence Capture (every finding has proof)

# Web scan — captures full HTTP request/response for every finding
aegis vuln web https://example.com

# Authenticated scan — pass session cookies
aegis vuln web https://example.com --cookies "session=abc123; csrf=xyz"

# With custom auth header (Bearer token, API key, etc.)
aegis vuln web https://example.com --header "Authorization: Bearer eyJ..."

# Target specific vulnerability types
aegis vuln web https://example.com --tags "cve,sqli,xss"

WAF Detection

# Detect WAF before running any exploits
aegis vuln net 192.168.1.1 --no-brute --no-smb --url https://example.com

# WAF detection runs automatically in ai auto mode
aegis ai auto --target example.com

# If WAF detected, use stealth profile to reduce noise
aegis --profile stealth vuln web https://example.com

PostgreSQL (team/concurrent use)

# Install driver
pip install psycopg2-binary

# Create database
createdb aegis
psql aegis -c "CREATE USER aegis WITH PASSWORD 'yourpassword';"
psql aegis -c "GRANT ALL ON DATABASE aegis TO aegis;"

# Update config/config.yaml:
# db_path: "postgresql://aegis:yourpassword@localhost:5432/aegis"

Authenticated Scanning (post-login)

# Log in manually, grab your session cookie, then scan
aegis vuln web https://app.example.com/dashboard \
  --cookies "sessionid=abc123def456" \
  --header "X-CSRF-Token: token123"

# API scan with Bearer token
aegis vuln web https://api.example.com \
  --header "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9..." \
  --tags "api,auth"

Full Autonomous Pentest (end-to-end)

# 1. Set up workspace and scope
aegis workspace create client-acme
aegis workspace switch client-acme
aegis scope add acme.com --kind domain
aegis scope add 10.10.0.0/24 --kind cidr

# 2. Run full autonomous pentest
aegis ai auto --target acme.com --full --format html

# 3. Triage and correlate
aegis ai triage --session 1
aegis cve correlate --session 1

# 4. Export for CI/CD
aegis sarif export --session 1 --output results.sarif

Resumable Authorized Web Workflow (Phase 2-7)

# Safe default orchestration: discovery -> fingerprint -> mapping -> checks -> validation -> report prep
aegis web-assess --target https://example.com

# Resume an interrupted run
aegis web-assess --target https://example.com --resume-run-id <run-id>

# CI mode (deterministic ordering + strict exit semantics)
aegis web-assess --target https://example.com --ci --require-cross-validation

# Explicitly enable dangerous probes (opt-in only)
aegis web-assess --target https://example.com --dangerous-checks

Enterprise controls:

# Create hashed API token (shown once)
aegis token create --description "ci-runner"

# View audit events
aegis audit list --limit 50

Credential Collection (post-exploitation)

# List SMB shares
aegis post creds --target 192.168.1.10

# Deep scan — download and scan files for passwords/tokens
aegis post creds --target 192.168.1.10 --deep

Pivoting (internal network)

# SOCKS5 proxy through a compromised host
aegis post pivoting 10.0.0.0/24 --ssh user@192.168.1.10

# Scan internal network through the proxy
aegis post pivoting 10.0.0.0/24 --ssh user@192.168.1.10 --scan

# Port forward: access internal RDP through local port 3390
aegis post pivoting 10.0.0.0/24 --ssh user@192.168.1.10 \
  --forward 3390:10.0.0.5:3389

Metasploit Integration

# Auto-match all findings for a target to MSF modules
aegis exploit msf 192.168.1.1 --force

# Run a specific MSF module (check only — no exploitation)
aegis exploit msf 192.168.1.1 --module exploit/windows/smb/ms17_010_eternalblue \
  --check --force

# Run from a specific finding ID
aegis exploit msf 192.168.1.1 --finding-id 42 --lhost 10.10.10.1 --force

# Use Metasploit RPC API (requires: msfrpcd -P yourpassword -S -f)
aegis exploit msf 192.168.1.1 --rpc-host 127.0.0.1 --rpc-pass yourpassword --force

HTTP Request Smuggling

# Test for CL.TE, TE.CL, TE.TE desync vulnerabilities
aegis vuln smuggling https://example.com

# Test a specific path
aegis vuln smuggling https://example.com --path /api/v1/users

# Adjust timeout (longer = more sensitive timing detection)
aegis vuln smuggling https://example.com --timeout 20

Cloud Asset Discovery

# Discover exposed S3, Azure Blob, GCP Storage buckets
aegis recon cloud example.com

# Skip specific providers
aegis recon cloud example.com --no-azure --no-gcp

# Use custom bucket name wordlist
aegis recon cloud example.com --wordlist /path/to/buckets.txt

Active Directory Enumeration

# Anonymous enumeration (no credentials needed)
aegis recon ad 192.168.1.10 --domain corp.local

# Full enumeration with credentials
aegis recon ad 192.168.1.10 --domain corp.local \
  --username administrator --password Password123

# After BloodHound collection, import into BloodHound GUI:
# bloodhound → Upload Data → select zip from data/ad/bloodhound/
# Run query: "Find Shortest Paths to Domain Admins"

OOB SSRF/XXE Detection

# Auto-detect using interactsh
# Install: go install github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest
aegis exploit oob https://example.com --force

# Use custom callback domain (Burp Collaborator, etc.)
aegis exploit oob https://example.com --callback your.burpcollaborator.net --force

# Test XXE as well (sends XML payloads to the endpoint)
aegis exploit oob https://example.com --test-xxe --force

# Wait longer for async callbacks
aegis exploit oob https://example.com --wait 30 --force

Configuration

All settings live in config/config.yaml. Aegis never reads environment variables for secrets.

general:
  db_path: data/aegis.db
  safe_mode: true               # abort if target is out of scope
  wordlists_path: data/wordlists

api_keys:
  shodan: CHANGE_ME             # https://shodan.io (free tier available)
  openrouter: CHANGE_ME         # https://openrouter.ai (free tier available)
  bytez: CHANGE_ME              # https://bytez.com (free tier available)
  nvd: CHANGE_ME                # https://nvd.nist.gov/developers/request-an-api-key (free)

notifications:
  slack_webhook: ""
  discord_webhook: ""

profiles:
  default:
    timeout: 30
    nmap_args: "-sC -sV"
    nuclei_rate: 150
  web-fast:
    timeout: 12
    nmap_args: "-sS -Pn"
    nuclei_rate: 350
  web-deep:
    timeout: 90
    nmap_args: "-sC -sV -A -O --script=vuln"
    nuclei_rate: 80
  api-deep:
    timeout: 75
    nmap_args: "-sV -Pn"
    nuclei_rate: 120
  stealth:
    timeout: 120
    nmap_args: "-sS -T2 --randomize-hosts"
    nuclei_rate: 20
  deep:
    timeout: 90
    nmap_args: "-sC -sV -A -O --script=vuln"
    nuclei_rate: 50

Switch profiles with --profile web-deep (new) or legacy profiles like stealth. For first-time guided config, run aegis setup --wizard. All API keys have free tiers — no paid subscriptions required.

Global CLI flags:

Flag Default Description
--config PATH config/config.yaml Config file path
--profile NAME default Scan profile
--workspace NAME active workspace Override active workspace
--json off Output as JSON
--json-output FILE Write JSON to file
--debug off Enable debug logging

Workspaces

Each engagement gets its own isolated SQLite database. No shared state between workspaces.

aegis workspace create client-acme     # create a new workspace
aegis workspace switch client-acme     # switch to it
aegis workspace list                   # list all workspaces
aegis workspace delete old-engagement  # remove a workspace

# Override for a single command without switching
aegis --workspace client-acme recon domain acme.com

Scope Management

Before any tool runs, ScopeManager checks whether the target is in scope. With safe_mode: true, out-of-scope scans abort before any network request is made.

aegis scope add acme.com --kind domain
aegis scope add 10.10.0.0/16 --kind cidr
aegis scope add https://api.acme.com --kind url
aegis scope add 192.168.1.5 --kind ip

aegis scope list
aegis scope remove 3

Recon

# Subdomain enumeration, DNS, Nmap on discovered hosts
aegis recon domain example.com

# CIDR range scan — hosts, ports, services
aegis recon network 192.168.1.0/24 --port-scan

# DNS record queries
aegis recon dns example.com --types A,MX,TXT,NS,AAAA

# OSINT — emails, GitHub dorks, Shodan
aegis recon osint example.com --emails --github-dorks

# Secret scanning (trufflehog)
aegis recon secrets /path/to/project
aegis recon secrets https://github.com/target/repo --mode git

# Screenshot all web services (gowitness)
aegis recon screenshot example.com
aegis recon screenshot . --from-db

Vulnerability Scanning

# Web vuln scan via Nuclei templates
aegis vuln web https://example.com

# Network vuln scan via Nmap NSE scripts
aegis vuln net 192.168.1.1

# SSL/TLS analysis via testssl.sh
aegis vuln ssl example.com --port 443

# API fuzzing via ffuf
aegis vuln api https://api.example.com --wordlist data/wordlists/api.txt

Technology Detection

Aegis uses free, open-source tools — no paid API key required.

Tool Install Notes
webtech pip install webtech Fingerprints via headers, HTML, cookies
whatweb sudo apt install whatweb Pre-installed on Kali Linux

Aegis tries webtech first, falls back to whatweb automatically.

aegis recon domain example.com              # tech detection runs automatically
aegis recon domain example.com --no-techdetect  # skip if not needed

AI Features

Autonomous Mode

# Full pentest — recon, vuln, AI triage, report
aegis ai auto --target example.com

# All 5 phases + HTML report
aegis ai auto --target example.com --full --format html

# Dry run — see what would run without executing
aegis ai auto --target example.com --dry-run

AI Triage and Analysis

aegis ai triage --session 1        # triage findings from a session
aegis ai summarize --session 1     # executive summary
aegis ai suggest --target acme.com # attack surface suggestions
aegis ai report --target acme.com  # generate narrative report section
aegis ai chat                      # interactive AI chat about findings
aegis ai doctor                    # validate key/provider/fallback readiness
aegis ai doctor --strict           # fail CI/scripting if AI is not ready

AI Payload Generation

During aegis ai auto, after recon completes, the AI automatically generates targeted payloads (SQLi, XSS, SSRF, LFI, RCE) based on the detected tech stack. Payloads are stored as medium severity findings with category ai-payload. Uses your free OpenRouter or Bytez key.

Setup Wizard

# Guided first-run flow: base config + profile selection + optional AI onboarding
aegis setup --wizard

MCP Server — AI Agent Integration

Aegis can run as an MCP server, letting AI agents like Claude or Cursor drive full pentests autonomously.

pip install mcp
aegis-mcp

Add to your Claude / Cursor MCP config:

{
  "mcpServers": {
    "aegis": {
      "command": "python",
      "args": ["-m", "aegis.mcp_server"]
    }
  }
}

Available MCP tools:

Tool Description
aegis_recon_domain Subdomain enum + tech detection
aegis_vuln_web Nuclei web vulnerability scan
aegis_ai_auto Full autonomous pentest
aegis_get_findings Query findings from the database
aegis_generate_report Generate a report
aegis_scope_add Add a target to scope
aegis_secrets_scan Scan for exposed secrets

Reports

# Markdown report
aegis report generate example.com --format md

# HTML report with D3.js attack path graph
aegis report generate example.com --format html

# PDF report
aegis report generate example.com --format pdf

# Filter by minimum severity
aegis report generate example.com --format html --min-severity high

HTML reports include an interactive D3.js force-directed attack path graph — blue nodes for hosts, colored nodes for findings by severity, edges showing relationships.


Burp Suite Integration

# Import findings from a Burp XML export
aegis burp import scan.xml

# Preview without importing
aegis burp import scan.xml --dry-run

# List all Burp-imported findings
aegis burp list

CVE Correlation

# Correlate all findings in a session with NVD CVEs
aegis cve correlate --session 1

# Search NVD directly
aegis cve search "apache log4j" --max 10

# List CVEs linked to a specific finding
aegis cve list --finding 42

Campaigns

Run parallel scans across multiple targets and track results over time.

# Create a campaign
aegis campaign create q4-audit --domain acme.com

# Run it
aegis campaign run q4-audit --full

# Run against a list of targets in parallel
aegis campaign run-parallel q4-audit --targets targets.txt --max-parallel 5

# Compare two runs
aegis campaign diff q4-audit

# Generate a campaign report
aegis campaign report q4-audit

Notifications

# Send a test notification
aegis notify test --channel slack

# Send findings from a session
aegis notify send --session 1 --min-severity high --channel discord

Configure webhooks in config/config.yaml:

notifications:
  slack_webhook: "https://hooks.slack.com/services/..."
  discord_webhook: "https://discord.com/api/webhooks/..."

SARIF Export

# Export all findings as SARIF v2.1.0
aegis sarif export

# Export a specific session
aegis sarif export --session 1 --output results.sarif

Upload to GitHub Code Scanning via the github/codeql-action/upload-sarif action for inline PR annotations.


Update

# Update Aegis + nuclei templates in one command
aegis self-update

# Preview without making changes
aegis self-update --dry-run

# Include pre-release builds (when installed via pip)
aegis self-update --pre

Detects automatically whether you are running from a git clone (git pull + pip install -e .) or a pip install (pip install --upgrade aegis-cli).


Uninstall

Quick uninstall (single command)

# Full removal — Aegis, all Go/Cargo/pip tools, wrapper scripts
aegis uni --yes

# Preview what would be removed (safe, no changes)
aegis uni --dry-run

# Keep your databases and reports
aegis uni --yes --keep-data

# Keep both data and config
aegis uni --yes --keep-data --keep-config

Granular uninstall

aegis uninstall --dry-run                              # preview only
aegis uninstall --yes                                  # remove Aegis and tools
aegis uninstall --yes --remove-data                    # also delete databases and reports
aegis uninstall --yes --remove-data --remove-config    # full clean

Development

git clone https://github.com/thecnical/aegis-devin.git
cd aegis
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

pytest --tb=short          # run tests
ruff check .               # lint
mypy aegis/                # type check

Roadmap

Near-term

  • Metasploit session management — interact with opened shells from the CLI
  • Cloud asset enumeration expansion — Route53, Azure DNS, GCP DNS zone transfers
  • Passive JS endpoint extraction during recon
  • OOB DNS-only mode (no interactsh dependency)

Medium-term

  • Autonomous exploit chaining — AI selects and chains exploits based on confirmed vulns
  • Custom Nuclei template generation — AI writes YAML templates for discovered endpoints
  • Active directory attack path execution — auto-run BloodHound-suggested attack paths
  • Kerberoasting and AS-REP roasting integration

Research-grade

  • Protocol-level fuzzing with boofuzz and finding correlation
  • WAF/IDS evasion using AI-generated obfuscated payloads
  • CVE-to-PoC auto-mapping — correlate NVD CVEs with ExploitDB and GitHub PoCs
  • LLM-generated custom exploit code for confirmed vulnerabilities

Contributing

Pull requests are welcome. For major changes, open an issue first.

Please ensure ruff check . and mypy aegis/ pass before submitting a PR.


Support

If Aegis saves you time on an engagement or helps you learn offensive security, consider supporting the project.

Buy Me a Coffee


License

MIT — see LICENSE for details.

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

aegis_devin-2.2.0.tar.gz (151.1 kB view details)

Uploaded Source

Built Distribution

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

aegis_devin-2.2.0-py3-none-any.whl (157.8 kB view details)

Uploaded Python 3

File details

Details for the file aegis_devin-2.2.0.tar.gz.

File metadata

  • Download URL: aegis_devin-2.2.0.tar.gz
  • Upload date:
  • Size: 151.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for aegis_devin-2.2.0.tar.gz
Algorithm Hash digest
SHA256 0c98c81531e83d766f8bb068348b695386d124d3f70897c8fe899afaddfec591
MD5 71beefb99be3d356e26e78be2cc83821
BLAKE2b-256 da4f84b853995e08d4828961754b9af366e47a7ad0ede0eb18b8e368addb489d

See more details on using hashes here.

File details

Details for the file aegis_devin-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: aegis_devin-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 157.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for aegis_devin-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 560c20c88e52bbdf26952b2b71c48211a4d970cf74f143bfc7b857564491ca11
MD5 86fccc31b75cef1e7a60f5f4066bd980
BLAKE2b-256 409dfbd5e267622bcfaaf6137c7074a6cd372d1ec79c2be1daad8679fc2ad080

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