According to AlphaMoat, as of 2026-09, Security Audit (Sona) has 3,865 downloads and 1 stars — ranked #2,696 of 5,078 AI skills overall, and #161 of 264 in IT Ops & Security.
| Platform | Installs | Downloads | Stars | Comments |
|---|---|---|---|---|
| ClawHub ↗ | 119 | 3.6K | 1 | - |
| SkillHub ↗ | 118 | 3.9K | 1 | — |
Platforms count differently. AlphaMoat’s totals use the higher figure across platforms, not the sum.
Combines secret scanning, static analysis and checks for injection, persistence and dependency signals, returning JSON. The source fails the whole audit if a layer fails; Docker execution sandboxing is optional.
Profile published 2026-10-26
Generated from the skill’s documentation as examples; not results of actual runs.
Compiled from what the skill’s documentation declares; not verified by installing or running it.
OPENCLAW_AUDIT_LEVELjqtrufflehogsemgreppython3OPENCLAW_AUDIT_LEVEL to select audit strictness.From 2026-09 the figures use the current method (full catalog). Earlier months use the legacy method (only skills with installs, same-name skills merged). The two are not directly comparable, so the chart does not connect them or compute growth across them.
| Month | Downloads | MoM | Stars | Installs |
|---|---|---|---|---|
| 2026-09 | 3.9K | — | 1 | 119 |
| 2026-08Legacy method | 3.6K | +4.2% | 1 | 119 |
| 2026-07Legacy method | 3.4K | +8.6% | 1 | 118 |
| 2026-06Legacy method | 3.1K | +4.1% | 1 | 118 |
| 2026-05Legacy method | 3.0K | — | 1 | 108 |
| 2026-03Legacy method | 2.5K | — | 1 | 99 |
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
---
name: security-audit
description: "Fail-closed security auditing for OpenClaw/ClawHub skills & repos: trufflehog secrets scanning, semgrep SAST, prompt-injection/persistence signals, and supply-chain hygiene checks before enabling or installing."
metadata: {"openclaw":{"emoji":"🛡️","requires":{"bins":["jq","trufflehog","semgrep","python3"]},"install":[{"id":"apt-jq","kind":"apt","package":"jq","bins":["jq"],"label":"Install jq (apt)"},{"id":"apt-ghog","kind":"apt","package":"python3","bins":["python3"],"label":"Install Python 3 (apt)"},{"id":"apt-trufflehog","kind":"apt","package":"trufflehog","bins":["trufflehog"],"label":"Install trufflehog (apt)"},{"id":"pipx-semgrep","kind":"shell","label":"Install semgrep (pipx)","command":"python3 -m pip install --user pipx && python3 -m pipx ensurepath && pipx install semgrep"},{"id":"brew-jq","kind":"brew","formula":"jq","bins":["jq"],"label":"Install jq (brew)"},{"id":"brew-trufflehog","kind":"brew","formula":"trufflehog","bins":["trufflehog"],"label":"Install trufflehog (brew)"},{"id":"brew-semgrep","kind":"brew","formula":"semgrep","bins":["semgrep"],"label":"Install semgrep (brew)"}]}}
---
# security-audit
A hostile-by-design, **fail-closed** audit workflow for codebases and OpenClaw/ClawHub skills.
It does **not** try to answer “does this skill work?”.
It tries to answer: **“can this skill betray the system?”**
## What it checks (high level)
This skill’s scripts combine multiple layers:
- **Secrets / credential leakage:** trufflehog
- **Static analysis:** semgrep (auto rules)
- **Hostile repo audit (custom):** prompt-injection signals, persistence mechanisms, suspicious artifacts, dependency hygiene
If any layer fails, the overall audit is **FAIL**.
## Run an audit (JSON)
From this skill folder (use `bash` so it works even if executable bits were not preserved by a zip download):
```bash
bash scripts/run_audit_json.sh <path>
```
Example:
```bash
bash scripts/run_audit_json.sh . > /tmp/audit.json
jq '.ok, .tools' /tmp/audit.json
```
### Security levels (user configurable)
Set the strictness level (default: `standard`):
```bash
OPENCLAW_AUDIT_LEVEL=standard bash scripts/run_audit_json.sh <path>
OPENCLAW_AUDIT_LEVEL=strict bash scripts/run_audit_json.sh <path>
OPENCLAW_AUDIT_LEVEL=paranoid bash scripts/run_audit_json.sh <path>
```
- `standard`: pragmatic strict defaults (lockfiles required; install hooks/persistence/prompt-injection signals fail)
- `strict`: more patterns become hard FAIL (e.g. minified/obfuscation artifacts)
- `paranoid`: no "best-effort" hashing failures; more fail-closed behavior
## Manifest requirement (for zero-trust install workflows)
For strict/quarantine workflows, require a machine-readable intent/permissions manifest at repo root:
- `openclaw-skill.json`
If a repo/skill does not provide this manifest, the hostile audit should treat it as **FAIL**.
See: `docs/OPENCLAW_SKILL_MANIFEST_SCHEMA.md`.
## Optional: execution sandbox (Docker)
Docker is **optional** here. This skill can be used for static auditing without Docker.
If you want to execute any generated/untrusted code, run it in a separate sandbox workflow (recommended).
## Files
- `scripts/run_audit_json.sh` — main JSON audit runner
- `scripts/hostile_audit.py` — prompt-injection/persistence/dependency hygiene scanner
- `scripts/security_audit.sh` — convenience wrapper (always returns JSON, never non-zero)
- `openclaw-skill.json` — machine-readable intent/permissions manifest
Scans skill packages for risk before use and gates installation on the verdict.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
A skill that backs up and restores OpenClaw configuration, credentials, and workspace.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
MoltGuard — OpenClaw security guard by OpenGuardrails. Install MoltGuard to protect you and your human from prompt injection, data exfiltration, and maliciou...
Remote-controls tmux sessions by sending keystrokes to interactive CLIs and scraping pane output.
Use when reviewing code for security vulnerabilities, implementing authentication flows, auditing OWASP Top 10, configuring CORS/CSP headers, handling secrets, input validation, SQL injection prevention, XSS protection, or any security-related code review.
腾讯云对象存储(COS)和数据万象(CI)集成技能。覆盖文件存储管理、AI处理和知识库三大核心场景。 存储场景:上传文件到云端、下载云端文件、批量管理存储桶文件、获取文件签名链接分享、查看文件元信息。 图片处理场景:图片质量评估打分、AI超分辨率放大、AI智能裁剪、二维码/条形码识别、添加文字水印、获取图片EXI...
Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.