audit-openclaw-security
БесплатноБез исполняемых скриптовНе проверенAudit and harden OpenClaw deployments and interpret `openclaw security audit` findings. Use when the user wants to secure OpenClaw, review gateway…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
audit-openclaw-security
Run a defensive, permissioned security audit of an OpenClaw deployment and turn the results into a practical remediation plan.
This revision is tuned for OpenClaw 2026.3.8 and uses {baseDir} when referencing bundled scripts from commands.
Guardrails
- Only audit systems the user owns or has explicit permission to assess.
- Never ask for raw secrets. Do not request gateway tokens/passwords, model API keys, session cookies, OAuth creds, or raw credential files.
- Prefer outputs that are designed to be shareable or redacted:
openclaw status --allopenclaw status --deepopenclaw gateway probe --jsonopenclaw security audit --jsonopenclaw security audit --deep --json
- Treat the Gateway, Control UI, browser control, paired nodes, and automation surfaces as operator-level access.
- Default to audit-only. Before any config edits,
--fixoperations, firewall changes, or restarts, create a backup first and get explicit user approval. - When the user wants remediation, make the backup step explicit:
openclaw backup create --verify- use
--no-include-workspaceif the config is invalid but you still need state + creds - use
--only-configif the user only wants a minimal safety copy before edits
What “good” looks like
- Gateway is bound to loopback unless there is a deliberate, defended reason not to.
- Strong Gateway auth is enabled.
- No accidental public exposure (LAN bind, port-forward, permissive reverse proxy, Tailscale Funnel).
- Control UI is either localhost/Serve or explicitly origin-restricted behind a trusted proxy.
- DMs require pairing or strict allowlists.
- Groups require mention gating and are not open if broad tools are enabled.
session.dmScopeis isolated appropriately:per-channel-peerfor most multi-user setupsper-account-channel-peerwhen the same provider runs multiple accounts
- Tooling is least privilege:
tools.profile: "messaging"or stricter for inbox-facing agents- deny
group:runtime,group:fs,group:automationon untrusted surfaces tools.fs.workspaceOnly: truetools.exec.security: "deny"or at least approval-gatedtools.elevated.enabled: falseunless there is a narrow, intentional need
- Plugins and skills are explicitly trusted, minimally writable, and not used as an easy persistence path.
- Secrets, transcripts, and logs have tight permissions and an intentional retention plan.
Use the bundled files progressively
Only open the extra files you need for the task:
references/command-cheatsheet.md— exact command laddersreferences/openclaw-audit-checks.md— current high-signalcheckIdglossaryreferences/openclaw-baseline-config.md— secure baseline snippetsreferences/platform-mac-mini.mdreferences/platform-personal-laptop.mdreferences/platform-docker.mdreferences/platform-aws-ec2.mdassets/report-template.md— report structure
Step 0 — Establish context quickly
Collect just enough context to choose the audit path:
- Where is OpenClaw running?
- macOS host / Mac mini
- personal laptop
- Docker host
- EC2 / VPS / other cloud VM
- Install style?
- native install
- Docker / Compose
- source checkout
- Do we have local shell access?
- Mode A: chat-only / user runs commands
- Mode B: agent can run shell commands directly
Mode A — Assisted self-audit (chat-only)
Ask the user to run the following on the OpenClaw host and share the outputs.
Minimum audit set
openclaw --version
openclaw status --all
openclaw status --deep
openclaw gateway status
openclaw gateway probe --json
openclaw channels status --probe
openclaw doctor
openclaw security audit --json
openclaw security audit --deep --json
Helpful extras
openclaw health --json
openclaw backup create --dry-run --json
openclaw backup create --only-config --dry-run --json
openclaw skills list --eligible --json
openclaw plugins list --json
Safe targeted config reads
Prefer targeted reads over a full config dump:
openclaw config get gateway.bind
openclaw config get gateway.auth.mode
openclaw config get gateway.auth.allowTailscale
openclaw config get gateway.controlUi.allowedOrigins
openclaw config get gateway.trustedProxies
openclaw config get gateway.allowRealIpFallback
openclaw config get discovery.mdns.mode
openclaw config get session.dmScope
openclaw config get tools.profile
openclaw config get tools.fs.workspaceOnly
openclaw config get tools.exec.security
openclaw config get tools.elevated.enabled
openclaw config get channels.defaults.dmPolicy
openclaw config get channels.defaults.groupPolicy
openclaw config get logging.redactSensitive
DM / group follow-up checks
If the issue is “the bot is online but DMs or groups behave strangely”, check pairing and mention gating:
openclaw pairing list <channel>
Установить audit-openclaw-security в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл audit-openclaw-security?
Audit and harden OpenClaw deployments and interpret `openclaw security audit` findings. Use when the user wants to secure OpenClaw, review gateway exposure/auth/reverse proxies/Tailscale Serve or Funnel, check DM/group access (pairing, allowlists, mention gating, `session.dmScope`), minimise tool permissions and sandboxing, review plugins/skills/secrets/transcripts/log retention, or lock down Docker/macOS/laptop/EC2 installs. Not for generic OS, Docker, or cloud hardening unrelated to OpenClaw.
Как установить скилл audit-openclaw-security?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audit-openclaw-security запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub