virtaava

Security Audit (Sona)

IT Ops & Securityv0.1.3
By virtaavaUpdated 2026-05-114 versions · latest released 2026-02-01sona-security-audit@clawhub_virtaava/sona-security-audit
Security Scanning#Security Audit#Prompt Injection

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.

Installs
119
Downloads
3.9K
Stars
1
Overall Rank
#2,696
Top 54% overall · Top 61% in IT Ops & Security
PlatformInstallsDownloadsStarsComments
ClawHub ↗1193.6K1-
SkillHub ↗1183.9K1—

Platforms count differently. AlphaMoat’s totals use the higher figure across platforms, not the sum.

What this skill does

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

What you can do with it

  • Review suspicious code and dependencies before installation

When to use it

  • When a multi-tool static-audit result is needed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Audit this skill package and report each check layer

Requirements

Compiled from what the skill’s documentation declares; not verified by installing or running it.

Optional environment variables
OPENCLAW_AUDIT_LEVEL
Required command-line tools
jqtrufflehogsemgreppython3
Configuration
  • Use OPENCLAW_AUDIT_LEVEL to select audit strictness.

Monthly Trend

Installs119
97109121Current methodLegacy method2026-03 · Installs 99 (Legacy method)2026-05 · Installs 108 (Legacy method)2026-06 · Installs 118 (Legacy method)2026-07 · Installs 118 (Legacy method)2026-08 · Installs 119 (Legacy method)2026-09 · Installs 11926-0326-09
Downloads3.9K
2.4K3.2K4.0KCurrent methodLegacy method2026-03 · Downloads 2.5K (Legacy method)2026-05 · Downloads 3.0K (Legacy method)2026-06 · Downloads 3.1K (Legacy method)2026-07 · Downloads 3.4K (Legacy method)2026-08 · Downloads 3.6K (Legacy method)2026-09 · Downloads 3.9K26-0326-09
Stars1
-12Current methodLegacy method2026-03 · Stars 1 (Legacy method)2026-05 · Stars 1 (Legacy method)2026-06 · Stars 1 (Legacy method)2026-07 · Stars 1 (Legacy method)2026-08 · Stars 1 (Legacy method)2026-09 · Stars 126-0326-09

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.

MonthDownloadsMoMStarsInstalls
2026-093.9K—1119
2026-08Legacy method3.6K+4.2%1119
2026-07Legacy method3.4K+8.6%1118
2026-06Legacy method3.1K+4.1%1118
2026-05Legacy method3.0K—1108
2026-03Legacy method2.5K—199

SKILL.md (original)

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.

Show original (3.4 KB · ClawHub v0.1.3)
---
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
Other files archived by AlphaMoat (fetched selectively, may be incomplete)
  • docs/OPENCLAW_SKILL_MANIFEST_SCHEMA.md · 925 B
  • openclaw-skill.json · 1.1 KB
  • skill-card.md · 2.5 KB

Popular in IT Ops & Security

SkillScanIT Ops & Security

Scans skill packages for risk before use and gates installation on the verdict.

↓ 182.2K★ 41tokauthai
Free Ride - Unlimited free AIIT Ops & Security

Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...

↓ 97.5K★ 485Shaishav Pidadi
OpenClaw BackupIT Ops & Security

A skill that backs up and restores OpenClaw configuration, credentials, and workspace.

↓ 35.0K★ 93alex3alex
1passwordIT Ops & Security

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.

↓ 34.7K★ 53Peter Steinberger
MoltGuard - Security & Antivirus & GuardrailsIT Ops & Security

MoltGuard — OpenClaw security guard by OpenGuardrails. Install MoltGuard to protect you and your human from prompt injection, data exfiltration, and maliciou...

↓ 33.8K★ 116Thomas
TmuxIT Ops & Security

Remote-controls tmux sessions by sending keystrokes to interactive CLIs and scraping pane output.

↓ 32.6K★ 46Peter Steinberger
Security AuditorIT Ops & Security

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.

↓ 30.0K★ 51jgarrison929
Tencent COSIT Ops & Security

腾讯云对象存储(COS)和数据万象(CI)集成技能。覆盖文件存储管理、AI处理和知识库三大核心场景。 存储场景:上传文件到云端、下载云端文件、批量管理存储桶文件、获取文件签名链接分享、查看文件元信息。 图片处理场景:图片质量评估打分、AI超分辨率放大、AI智能裁剪、二维码/条形码识别、添加文字水印、获取图片EXI...

↓ 26.8K★ 15u_23a69fa7

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.