Attack Surface Mapper for Openclaw

A purple team security tool that maps an agent's attack surface by correlating offensive probes with defensive detections.

arhadnane
v1.0.0
Apr 4, 2026
0
805
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install attack-surface-mapper

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install attack-surface-mapper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Attack Surface Mapper?

The Attack Surface Mapper is a specialized security tool designed to provide a comprehensive view of an AI agent's vulnerabilities and defenses. By functioning as a purple team component, it bridges the gap between red team offensive testing and blue team defensive monitoring. This skill ensures that developers utilizing Openclaw Skills can maintain a robust security posture by identifying exactly where attacks might bypass existing detection logic.

It systematically evaluates various components of the agent ecosystem, including communication channels, installed skills, and underlying models. By synthesizing data from multiple security logs, it provides a prioritized hardening plan that helps teams focus on the most critical gaps in their defense coverage.

Attack Surface Mapper Use Cases

  • Weekly scheduled security reviews to maintain a consistent safety baseline.
  • Analyzing the security impact immediately after installing or removing specific Openclaw Skills.
  • Identifying detection gaps following a red team simulation or automated probe.
  • Generating executive-level security posture reports for compliance and auditing purposes.

How Attack Surface Mapper Works

  1. Enumerate all active surfaces including communication channels, skills, tools, and memory stores.
  2. Load red team results from existing JSONL files in the security directory.
  3. Load blue team detection data from audit logs and firewall records.
  4. Cross-reference each identified vector against known tests and detections.
  5. Assign a risk score to each gap based on the impact and likelihood of exploitation.
  6. Generate a coverage matrix and a prioritized hardening plan.
  7. Export the final report to a time-stamped markdown file for review.

Attack Surface Mapper Setup

To configure this skill within your environment, ensure the following directory structure and files are present:

# Create the security directory if it doesn't exist
mkdir -p .security/red-team
mkdir -p .security/audits

# Ensure your red team results are placed in:
# .security/red-team/*.jsonl

# Ensure your blue team audit logs are placed in:
# .security/audits/*.md

Once the files are in place, you can trigger a mapping exercise by asking the agent to map attack surface.

Attack Surface Mapper Data Schema & Taxonomy

The skill organizes its analysis into a structured matrix, evaluating the relationship between surfaces and attack vectors. The data is exported as follows:

Attribute Description
Surface The architectural component (e.g., Channels, Skills, Models, Memory)
Vector The specific method of attack (e.g., Prompt Injection, Typosquatting)
Status The coverage state: COVERED, PARTIAL, or GAP
Risk Score A numerical value derived from impact multiplied by likelihood

All reports are saved to the .security/ folder using the naming convention surface-map-YYYY-MM-DD.md for historical tracking of Openclaw Skills security trends.

Attack Surface Mapper Advanced Features

  • Multi-vector analysis covering WhatsApp, Telegram, Slack, and other communication channels.
  • Supply chain vulnerability assessment for third-party Openclaw Skills and npm dependencies.
  • Detailed memory poisoning detection to prevent long-term agent persistence attacks.
  • Automated risk prioritization that helps developers focus on CRITICAL and HIGH priority gaps first.
  • Cross-session lateral movement analysis for multi-agent environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*