skills/openclaw-security/SKILL.md
Enforces OpenClaw security constraints and mandates security audit before every code-change PR. Use when working on OpenClaw projects, before opening a PR, or when configuring or hardening OpenClaw.
npx skillsauth add pkuppens/pkuppens openclaw-securityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enforces the security posture required for OpenClaw. Mandatory for every code-change PR in OpenClaw projects.
Every code-change PR must include a passing OpenClaw security audit. Run before opening the PR:
openclaw security audit --deep
openclaw security audit --fix
Both must complete successfully. Do not bypass. If audit fails, fix issues before integration-commit and integration-pr.
OpenClaw is a hobby project in beta. Expect sharp edges. These constraints apply:
| Control | Requirement |
|---------|-------------|
| Pairing/allowlists | Use pairing and mention gating |
| Multi-user/shared inbox | Split trust boundaries: separate gateway/credentials, ideally separate OS users/hosts |
| Sandbox | Use sandbox + least-privilege tools |
| Shared inboxes | Isolate DM sessions: session.dmScope: per-channel-peer; keep tool access minimal |
| Secrets | Keep secrets out of the agent's reachable filesystem |
| Model choice | Use the strongest available model for any bot with tools or untrusted inboxes |
Run regularly (at least before each PR):
openclaw security audit --deep
openclaw security audit --fix
| Skill | Integration |
|-------|-------------|
| quality-gate | For OpenClaw repos: run openclaw security audit --deep and openclaw security audit --fix as mandatory checks before integration-commit. Report pass/fail in Quality Gate Results. |
| integration-pr | PR checklist must include: security audit passed. Do not open PR until audit passes. |
| integration-commit | Never commit without passing security audit when working on OpenClaw. |
Include in Quality Gate Results when applicable:
## OpenClaw Security Audit
- [x] openclaw security audit --deep — clean
- [x] openclaw security audit --fix — applied
If audit fails, list findings and remediation steps. Block commit/PR until resolved.
Must read: https://docs.openclaw.ai/gateway/security
testing
Syncs remote default branch locally (checkout, fetch --prune, pull) and returns to the previous branch when it still exists. Reports stashes and worktrees not yet handled. Use when the user asks to sync main, update default branch, fetch/pull origin, or run /sync-branch.
tools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.