Skip to main content

AETHRA

An autonomous AI red-team / penetration-testing platform — one unified engine for web applications, IP/network infrastructure, and AI applications (LLM chat, RAG, agentic systems), with strict authorization, scope enforcement, and evidence-driven verification.

Status: v0.2.0 · 173 tests passing · core platform complete; remaining roadmap items are listed at the end of this README.

Highlights

  • Autonomous mode — give it targets, it recons, plans, tests (via gated tool calls), verifies, and reports: aethra assess --target <url|host|ip|ip:port|cidr> [--mode surface|medium|deep]
  • Modes — surface (quick sweep), medium (balanced), deep (full crawl, all AI candidates, wide ports, second-order banner/TLS analysis, indirect canary pairing).
  • Resume — aethra resume --engagement ID [--chat] [--retry-failed] [--recon] continues a stopped engagement.
  • Web UI + live chat — aethra ui --port 8080 serves a real-state dashboard (overview, agent activity, model/tool-call ledger with live-vs- fallback badges, scenarios, findings, readable audit trail) with SSE live updates and operator chat steering — all scope-safe and audited.
  • Guardrails first — explicit scope file required; every outbound action (HTTP/DNS/TCP/redirects, model endpoints) passes one policy engine; budgets, kill switch, and hash-chained audit log enforced throughout. The model proposes; deterministic policy decides.
  • Provider-agnostic — aethra setup interactively configures any OpenAI-compatible API (including custom endpoints), Anthropic, or local Ollama per role, with fallback chains. API keys are never hardcoded: use environment variables (AIAGENT_PLANNER_API_KEY, …), config file is 0600, and values are redacted from logs/evidence/reports.

Installation

# from PyPI (once published)
pip install aethra-agent
aethra --help

# from source
pip install .
PYTHONPATH=src python3 -m cli.main --help   # in-repo dev

Requires Python ≥ 3.11.

Quick start

aethra setup                        # one-time provider/model config (interactive)
aethra assess --target https://example.com/ --mode medium
aethra assess --target 203.0.113.7:443 --mode deep --chat
aethra resume --engagement ENG-AUTO-XXXXXXXX --chat
aethra ui --db data/engagements.db --port 8080   # http://127.0.0.1:8080
aethra steer --engagement ENG-AUTO-XXXXXXXX "skip ai_application"

Offline demo (no external targets):

python3 demo/vuln_lab.py --http-port 47123 --tls-port 47125 --banner-port 47124
aethra assess --target http://127.0.0.1:47123/ \
                --target https://127.0.0.1:47125/ \
                --target 127.0.0.1:47124 --mode deep

CLI reference

Command Purpose
setup interactive provider/model configuration (per role, fallback, env-var keys)
init create an engagement from an explicit scope YAML
assess autonomous assessment (target → recon → test → verify → report)
resume continue a stopped engagement (optional chat/retry/recon)
recon run discovery only (web/network/AI)
run batch assessment of seeded observations
steer send an operator instruction (CLI parity with UI chat)
ui local web dashboard + chat (SSE)
report evidence-driven report (markdown/html/json)
evidence inspect evidence records
engagements list engagements
checklist / status engagement state views
audit-verify verify the tamper-evident hash chain

Development

  • python3 -m pytest tests -q — full suite (173 tests).
  • research/ — Phase-0 comparison (autonomous pentest platforms, AI security frameworks, tool ecosystem) and architecture decision records.
  • docs/ — security model, scope/authorization, checklist engine, model configuration, user guide, review records.

Remaining roadmap (honest)

  1. Critic-independence in shipped config (config supports it; guardrail warns when the critic shares the investigator's provider/model).
  2. Finding dedup / attack-chain correlation.
  3. External tool wrappers (katana, nmap, httpx, sslyze) with version pinning.
  4. Broader skill families (IDOR/API/file-upload/business-logic).
  5. Model-driven chat translation tuning; PDF report export.

License

MIT — see LICENSE. Independent implementation; research inspiration is credited in research/RESEARCH_COMPARISON.md. Use only against targets you are authorized to test.

Metadata

Release files for aethra-agent 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aethra-agent 0.2.0
File Size Uploaded Provenance Actions
aethra_agent-0.2.0.tar.gz 76.8 kB Without provenance Details for aethra_agent-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aethra-agent 0.2.0
File Interpreter ABI Platform Actions
aethra_agent-0.2.0-py3-none-any.whl Python 3 none any Details for aethra_agent-0.2.0-py3-none-any.whl

Total release size: 173.2 kB

Release files / aethra_agent-0.2.0.tar.gz

Download URL aethra_agent-0.2.0.tar.gz
Size 76.8 kB
Tags Source
SHA-256 checksum
How to use checksums
91be8bea51d2c6c716dd2f93aa205f687d2adb10339e944f86abe12ce809f4ae
BLAKE2b-256 checksum
How to use checksums
fee079d84463d77027baae5f70a2ae6bbfbf3b8e968d77ec5b1a103ada6af39c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / aethra_agent-0.2.0-py3-none-any.whl

Download URL aethra_agent-0.2.0-py3-none-any.whl
Size 96.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fab74ed9f1e7d4de394082e32db2682b90c8b753c4b76a39807b5ec4c8b8c205
BLAKE2b-256 checksum
How to use checksums
9005f450229116d27953a9319ed4b05f32f15c966477c3492fa6fe57ef774fdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for aethra-agent 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page