據 AlphaMoat 統計,截至 2026-09,Security Audit (Sona) 累計下載 3,865 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 2,696 位,在「運維安全」分類(264 個)中排名第 161 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 119 | 3617 | 1 | - |
| SkillHub ↗ | 118 | 3865 | 1 | — |
各平台的計數口徑不同,站內彙總取各平台中的較大值,不相加。
結合憑據洩露掃描、靜態分析和提示注入、持久化與依賴訊號檢查,輸出 JSON 審計結果。文件規定任一層失敗則整體失敗,Docker 執行沙箱為可選流程。
資料釋出於 2026-10-26
以下是根據技能文件生成的示例,不代表實際執行結果。
依據技能文件中的宣告整理,未經實際安裝或執行驗證。
OPENCLAW_AUDIT_LEVELjqtrufflehogsemgreppython3OPENCLAW_AUDIT_LEVEL 選擇審計嚴格度。2026-09 起為新口徑(全目錄統計);此前為舊口徑(只統計安裝量為正的技能、同名技能合併計數)。兩段不可直接比較,圖中不跨口徑連線,也不計算跨口徑的增長。
| 月份 | 累計下載 | 環比 | 星標 | 累計安裝 |
|---|---|---|---|---|
| 2026-09 | 3865 | — | 1 | 119 |
| 2026-08舊口徑 | 3566 | +4.2% | 1 | 119 |
| 2026-07舊口徑 | 3422 | +8.6% | 1 | 118 |
| 2026-06舊口徑 | 3150 | +4.1% | 1 | 118 |
| 2026-05舊口徑 | 3026 | — | 1 | 108 |
| 2026-03舊口徑 | 2530 | — | 1 | 99 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 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
在使用技能包之前做安全掃描,並按結論決定放行或攔截的技能。
管理OpenClaw的OpenRouter免費AI模型,自動按質量排名模型,配置速率限制備用方案,並更新opencla...
備份與恢復 OpenClaw 配置、憑據與工作區的技能。
設定和使用 1Password CLI (op)。適用於:安裝 CLI、啟用桌面應用整合、登入(單/多帳戶)、透過 op 讀取/注入/執行金鑰。
MoltGuard — OpenClaw 安全守衛,由 OpenGuardrails 提供。安裝後可防止您和您的使用者受到提示注入、資料洩露及惡意行為的侵害。
遠端控制 tmux 會話,向互動式命令列傳送按鍵並抓取輸出。
用於程式碼安全漏洞審查、身份驗證流程實現、OWASP Top 10審計、CORS/CSP 頭部配置、金鑰處理、輸入驗證、SQL 注入防護、XSS 防護及其他安全相關程式碼審查。
騰訊雲物件儲存(COS)和資料永珍(CI)整合技能。覆蓋檔案儲存管理、AI處理和知識庫三大核心場景。 儲存場景:上傳檔案到雲端、下載雲端檔案、批次管理儲存桶檔案、獲取檔案簽名連結分享、檢視檔案元資訊。 圖片處理場景:圖片質量評估打分、AI超解析度放大、AI智慧裁剪、二維碼/條形碼識別、新增文字水印、獲取圖片EXI...
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。