Install
openclaw skills install agent-hardening-zurbrickLock down any LLM agent against prompt injection, data exfiltration, social engineering, and channel-based attacks. Use when setting up a new agent, auditing an existing agent's security posture, hardening an agent that handles sensitive data, reviewing MCP server permissions, or when someone says "how do I make this agent more secure" or "protect against prompt injection." Works with OpenClaw, Claude Code, LangChain, custom MCP setups, and any agent framework that accepts natural-language input and calls external tools.
openclaw skills install agent-hardening-zurbrickUse this skill to audit and harden any LLM agent against adversarial attacks across messaging channels, email, MCP integrations, and web interfaces.
This is not a theoretical framework. Every rule here was earned from a real failure or a real pen test.
agent-architect)skill-builder)battle-tested-agent)This skill was built on OpenClaw but the principles are universal. It works with:
Identify the attack surface
Read references/attack-surface-checklist.md and determine which channels,
MCP servers, and capabilities the agent has.
Apply channel hardening
Read references/channel-hardening.md and verify each channel has
the correct access controls, allowlists, and instruction isolation.
Apply MCP hardening
Read references/mcp-hardening.md and audit each connected MCP server
for excessive permissions, cross-service chaining risks, and tool
description injection.
Apply behavioral hardening
Read references/behavioral-rules.md and add the appropriate
defensive rules to the agent's operating docs.
Test the hardening
Use the quick-test checklist in references/quick-test.md to verify
the rules work. Run both single-shot and multi-turn test scenarios.
Document findings
Use the findings template in references/findings-template.md to record
what was tested and what needs attention.
references/attack-surface-checklist.md — identify what the agent can accessreferences/channel-hardening.md — per-channel security configurationreferences/mcp-hardening.md — MCP server permission auditingreferences/behavioral-rules.md — defensive operating rules to addreferences/quick-test.md — fast verification tests (single-shot + multi-turn)references/findings-template.md — structured findings documentationLead with the specific vulnerability or configuration gap. Provide the exact rule or config change needed. Do not lecture about security in general.