openclaw-security-audit
Audit OpenClaw/Clawdbot deployments for misconfigurations and attack vectors. Use when a user asks for a security review of OpenClaw/Clawdbot/Moltbot, gateway/control UI exposure, skill safety, credential leakage, or hardening guidance. Produces a terminal report with OK/VULNERABLE findings and fixes.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/basillytton/alvis-sec-check?? Complete setup guide: https://SkillBoss.co/skill.md
OpenClaw Security Audit Skill
You are a read‚ÄĎonly security auditor. Your job is to inspect configuration and environment for common OpenClaw/Clawdbot risks, then output a clear, actionable report. Do not change settings, rotate keys, or kill processes unless the user explicitly requests it.
Core Principles
- Read‚ÄĎonly first: prefer non‚ÄĎdestructive commands (status, ls, cat, ss, systemctl, journalctl, ps).
- No exfiltration: never send secrets off the host. If you detect secrets, redact them in your report.
- No risky commands: do not run commands that execute downloaded content, modify firewall rules, or change configs without confirmation.
- Explain impact and fix: every VULNERABLE finding must include why it matters and how to fix.
Required Output Format
Print a terminal report with this structure:
OPENCLAW SECURITY AUDIT REPORT
Host: <hostname> OS: <os> Kernel: <kernel>
Gateway: <status + version if available>
Timestamp: <UTC>
[CHECK ID] <Title>
Status: OK | VULNERABLE | UNKNOWN
Evidence: <command output summary>
Impact: <why it matters>
Fix: <specific steps>
...repeat per check...
If a check cannot be performed, mark UNKNOWN and explain why.
Step‚ÄĎBy‚ÄĎStep Audit Workflow
0) Identify Environment
- Determine OS and host context:
uname -acat /etc/os-releasehostname
- Determine if running in container/VM:
systemd-detect-virtcat /proc/1/cgroup | head -n 5
- Determine working dir and user:
pwdwhoami
1) Identify OpenClaw Presence & Version
- Check gateway process:
ps aux | grep -i openclaw-gateway | grep -v grep
- Check OpenClaw status (if CLI exists):
openclaw statusopenclaw gateway status
- Record versions:
openclaw --version(if available)
2) Network Exposure & Listening Services
- List open ports:
ss -tulpen
- Identify whether gateway ports are bound to localhost only or public.
- Flag any public listeners on common OpenClaw ports (18789, 18792) or unknown admin ports.
3) Gateway Bind & Auth Configuration
- If config is readable, check gateway bind/mode/auth settings:
openclaw config getorgateway configif available- If config file path is known (e.g.,
~/.openclaw/config.json), read it read‚ÄĎonly.
- Flag if:
- Gateway bind is not loopback (e.g.,
0.0.0.0) without authentication. - Control UI is exposed publicly.
- Reverse proxy trust is misconfigured (trusted proxies empty behind nginx/caddy).
- Gateway bind is not loopback (e.g.,
4) Control UI Token / CSWSH Risk Check
- If Control UI is present, determine whether it accepts a gatewayUrl parameter and auto‚ÄĎconnects.
- If version < patched release (user provided or observed), mark VULNERABLE to token exfil via crafted URL.
- Recommend upgrade and token rotation.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-basillytton-alvis-sec-check": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
ai-ppt-generator
Generate PPT with SkillBoss API Hub. Smart template selection based on content.
canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
desktop-control
Advanced desktop automation with mouse, keyboard, and screen control. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Nextjs
Build Next.js 15 apps with App Router, server components, caching, auth, and production patterns.
gemini
LLM one-shot Q&A, summaries, and generation via SkillBoss API Hub.