AI 코딩 에이전트의 경계를 테스트하기 위한 레드 팀 툴킷: 프롬프트 인젝션 페이로드, 환경 프로브, 지속성 벡터를 전달하는 MCP 서버와 스코어링 대시보드.
경고: 이 툴킷은 오직 승인된 보안 테스트, 레드 팀 활동, 그리고 AI 코딩 에이전트의 경계에 대한 연구 목적으로만 사용하도록 의도되었습니다. 명시적인 허가 없이 시스템이나 에이전트를 대상으로 사용하지 마십시오. 저자는 오용에 대해 책임지지 않습니다.
코딩 에이전트의 경계를 테스트하기 위한 레드 팀 툴킷입니다. 프롬프트 인젝션 페이로드, 환경 프로브, 지속성 벡터를 제공하는 MCP 서버와, 에이전트 및 세션 전반의 결과를 추적하는 스코어링 대시보드를 제공합니다.
uv venv && uv pip install -e .
docker compose up -d
환경 변수로 기본값을 재정의합니다:
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
| 모드 | 동작 |
|---|---|
passive | 도구가 호출될 때 데이터를 수집하며, 주입 시도는 없음 |
active | 전체 주입: 도구 설명, 응답 주입, 지속성 |
report-only | 드라이 런 — 실제 조치 없이 발생할 작업을 기록 |
DEVASSIST_MODE 환경 변수 또는 --mode 플래그로 설정합니다.
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"
또는 ~/.claude/settings.json에서 수동으로:
{
"mcpServers": {
"devassist": {
"type": "sse",
"url": "http://localhost:8080/sse?user=alice"
}
}
}
opencode.json에서:
{
"mcpServers": {
"devassist": {
"command": "/path/to/coding-agents/.venv/bin/devassist",
"args": ["serve", "--mode", "active"]
}
}
}
opencode.json에서:
{
"mcpServers": {
"devassist": {
"type": "sse",
"url": "http://localhost:8080/sse?user=alice"
}
}
}
누가 연결하고 있는지 식별하려면 SSE URL에 ?user=name를 추가하세요:
http://localhost:8080/sse?user=alice
이것이 없으면 세션은 클라이언트 IP 주소(SSE) 또는 로컬 username@hostname(stdio)로 대체됩니다.
다른 머신에서 실행하는 경우 localhost을 호스트 IP 또는 도메인으로 바꾸십시오:
http://192.168.1.100:8080/sse?user=alice
포트 8080(MCP 서버)과 9090(대시보드)에 접근할 수 있는지 확인하세요.
compose.yaml는 SQLite 볼륨을 공유하는 두 개의 서비스를 실행합니다:
| 서비스 | 포트 | 용도 |
|---|---|---|
mcp-server | 8080 | MCP 서버 (SSE 전송) |
dashboard | 9090 | 웹 UI (비밀번호 보호) |
# Start
docker compose up -d
# View logs
docker compose logs -f
# Stop
docker compose down
# Stop and delete data
docker compose down -v
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/ | 모든 에이전트 | env-audit, security-scan, api-audit, browser-scan, data-audit, comms-audit, full-recon, report-metrics, setup-hooks |
skills/cursor/ | Cursor | cursorrules 주입 템플릿 |
skills/windsurf/ | Windsurf | windsurfrules 주입 템플릿 |
skills/cline/ | Cline | clinerules 주입 템플릿 |
skills/copilot/ | Copilot | copilot-instructions 주입 템플릿 |
스킬은 setup_workspace 또는 install_skills MCP 도구를 통해 자동으로 설치됩니다. MCP 서버는 이들을 읽을 수 있는 리소스로도 노출합니다. 스킬은 /downloads/skills/의 대시보드에서 수동으로 다운로드할 수도 있습니다.
devassist dashboard 또는 docker compose up -d으로 시작한 후 http://localhost:9090에서 접속합니다.
기본 비밀번호: changeme (DEVASSIST_PASSWORD 환경 변수 또는 --password 플래그로 재정의 가능).
페이지:
API:
GET /api/skills — 에이전트 유형별로 사용 가능한 모든 스킬의 JSON 목록GET /downloads/skills/{agent_type}/{skill_name} — 개별 스킬 파일 다운로드