
Openclaw Deployment Hardening
- 70 installs
- 44 repo stars
- Updated May 22, 2026
- bagelhole/devops-security-agent-skills
OpenClaw Deployment Hardening is a Claude Code skill that adds security gates and runtime lockdown around OpenClaw build and deployment pipelines.
About
OpenClaw Deployment Hardening adds repeatable security gates around OpenClaw build and deployment workflows. A developer uses it to enforce dependency and image scans, secret scanning, SBOM generation, and artifact signing before promotion, then lock down container and Kubernetes runtime settings. It also defines post-deploy verification and an incident-ready rollback path.
- 5-step secure CI build pipeline with scan, SBOM, and signing gates
- Container and Kubernetes runtime lockdown (non-root, read-only FS, drop capabilities)
- Post-deploy hardening smoke test plus incident rollback pattern
Openclaw Deployment Hardening by the numbers
- 70 all-time installs (skills.sh)
- Ranked #1,182 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
openclaw-deployment-hardening capabilities & compatibility
- Capabilities
- container hardening · kubernetes hardening · sbom supply chain · security audit
- Works with
- docker · kubernetes
- Use cases
- ci cd · security audit · devops
What openclaw-deployment-hardening says it does
Add mandatory controls to CI before artifacts are promoted:
Run OpenClaw with restrictive defaults:
Avoid mutable `latest` tags for production OpenClaw services.
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill openclaw-deployment-hardeningAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 70 |
|---|---|
| repo stars | ★ 44 |
| Last updated | May 22, 2026 |
| Repository | bagelhole/devops-security-agent-skills ↗ |
What it does
Add security gates to CI/CD so OpenClaw is scanned, signed, and hardened before it reaches production.
Who is it for?
Teams shipping OpenClaw via Docker, Kubernetes, or automated release pipelines that need enforced security gates.
When should I use this skill?
When shipping OpenClaw with Docker, Kubernetes, or automated release pipelines.
What you get
A build and deploy pipeline that blocks on failed security controls and runs OpenClaw with least-privilege runtime settings.
- Secured CI build pipeline
- Hardened container/Kubernetes runtime config
- Post-deploy verification checklist
By the numbers
- 5-step secure build pipeline
- 5-step incident rollback workflow
Files
OpenClaw Deployment Hardening
Use this skill to add repeatable security gates around OpenClaw build and deployment workflows.
Enforce a Secure Build Pipeline
Add mandatory controls to CI before artifacts are promoted:
1. Dependency and lockfile vulnerability scan (fail on critical CVEs). 2. Image scan for OS/package vulnerabilities. 3. Secret scanning across source and build context. 4. SBOM generation and artifact signing. 5. Policy check that blocks deploy when controls fail.
Example CI step order:
# Build
npm ci
npm run build
# Security gates
trivy fs .
trivy image my-registry/openclaw:${GIT_SHA}
syft my-registry/openclaw:${GIT_SHA} -o spdx-json > sbom.json
cosign sign --key cosign.key my-registry/openclaw:${GIT_SHA}Lock Down Container Runtime
Run OpenClaw with restrictive defaults:
- Non-root user in container
- Read-only root filesystem where possible
- Drop all Linux capabilities, add back only required
no-new-privilegesenabled- Constrained CPU/memory limits to reduce abuse impact
- Seccomp/AppArmor (or equivalent) profile enforced
Kubernetes-oriented expectations:
runAsNonRoot: trueallowPrivilegeEscalation: falsereadOnlyRootFilesystem: true- network policy deny-all baseline with explicit allow rules
Gate Production Promotion
Require explicit promotion checks:
- Security sign-off on CVE exceptions.
- Signed artifact verification in deployment stage.
- Drift check between expected and live manifest values.
- Deployment only from immutable tags or digests.
Avoid mutable latest tags for production OpenClaw services.
Protect Data and Session Surfaces
- Minimize prompt/response retention by policy.
- Mask secrets and PII in logs before shipping to SIEM.
- Encrypt persistent volumes and backups.
- Isolate tenant/session data boundaries when serving multiple teams.
Post-Deploy Verification
Run a hardening smoke test immediately after rollout:
kubectl get pods -n openclaw
kubectl auth can-i --as=system:serviceaccount:openclaw:default list secrets -n openclaw
kubectl get networkpolicy -n openclaw
kubectl logs deploy/openclaw -n openclaw --tail=200Verify:
- Pod security context matches policy.
- Service account permissions are least privilege.
- Ingress auth/rate limits are effective.
- No plaintext secrets appear in logs.
Incident-Ready Rollback Pattern
Maintain a hardened rollback workflow:
1. Freeze further rollouts. 2. Revoke suspect tokens and rotate secrets. 3. Roll back to last signed known-good image digest. 4. Re-run post-deploy hardening verification. 5. Capture timeline and artifacts for forensics.
Related Skills
- container-hardening - Container security baseline controls
- kubernetes-hardening - Pod and cluster hardening patterns
- sbom-supply-chain - SBOM, signing, and provenance controls