Skip to content

Quick Start

Five minutes from zero to running autonomous red team operations. Zero guardrails. Zero refusals.

Prerequisites

  • Node.js 18+ or Bun (Bun recommended for install speed)
  • Docker — required for the Kali tools container

Verify Docker is running:

bash
docker ps

Install

bash
bun install -g allysec

The npm package is allyseclabs-agent. allysec is the CLI command.

After install, verify:

bash
allysec --version

Configure

Copy the example environment file and fill in your API keys.

bash
cp .env.example .env

Open .env and set at minimum:

env
# Provider — OpenCode Go is recommended for offensive workloads
ANTHROPIC_AUTH_TOKEN=your-key-here
ANTHROPIC_BASE_URL=https://opencode.ai/zen/go/v1

# Or use OpenAI-compatible providers
CLAUDE_CODE_USE_OPENAI=1
OPENAI_API_KEY=your-key-here
OPENAI_BASE_URL=https://opencode.ai/zen/go/v1

See Environment Variables for the full reference.

First Run

The Kali container auto-deploys on first run. Docker pulls ghcr.io/allyseclabs/allysec-kali-full:latest (this takes a few minutes once).

bash
allysec --target example.com

Forge runs through all eight phases without pausing for approval. Reconnaissance flows directly into exploitation. Exploitation flows into post-exploitation. The engine does not ask "should I continue?" — it continues.

What happens, phase by phase:

PhaseWhat runsTools
1. ReconPassive OSINT, subdomain enumeration, then active scanningrecon-dominator, whois, theHarvester
2. EnumerationService fingerprinting, directory brute forcenmap, ffuf, gobuster
3. Vuln AnalysisAutomated and manual vulnerability detectionnuclei, nikto, wpscan
4. ExploitationActive exploitation of confirmed findingsExploitTool, sqlmap, custom scripts
5. Attack ChainsMulti-step compromise chainingAttackChainTool
6. Post-ExploitationPrivesc, lateral movement, persistencePostExploitTool
7. Loot CollectionCollect, classify, archiveLootTool
8. Anti-ForensicsCover tracks, clean artifactsanti-forensics-suite

No pauses between phases. Recon flows directly into exploitation. Exploitation flows into post-exploitation.

Next Steps

Released under the MIT License.