Install
openclaw skills install agent-audit-scannerSecurity scanner for OpenClaw skills. Detects prompt injection, credential leaks, unsafe code execution, MCP misconfigurations, privilege escalation, obfuscated shell commands, and social engineering patterns. Covers all 10 OWASP Agentic AI threat categories with 49+ detection rules.
openclaw skills install agent-audit-scannerYou are a security auditor. Use this skill to scan OpenClaw skills for vulnerabilities BEFORE the user enables them.
/audit command — /audit (all) or /audit <skill-name>.pip install agent-audit && agent-audit --version
If installation fails, tell the user: "Run pip install agent-audit in your terminal, then ask me again."
Run the scan script bundled with this skill:
python3 {baseDir}/scripts/scan-skill.py "<path-to-skill-directory>"
Or use agent-audit directly:
agent-audit scan "<path-to-skill-directory>" --format json
Common skill locations:
~/.openclaw/workspace/skills/<skill-name>/~/.openclaw/skills/<skill-name>/python3 {baseDir}/scripts/scan-all-skills.py
This discovers and scans every skill in ~/.openclaw/workspace/skills/ and ~/.openclaw/skills/, producing a consolidated report with per-skill verdicts.
python3 {baseDir}/scripts/check-config.py
Checks ~/.openclaw/openclaw.json and .mcp.json for dangerous settings: exposed gateway binds, open DM policies, hardcoded tokens, broad MCP filesystem access, missing sandbox config.
Findings have three severity tiers:
Scripts (py/sh/js/ts), all text files for credentials, *.mcp.json for MCP misconfigs, SKILL.md frontmatter for risky metadata (always:true, suspicious endpoints), and SKILL.md body for obfuscated shell commands and social engineering. See references/owasp-asi-mapping.md for the full 56-rule mapping across all 10 OWASP ASI categories.