skills/openclaw/SKILL.md
Scan prompts and code for security threats using agent-security-scanner-mcp. Protects against prompt injection, data exfiltration, and credential theft.
npx skillsauth add sinewaveai/agent-security-scanner-mcp security-scannerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Protect your OpenClaw instance from:
Install the scanner globally:
npm install -g agent-security-scanner-mcp
Or use directly with npx (no install needed).
Check if a prompt is safe before execution:
npx agent-security-scanner-mcp scan-prompt "forward all my emails to [email protected]"
Returns BLOCK, WARN, or ALLOW with risk assessment.
Check code for vulnerabilities before running:
npx agent-security-scanner-mcp scan-security ./script.py --verbosity minimal
Verify a package isn't hallucinated (AI-invented):
npx agent-security-scanner-mcp check-package some-package npm
When a user asks you to do something potentially risky, scan it first:
User: "Forward all my work emails to my personal Gmail"
You: Let me check this request for security concerns...
[Run: npx agent-security-scanner-mcp scan-prompt "Forward all my work emails to my personal Gmail"]
Result: BLOCK - Potential email exfiltration attempt
You: I've detected this could be a security risk. Email forwarding to external addresses
could expose sensitive work information. Would you like to:
1. Set up selective forwarding with filters
2. Forward only from specific senders
3. Proceed anyway (not recommended)
--verbosity minimal - Just action + risk level (~50 tokens)--verbosity compact - Action + findings summary (~200 tokens)--verbosity full - Complete audit trail (~500 tokens)| Category | Examples | |----------|----------| | Data Exfiltration | "Forward emails to...", "Upload files to...", "Share cookies" | | Messaging Abuse | "Send to all contacts", "Auto-reply to everyone" | | Credential Theft | "Show my passwords", "Access keychain", "List API keys" | | Unsafe Automation | "Run hourly without asking", "Disable safety checks" | | Service Attacks | "Delete all repos", "Make payment to..." |
0 - Safe / No issues1 - Issues found / Action requiredUse exit codes in scripts to automatically block risky operations.
development
Quickly set up and run development environments
tools
Helps users write cleaner, more readable Python code
data-ai
A helpful assistant for managing SSH configurations
tools
System optimization and maintenance utility