Cyber-AutoAgent is an autonomous security assessment tool with a React-based terminal interface providing real-time operation monitoring and interactive configuration.
| Requirement | Purpose |
|---|
| Node.js 20+ | React interface runtime |
| Docker Desktop | Containerized agent execution |
| AWS credentials or Ollama | Model provider access |
| Authorization | Written permission to test targets |
Legal Notice: Only test systems you own or have explicit written permission to assess. Unauthorized testing is illegal. Users assume full responsibility for legal and ethical use.
cd src/modules/interfaces/react
npm install
npm run build
npm start
First launch guides you through Docker setup, deployment mode selection, and provider configuration.
| Mode | Execution | Observability | Use Case |
|---|
| Local CLI | Direct Python | None | Development |
| Single Container | Docker isolated | None | Basic assessments |
| Full Stack | Docker Compose | Langfuse included | Production |
Select during setup or change via /setup command.
Configuration persists to ~/.cyber-autoagent/config.json.
AWS Bedrock:
export AWS_ACCESS_KEY_ID=your_key
export AWS_SECRET_ACCESS_KEY=your_secret
export AWS_REGION=us-east-1
Ollama (Local):
ollama serve
ollama pull qwen3-coder:30b-a3b-q4_K_M
ollama pull mxbai-embed-large
LiteLLM:
export OPENAI_API_KEY=your_key
# or
export ANTHROPIC_API_KEY=your_key
| Command | Function |
|---|
/config | View current settings |
/config edit | Interactive editor |
/provider | Change model provider |
/setup | Re-run initial setup |
/health | System status check |
# In interface
/module # Select general or ctf
target: https://testphp.vulnweb.com
objective: Identify SQL injection vulnerabilities
execute # Start assessment
cyber-react \
--target "https://testphp.vulnweb.com" \
--objective "Identify OWASP Top 10 vulnerabilities" \
--module general \
--iterations 50 \
--auto-run
| Flag | Default | Description |
|---|
--target, -t | Required | Target system URL or IP |
--objective, -o | Required | Assessment objective |
--module, -m | general | Security module: general, ctf |
--iterations, -i | 100 | Maximum tool executions |
--provider | bedrock | Model provider |
--auto-run | false | Skip interactive prompts |
--auto-approve | false | Auto-approve tool executions |
--memory-mode | auto | Memory: auto or fresh |
--deployment-mode | Auto | local-cli, single-container, full-stack |
| Module | Purpose | Key Features |
|---|
| general | Web application security | Advanced recon, payload testing, auth analysis |
| ctf | CTF challenges | Flag recognition, exploit chains, success detection |
| Section | Information |
|---|
| Header | Operation ID, target, module, deployment mode |
| Main | Agent reasoning, tool executions, outputs, findings |
| Footer | Step progress, tokens, costs, memory ops, time |
URL: http://localhost:3000
Login: admin@cyber-autoagent.com / changeme
outputs/
└── <target>/
├── OP_<timestamp>/
│ ├── report.md # Assessment report
│ ├── logs/
│ │ └── cyber_operations.log
│ └── utils/
└── memory/ # Persistent across operations
| Mode | Behavior | Use Case |
|---|
| auto | Loads existing memory, stores new findings | Iterative testing |
| fresh | Empty memory, no historical context | Baseline assessments |
Control via /config edit or --memory-mode flag.
# Start full stack
docker-compose up -d
# Check status
docker-compose ps
# View logs
docker-compose logs -f
# Stop
docker-compose down
# Reset all data
docker-compose down -v
python src/cyberautoagent.py \
--target "http://testphp.vulnweb.com" \
--objective "SQL injection assessment" \
--provider bedrock \
--module general \
--iterations 50
Requirements: Python 3.10+, dependencies installed
docker build -t cyber-autoagent .
docker run --rm \
-e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
-e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
-v $(pwd)/outputs:/app/outputs \
cyber-autoagent \
--target "http://example.com" \
--objective "Security assessment"
| Problem | Solution |
|---|
| React app won't start | rm -rf node_modules && npm install && npm run build |
| Configuration errors | rm ~/.cyber-autoagent/config.json && cyber-react |
| Docker connectivity | docker info to verify daemon running |
| Node version issues | Verify Node.js 20+ with node --version |
| Provider | Verification Command |
|---|
| Bedrock | aws sts get-caller-identity |
| Ollama | curl http://localhost:11434/api/version |
| LiteLLM | echo $OPENAI_API_KEY |
| Issue | Resolution |
|---|
| Assessment not starting | Check provider credentials, Docker status, target accessibility |
| Assessment stuck | Review step in footer, check tool outputs for errors |
| Out of memory | Reduce iterations, use fresh memory mode, clear old outputs |
| Port conflicts | Change ports in docker-compose.yml or stop conflicting services |
cyber-react \
-m general \
-t "https://testphp.vulnweb.com" \
-o "OWASP Top 10 assessment" \
-i 50
cyber-react \
-m general \
-t "https://api.example.com" \
-o "Authentication testing" \
-i 75 \
--auto-approve
cyber-react \
-m ctf \
-t "http://challenge.ctf:8080" \
-o "Extract flag" \
-i 100
cyber-react \
-t "192.168.1.100" \
-o "Network security assessment" \
--auto-run \
--auto-approve \
--headless
| Phase | Actions |
|---|
| Before | Obtain written authorization, verify Docker running, check provider connectivity, test target accessibility |
| During | Monitor real-time outputs, review tool effectiveness, track token usage, check finding severity |
| After | Review complete report, verify findings accuracy, document methodology, archive outputs |
| Setting | Recommendation |
|---|
| Iterations | Start with 25-50, increase to 100-200 for comprehensive testing |
| Module | Use general for web apps, ctf for competitions |
| Auto-approve | Only for trusted environments |
| Observability | Enable for production assessments |
| Memory mode | Auto for iterative testing, fresh for baselines |
| Requirement | Description |
|---|
| Written authorization | Explicit permission to test target systems |
| Legal compliance | Understanding of applicable laws and regulations |
| Impact assessment | Ensure testing won't affect production services |
| Scope documentation | Clearly defined testing boundaries |
| Disclosure practices | Responsible vulnerability reporting procedures |
If vulnerabilities are discovered during authorized testing:
| Step | Action |
|---|
| 1 | Report to system owner promptly with clear reproduction steps |
| 2 | Allow reasonable remediation time (typically 90 days) |
| 3 | Do not publicly disclose until patched |
| 4 | Follow coordinated disclosure practices |
Open Source Notice: This software is provided "as is" without warranty. Contributors and maintainers assume no liability for misuse or damages.