Install
openclaw skills install opena2a-securitySecurity hardening for OpenClaw. Audit your configuration, scan installed skills for malware, detect CVE-2026-25253, check credential exposure, and get actio...
openclaw skills install opena2a-securitySecurity auditing and hardening for OpenClaw installations. Scan your configuration, detect known vulnerabilities, audit installed skills for malicious code, and get specific remediation steps.
This skill runs entirely locally. No data leaves your machine. No API keys required.
Ask for a fast overview of your security posture:
"Run a security audit on my OpenClaw setup"
"Is my OpenClaw configuration secure?"
"Check my OpenClaw for known vulnerabilities"
Check if your OpenClaw instance is vulnerable to the WebSocket hijack RCE (CVSS 8.8):
"Am I vulnerable to CVE-2026-25253?"
"Check for the OpenClaw WebSocket vulnerability"
Scan installed skills for malicious code patterns (command injection, data exfiltration, obfuscated payloads, crypto mining):
"Scan my installed skills for malware"
"Is the weather-bot skill safe?"
"Check all my skills for security issues"
Check for exposed credentials, weak file permissions, and plaintext storage:
"Are my API keys and tokens stored securely?"
"Check my credential file permissions"
Get specific recommendations for hardening your OpenClaw config:
"How do I harden my OpenClaw configuration?"
"What security settings should I change?"
This skill uses HackMyAgent, an open-source security scanner with 47 OpenClaw-specific checks across these categories:
| Check | What It Detects |
|---|---|
| SKILL-001 | Command injection via shell execution |
| SKILL-002 | Dynamic code execution (eval, Function, vm) |
| SKILL-003 | Data exfiltration to external endpoints |
| SKILL-004 | Obfuscated code (base64, hex, charcode) |
| SKILL-005 | Crypto mining indicators |
| SKILL-006 | Path traversal outside skill directory |
| Check | What It Detects |
|---|---|
| CRED-001 | Credentials exposed via gateway API |
| CRED-002 | Credential files with world-readable permissions |
| CRED-003 | Plaintext credential storage without encryption |
| CRED-004 | Timing side-channel in authentication |
| Check | What It Detects |
|---|---|
| GW-001 | Missing rate limiting on endpoints |
| GW-002 | SSRF-vulnerable URL fetch handlers |
| GW-003 | Missing or incomplete security headers |
| GW-004 | CVE-2026-25253 WebSocket hijack vulnerability |
| Check | What It Detects |
|---|---|
| SC-001 | npm install without --ignore-scripts |
| SC-002 | Unpinned or pre-release dependencies |
| SC-003 | Missing skill signing or hash verification |
| SC-004 | Known ClawHavoc malicious skill patterns |
When asked to perform a scan, run the following commands:
npx hackmyagent secure ~/.openclaw
npx hackmyagent scan --skill <skill-name>
npx hackmyagent scan --cve ~/.openclaw
npx hackmyagent audit ~/.openclaw/config.json5
npx hackmyagent secure ~/.openclaw --format html --output security-report.html
Output formats: text, json, sarif, html, asp
When providing recommendations, reference these priority levels:
npx hackmyagent secure to identify your current exposureRecommend these config.json5 changes when relevant:
gateway.auth to a strong token (32+ characters, randomly generated)gateway.host to 127.0.0.1 (loopback only) unless remote access is requiredplugins.allowUnsafe to falseWhen presenting scan results to the user:
Always explain findings in plain language. Not every user is a security expert. State what the risk is, who could exploit it, and exactly how to fix it.
This skill is built by OpenA2A (opena2a.org), the team behind 6 merged security patches in OpenClaw main:
| PR | Fix |
|---|---|
| #9806 | Skill code safety scanner (19 detection rules, +1,721 lines) |
| #9858 | Credential redaction for gateway WebSocket responses |
| #10525 | Path traversal fix in A2UI file serving |
| #10527 | Timing-safe comparison for hook token auth |
| #10528 | Blocked npm lifecycle scripts during plugin install |
| #10529 | File permission enforcement on WhatsApp credentials |
Scanner: https://www.npmjs.com/package/hackmyagent Source: https://github.com/opena2a-org/hackmyagent Threat model: https://github.com/openclaw/trust/pull/7