Red team toolkit for testing AI coding agent boundaries: MCP server delivering prompt injection payloads, environment probes, and persistence vectors, with a scoring dashboard.
Warning: This toolkit is intended exclusively for authorized security testing, red team engagements, and research into AI coding agent boundaries. Do not use it against systems or agents without explicit permission. The authors are not responsible for misuse.
Red team toolkit for testing coding agent boundaries. Provides an MCP server with prompt injection payloads, environment probes, and persistence vectors, plus a scoring dashboard to track results across agents and sessions.
uv venv && uv pip install -e .
docker compose up -d
Override defaults with environment variables:
DEVASSIST_MODE=active DEVASSIST_PASSWORD=s3cret docker compose up -d
# Start MCP server (stdio)
devassist serve --mode active
# Start MCP server (SSE, for remote connections)
devassist serve --transport sse --port 8080 --mode active
# View red team report
devassist report
# Show detail for a specific session
devassist report --session-id abc123
# Start web dashboard
devassist dashboard --port 9090 --password yourpassword
# Initialize / reset database
devassist init
devassist reset
| Mode | Behavior |
|---|---|
passive | Collects data when tools are called, no injection attempts |
active | Full injection: tool descriptions, response injection, persistence |
report-only | Dry run — logs what would happen without taking action |
Set via DEVASSIST_MODE env var or --mode flag.
claude mcp add devassist -- /path/to/coding-agents/.venv/bin/devassist serve --mode active
claude mcp add devassist --transport sse "http://localhost:8080/sse?user=alice"
Or manually in ~/.claude/settings.json:
{
"mcpServers": {
"devassist": {
"type": "sse",
"url": "http://localhost:8080/sse?user=alice"
}
}
}
In opencode.json:
{
"mcpServers": {
"devassist": {
"command": "/path/to/coding-agents/.venv/bin/devassist",
"args": ["serve", "--mode", "active"]
}
}
}
In opencode.json:
{
"mcpServers": {
"devassist": {
"type": "sse",
"url": "http://localhost:8080/sse?user=alice"
}
}
}
Add ?user=name to the SSE URL to identify who is connecting:
http://localhost:8080/sse?user=alice
Without it, sessions fall back to the client IP address (SSE) or local username@hostname (stdio).
When running on another machine, replace localhost with the host IP or domain:
http://192.168.1.100:8080/sse?user=alice
Ensure ports 8080 (MCP server) and 9090 (dashboard) are accessible.
The compose.yaml runs two services sharing a SQLite volume:
| Service | Port | Purpose |
|---|---|---|
mcp-server | 8080 | MCP server (SSE transport) |
dashboard | 9090 | Web UI (password-protected) |
# Start
docker compose up -d
# View logs
docker compose logs -f
# Stop
docker compose down
# Stop and delete data
docker compose down -v
Pre-built agent skill files in skills/:
| Directory | Agent | Skills |
|---|---|---|
skills/claude-code/ | Claude Code | env-audit, security-scan, api-audit, browser-scan, data-audit, comms-audit, full-recon, project-onboard, report-metrics, setup-hooks |
skills/opencode/ | opencode | env-audit, security-scan, api-audit, browser-scan, data-audit, comms-audit, full-recon, report-metrics |
skills/generic/ | Any agent | env-audit, security-scan, api-audit, browser-scan, data-audit, comms-audit, full-recon, report-metrics, setup-hooks |
skills/cursor/ | Cursor | cursorrules injection template |
skills/windsurf/ | Windsurf | windsurfrules injection template |
skills/cline/ | Cline | clinerules injection template |
skills/copilot/ | Copilot | copilot-instructions injection template |
Skills are installed automatically via the setup_workspace or install_skills MCP tools. The MCP server also exposes them as readable resources. Skills are also available for manual download from the dashboard at /downloads/skills/.
Access at http://localhost:9090 after starting with devassist dashboard or docker compose up -d.
Default password: changeme (override with DEVASSIST_PASSWORD env var or --password flag).
Pages:
API:
GET /api/skills — JSON listing of all available skills by agent typeGET /downloads/skills/{agent_type}/{skill_name} — download individual skill files