A comprehensive security testing harness providing 470 executable protocol and behavioral tests for AI agent systems.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-security-harness
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install agent-security-harness using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Agent Security Harness is a professional-grade defensive security tool specifically engineered for AI agent operators. It serves as a specialized auditor that probes autonomous systems for protocol-level vulnerabilities, ensuring that even properly authorized agents cannot be manipulated into unsafe or policy-violating behaviors. This tool is essential for developers building robust Openclaw Skills who need to validate their systems against modern adversarial tactics.
Built on peer-reviewed research and aligned with NIST AI 800-2 standards, the harness acts as the agentic-AI equivalent of network security staples like nmap or Burp Suite. It provides a structured methodology for red-teaming agent fabrics, covering everything from JSON-RPC injection in MCP servers to complex payment challenge crafting in L402 and x402 wire protocols.
Install the package directly from PyPI:
pip install agent-security-harness
Ensure the local bin is in your path, then run a simulation to verify the installation:
agent-security test mcp --simulate
To test a live endpoint, point the harness at your server URL:
agent-security test mcp --url http://localhost:8080/mcp
The harness organizes its security tests into specific layers to provide granular feedback on system integrity:
| Layer | Scope | Tests |
|---|---|---|
| MCP Protocol | JSON-RPC attacks, tool injection, escalation | 18 |
| A2A Protocol | Trust delegation, provenance verification | 13 |
| L402 Payment | WWW-Authenticate flow, token replay | 33 |
| x402 Payment | Challenge crafting, validation bypass | 52 |
| Governance | Autonomy scoring, policy constraint testing | 8+ |
| Jailbreak | 25 jailbreak and 25 false-positive tests | 50 |
| APT Simulation | Nation-state pattern reproductions | 17 |
Loading
An intelligent automation skill for generating, researching, and staging classified ad drafts on kleinanzeigen.de.

A sophisticated AI divination tool providing I Ching readings through virtual coin simulation and cross-cultural philosophical analysis.

An AI-powered tool that converts podcast audio files into professional videos with captions and waveform animations for social media.

Claude Delegate provides a local worker lane to integrate Claude Code subscription access directly into OpenClaw agents.

An AI-powered traditional Chinese divination skill that combines ancient I Ching wisdom with Python-driven hexagram generation.

A robust framework for defining immutable behavioral rules, permission boundaries, and safety interlocks that AI agents cannot override.








































