Installation methods
RAPTOR offers two installation approaches:- Manual installation - Install on your own system
- Devcontainer - Pre-configured Docker environment with all tools
Manual installation
Install Claude Code
Install Python dependencies
- requests (Apache 2.0)
- anthropic (MIT)
- tabulate (MIT)
- Additional packages listed in
requirements.txt
Devcontainer installation
A devcontainer with all prerequisites pre-installed is available for easy onboarding.Open in VS Code
Devcontainer contents
Pre-installed security tools:- Semgrep (static analysis)
- CodeQL CLI v2.15.5 (semantic code analysis)
- AFL++ (fuzzing)
- rr debugger (deterministic record-replay debugging)
- gcc, g++, clang-format, make, cmake, autotools
- gdb, gdb-multiarch, binutils
- Playwright browser automation (Chromium, Firefox, Webkit browsers)
- All Playwright browsers pre-downloaded
- Runs with
--privilegedflag (required for rr debugger) - PYTHONPATH configured for
/workspaces/raptorimports - OSS forensics requires
GOOGLE_APPLICATION_CREDENTIALSfor BigQuery
Dependencies
Required tools
Semgrep (Static analysis scanner)
Semgrep (Static analysis scanner)
semgrep command-line toolPython packages (from requirements.txt)
Python packages (from requirements.txt)
- requests (Apache 2.0)
- anthropic (MIT)
- tabulate (MIT)
- Additional packages for LLM integration, analysis, and reporting
Optional tools
Install these tools when you need specific capabilities:AFL++ (Binary fuzzer)
AFL++ (Binary fuzzer)
afl-fuzz command when using /fuzzCodeQL (Static analysis engine)
CodeQL (Static analysis engine)
codeql command for deep analysisOllama (Local model server)
Ollama (Local model server)
http://localhost:11434License: MITSource: https://github.com/ollama/ollamaUsage: RAPTOR connects to Ollama server for local model inferencerr (Record-replay debugger)
rr (Record-replay debugger)
/crash-analysis commandgcov (Code coverage tool)
gcov (Code coverage tool)
/crash-analysis commandAddressSanitizer (Memory error detector)
AddressSanitizer (Memory error detector)
-fsanitize=addressLicense: Apache 2.0Source: https://github.com/google/sanitizersUsage: RAPTOR detects ASAN builds for enhanced crash diagnosticsGoogle Cloud BigQuery (for OSS forensics)
Google Cloud BigQuery (for OSS forensics)
GOOGLE_APPLICATION_CREDENTIALS environment variable/oss-forensics commandFeatures: Query immutable GitHub event data for forensic investigations/oss-forensics commandSystem tools (pre-installed)
These tools are typically pre-installed on most systems:LLDB (Debugger)
LLDB (Debugger)
GDB (Debugger)
GDB (Debugger)
Standard Unix tools
Standard Unix tools
Environment variables
LLM configuration
BigQuery (for OSS forensics)
/oss-forensics commandLLM provider performance
Experimental benchmark for exploit generation:| Provider | Exploit Quality | Cost |
|---|---|---|
| Anthropic Claude | ✓ Compilable C code | ~$0.03/vuln |
| OpenAI GPT-4 | ✓ Compilable C code | ~$0.03/vuln |
| Gemini 2.5 | ✓ Compilable C code | ~$0.03/vuln |
| Ollama (local) | ✗ Often broken | FREE |
Performance tuning
Remote Ollama servers automatically use longer retry delays to account for network latency:| Server Type | Base Delay | Retry 1 | Retry 2 | Retry 3 |
|---|---|---|---|---|
| Local | 2.0s | 2s | 4s | 8s |
| Remote | 5.0s | 5s | 10s | 20s |
License compliance
RAPTOR’s license
License: MIT Copyright: Gadi Evron, Daniel Cuthbert, Thomas Dullien (Halvar Flake), and Michael Bargury See: LICENSE file for full textExternal tool licenses
RAPTOR does not bundle external tools. Users install them separately according to each tool’s license terms. Summary:- Semgrep (LGPL 2.1) - User installs
- AFL++ (Apache 2.0) - User installs
- CodeQL (GitHub Terms) - User installs
- Python packages (various open source) - User installs via pip
- System tools (GPL v3, Apache 2.0) - Pre-installed on OS
Troubleshooting
Common issues
RAPTOR automatically installs tools
RAPTOR automatically installs tools
DEPENDENCIES.md before running RAPTOR to understand what will be installed.CodeQL not found
CodeQL not found
AFL++ not available
AFL++ not available
Ollama connection errors
Ollama connection errors
OLLAMA_HOST is set correctly with protocol and port.LLM API key errors
LLM API key errors
rr debugger not working
rr debugger not working
BigQuery authentication errors
BigQuery authentication errors
Python import errors
Python import errors
Getting help
- Issues: https://github.com/gadievron/raptor/issues
- Repository: https://github.com/gadievron/raptor
- Documentation: See
docs/directory in repository - Community: Chat on the #raptor channel at the Prompt||GTFO Slack: https://join.slack.com/t/promptgtfo/shared_invite/zt-3kbaqgq2p-O8MAvwU1SPc10KjwJ8MN2w