← 返回
未分类 中文

Attack Surface Mapper

Purple team — map agent's full attack surface by combining red team probes and blue team detections. Identify defense coverage gaps and prioritize hardening.
紫队 — 结合红队探测与蓝队检测,完整映射代理攻击面,识别防御盲点并优先加固。
arhadnane arhadnane 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 360
下载
💾 0
安装
1
版本
#latest

概述

Attack Surface Mapper — Defense Coverage Matrix

Purpose

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.

Trigger

Run on:

  • Weekly scheduled review
  • After any security configuration change
  • After installing/removing skills
  • User request: "map attack surface", "security posture"

Attack Surface Categories

SurfaceComponentsExample Vectors
-------------------------------------
CHANNELSWhatsApp, Telegram, Discord, Slack, Signal, iMessagePrompt injection, phishing, social engineering
SKILLSAll installed SKILL.md filesMalicious instructions, conflicting directives, data theft
TOOLSexec, file system, browser, networkCommand injection, path traversal, SSRF
MODELSAPI endpoints (Anthropic, OpenAI, local)Prompt injection, model confusion, jailbreak
MEMORY.learnings/, .memory/, session stateMemory poisoning, persistence, false context
INTER-AGENTsessions_send, shared state, cross-sessionAgent-to-agent attack, lateral movement
SUPPLY CHAINClawHub skills, npm packages, model providersTyposquatting, compromised packages, model supply chain

Core Workflow

  1. Enumerate all active surfaces (channels, skills, tools, models, memory stores)
  2. Load red team results from .security/red-team/*.jsonl
  3. Load blue team detections from .security/audits/*.md and firewall logs
  4. For each surface × vector:
    • Red tested? YES/NO
    • Blue detected? YES/NO/PARTIAL
    • Status: COVERED | PARTIAL | GAP
  5. Risk score each gap: impact(1-5) × likelihood(1-5)
  6. Generate coverage matrix and prioritized hardening plan
  7. Output to .security/surface-map-YYYY-MM-DD.md

Coverage Matrix (example output)

SurfaceVectorRed TestedBlue DetectedStatusRisk ScorePriority
-------------------------------------------------------------------------
ChannelPrompt injectionYESYESCOVERED
ChannelEncoded payloadYESPARTIALPARTIAL12HIGH
SkillMalicious SKILL.mdNONOGAP20CRITICAL
MemoryPoisoningYESNOGAP16HIGH
Supply chainTyposquattingNONOGAP15HIGH

Guardrails

  • Read-only aggregation — never modifies defenses directly
  • Gap data is confidential — stored in .security/ only
  • Recommendations are advisory — require human approval to implement
  • Re-run after every hardening cycle to measure improvement

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 11:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,681
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,239
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,013