Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Comprehensive security audit for OpenClaw. Scans 7 domains (runtime, channels, agents, cron, skills, sessions, network), supports 3 expertise levels, context-aware analysis, and visual dashboard. Read-only with localized reports.
Comprehensive security audit for OpenClaw. Scans 7 domains (runtime, channels, agents, cron, skills, sessions, network), supports 3 expertise levels, context-aware analysis, and visual dashboard. Read-only with localized reports.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Comprehensive security audit skill for OpenClaw deployments. Analyzes configuration, permissions, exposure risks, and runtime environment with context-aware recommendations.
secucheck performs read-only security audits of your OpenClaw setup: 7 audit domains: Runtime, Channels, Agents, Cron Jobs, Skills, Sessions, Network 3 expertise levels: Beginner (analogies), Intermediate (technical), Expert (attack vectors) Context-aware: Considers VPN, single-user, self-hosted scenarios Runtime checks: Live system state (network exposure, containers, privileges) Dashboard: Visual HTML report with security score Localized output: Final report matches user's language Never modifies configuration automatically. All fixes require explicit user confirmation.
clawhub install secucheck
Ask your OpenClaw agent: "security audit" "secucheck" "run security check"
When prompted, choose your level: Beginner - Simple analogies, no jargon Intermediate - Technical details, config examples Expert - Attack vectors, edge cases, CVEs All levels run the same checksโonly explanation depth varies.
"show dashboard" / "visual report" Opens an HTML report in your browser.
๐ Security Audit Results ๐ก Needs Attention | Severity | Count | |----------|-------| | ๐ด Critical | 0 | | ๐ High | 0 | | ๐ก Medium | 2 | | ๐ข Low | 3 | ### ๐ก Agent "molty": exec + external content processing ...
๐ Comprehensive: Channels, agents, cron, skills, sessions, network, runtime ๐ค 3 Expertise Levels: Beginner / Intermediate / Expert ๐ Localized: Final report in user's language ๐ฏ Attack Scenarios: Real-world exploitation paths โก Runtime Checks: VPN, containers, privileges, network exposure ๐จ Dashboard: Visual HTML report with security score
Everything below is for the agent executing this skill.
Trigger this skill when: User requests security checkup/audit Auto-trigger: Installing skills, creating/modifying agents, adding/modifying cron jobs Periodic review (recommended: weekly)
LevelIdentifierStyleBeginner1, beginnerAnalogies, simple explanations, no jargonIntermediate2, intermediateTechnical details, config examplesExpert3, expertAttack vectors, edge cases, CVE references
Present options in user's language. Example (English): What level of technical detail do you prefer? 1. ๐ฑ Beginner - I'll explain simply with analogies 2. ๐ป Intermediate - Technical details and config examples 3. ๐ Expert - Include attack vectors and edge cases ๐ All levels run the same checksโonly explanation depth varies. STOP HERE. Wait for user response.
bash ~/.openclaw/skills/secucheck/scripts/full_audit.sh Returns JSON with findings categorized by severity.
After text report, automatically generate and serve dashboard: bash ~/.openclaw/skills/secucheck/scripts/serve_dashboard.sh The script returns JSON with url (LAN IP) and local_url (localhost). Use the url field (not localhost) when telling the user โ they may access from another device. Example: ๐ ๋์๋ณด๋๋ ์ด์์ด์: http://192.168.1.200:8766/secucheck-report.html If running in environment where browser can be opened, use browser tool to open it.
Scripts run on Linux, macOS, and WSL. Check the JSON output for platform info: { "os": "linux", "os_variant": "ubuntu", "in_wsl": false, "in_dsm": false, "failed_checks": ["external_ip"] }
FieldValuesoslinux, macos, windows, unknownos_variantubuntu, arch, dsm, wsl, version stringin_wsltrue if Windows Subsystem for Linuxin_dsmtrue if Synology DSM
If failed_checks array is non-empty, run fallback commands based on platform: Network Info Fallbacks PlatformCommandLinuxip addr show or ifconfigmacOSifconfigWSLip addr show (or check Windows via cmd.exe /c ipconfig)WindowsPowerShell: Get-NetIPAddressDSMifconfig or /sbin/ip addr Gateway Binding Fallbacks PlatformCommandLinuxss -tlnp | grep :18789 or netstat -tlnpmacOSlsof -iTCP:18789 -sTCP:LISTENWindowsPowerShell: Get-NetTCPConnection -LocalPort 18789 File Permissions Fallbacks PlatformCommandLinux/macOSls -la ~/.openclawWindowsPowerShell: Get-Acl $env:USERPROFILE\.openclaw
If os is windows and scripts fail completely: Use PowerShell commands directly: # Network exposure Get-NetTCPConnection -LocalPort 18789 -State Listen # File permissions Get-Acl "$env:USERPROFILE\.openclaw" # Process info Get-Process | Where-Object {$_.Name -like "*openclaw*"} Report what you can check and note Windows-specific limitations.
Some environments lack tools. Check output and supplement: Missing ToolFallbackcurlwget -qO-ssnetstatipifconfig or /sbin/ippgrepps aux | grep
1. Run full_audit.sh 2. Check "failed_checks" in output 3. For each failed check: a. Identify platform from os/os_variant b. Run platform-specific fallback command c. Incorporate results into report 4. Note any checks that couldn't complete
When user requests visual report: bash ~/.openclaw/skills/secucheck/scripts/serve_dashboard.sh Returns: { "status": "ok", "url": "http://localhost:8766/secucheck-report.html", "pid": 12345 } Provide URL directly to user.
Read these only when deep explanation needed: FileDomainchecks/runtime.mdLive system statechecks/channels.mdChannel policieschecks/agents.mdAgent permissionschecks/cron.mdScheduled jobschecks/skills.mdInstalled skillschecks/sessions.mdSession isolationchecks/network.mdNetwork configuration
Use these for expert-level explanations: FileScenarioscenarios/prompt-injection.mdExternal content manipulationscenarios/session-leak.mdCross-session data exposurescenarios/privilege-escalation.mdTool permission abusescenarios/credential-exposure.mdSecret leakagescenarios/unauthorized-access.mdAccess control bypass
๐ด Critical - Immediate action required. Active exploitation possible. ๐ High - Significant risk. Should fix soon. ๐ก Medium - Notable concern. Plan to address. ๐ข Low - Minor issue or best practice recommendation. โช Info - Not a risk, but worth noting.
Tool Permissions Minimal Full โโโโโโโโโโโโฌโโโโโโโโโโโ Exposure โ ๐ข โ ๐ก โ Low โ Safe โ Caution โ โโโโโโโโโโโโผโโโโโโโโโโโค โ ๐ก โ ๐ด โ High โ Caution โ Critical โ โโโโโโโโโโโโดโโโโโโโโโโโ Exposure = Who can talk to the bot (DM policy, group access, public channels) Tool Permissions = What the bot can do (exec, file access, messaging, browser)
Don't just pattern match. Consider context: ContextAdjustmentPrivate channel, 2-3 trusted membersLower risk even with execVPN/Tailscale only accessNetwork exposure less criticalSelf-hosted, single userSession isolation less importantContainerized environmentPrivilege escalation less severe Always ask about environment if unclear.
CRITICAL RULES: Never auto-apply fixes. Always show suggestions first. Warn about functional impact. If a fix might break something, say so. Get explicit user confirmation before any config changes. Example flow: Agent: "Changing this setting will disable exec in #dev channel. If you're using code execution there, it will stop working. Apply this fix?" User: "yes" Agent: [apply fix via gateway config.patch]
Internal processing: Always English Thinking/reasoning: Always English Final user-facing report: Match user's language Technical terms: Keep in English (exec, cron, gateway, etc.)
Invoke automatically when: Skill installation: clawhub install <skill> or manual addition Agent creation/modification: New agent or tool changes Cron job creation/modification: New or modified scheduled tasks For auto-reviews, focus only on changed component unless full audit requested.
User RequestAction"check channels only"Run channels.md check"audit cron jobs"Run cron.md check"full audit"All checks"more detail"Re-run with verbose output
Apply appropriate trust levels: LevelEntityTrust Model1OwnerFull trust โ has all access2AI AgentTrust but verify โ sandboxed, logged3AllowlistsLimited trust โ specified users only4StrangersNo trust โ blocked by default
If compromise suspected:
Stop gateway process Set gateway.bind to loopback (127.0.0.1) Disable risky DM/group policies
Regenerate gateway auth token Rotate browser control tokens Revoke and rotate API keys
Check gateway logs and session transcripts Review recent config changes Re-run full security audit
~/.openclaw/skills/secucheck/ โโโ SKILL.md # This file โโโ skill.json # Package metadata โโโ README.md # User documentation โโโ scripts/ โ โโโ full_audit.sh # Complete audit (JSON output) โ โโโ runtime_check.sh # Live system checks โ โโโ gather_config.sh # Config extraction (redacted) โ โโโ gather_skills.sh # Skill security scan โ โโโ gather_agents.sh # Agent configurations โ โโโ serve_dashboard.sh # Generate + serve HTML report โ โโโ generate_dashboard.sh โโโ dashboard/ โ โโโ template.html # Dashboard template โโโ checks/ โ โโโ runtime.md # Runtime interpretation โ โโโ channels.md # Channel policy checks โ โโโ agents.md # Agent permission checks โ โโโ cron.md # Cron job checks โ โโโ skills.md # Skill safety checks โ โโโ sessions.md # Session isolation โ โโโ network.md # Network exposure โโโ scenarios/ โ โโโ prompt-injection.md โ โโโ session-leak.md โ โโโ privilege-escalation.md โ โโโ credential-exposure.md โ โโโ unauthorized-access.md โโโ templates/ โโโ report.md # Full report template โโโ finding.md # Single finding template โโโ summary.md # Quick summary template
When auditing, consider: Exposure: What network interfaces can reach this agent? Authentication: What verification does each access point require? Isolation: What boundaries exist between agent and host? Trust: What content sources are considered "trusted"? Auditability: What evidence exists of agent's actions? Least Privilege: Does agent have only necessary permissions? Remember: This skill exists to make OpenClaw self-aware of its security posture. Use regularly, extend as needed, never skip the audit.
Identity, auth, scanning, governance, audit, and operational guardrails.
Largest current source with strong distribution and engagement signals.