Provide a unified view of the agent's security posture by combining offensive test results (red team) with defensive detection capabilities (blue team). Identify gaps where attacks exist but no detection covers them.
Run on:
SurfaceComponentsExample VectorsCHANNELSWhatsApp, Telegram, Discord, Slack, Signal, iMessagePrompt injection, phishing, social engineeringSKILLSAll installed SKILL.md filesMalicious instructions, conflicting directives, data theftTOOLSexec, file system, browser, networkCommand injection, path traversal, SSRFMODELSAPI endpoints (Anthropic, OpenAI, local)Prompt injection, model confusion, jailbreakMEMORY.learnings/, .memory/, session stateMemory poisoning, persistence, false contextINTER-AGENTsessions_send, shared state, cross-sessionAgent-to-agent attack, lateral movementSUPPLY CHAINClawHub skills, npm packages, model providersTyposquatting, compromised packages, model supply chain
Enumerate all active surfaces (channels, skills, tools, models, memory stores)
Load red team results from .security/red-team/*.jsonl
Load blue team detections from .security/audits/*.md and firewall logs
For each surface × vector:
Risk score each gap: impact(1-5) × likelihood(1-5)
Generate coverage matrix and prioritized hardening plan
Output to .security/surface-map-YYYY-MM-DD.md
SurfaceVectorRed TestedBlue DetectedStatusRisk ScorePriorityChannelPrompt injectionYESYESCOVERED——ChannelEncoded payloadYESPARTIALPARTIAL12HIGHSkillMalicious SKILL.mdNONOGAP20CRITICALMemoryPoisoningYESNOGAP16HIGHSupply chainTyposquattingNONOGAP15HIGH
.security/ only