# Send AI Shield — OpenClaw Security Audit to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-shield-audit",
    "name": "AI Shield — OpenClaw Security Audit",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/LaurentAIA/ai-shield-audit",
    "canonicalUrl": "https://clawhub.ai/LaurentAIA/ai-shield-audit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ai-shield-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-shield-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "bin/shield.js",
      "package.json",
      "scripts/shield-audit.sh",
      "src/audit.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ai-shield-audit",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T23:49:49.113Z",
      "expiresAt": "2026-04-30T23:49:49.113Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-shield-audit",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-shield-audit",
        "contentDisposition": "attachment; filename=\"ai-shield-audit-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ai-shield-audit"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-shield-audit"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-shield-audit",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-shield-audit",
    "agentUrl": "https://openagent3.xyz/skills/ai-shield-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-shield-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-shield-audit/agent.md"
  }
}
```
## Documentation

### OpenClaw Shield — Security Audit

Audit any OpenClaw config for security vulnerabilities, misconfigurations, and best-practice violations. Produces a structured JSON report with risk scores, findings, and remediation steps.

### When to Use

User asks to check/audit/review their OpenClaw security
User wants to harden their config before deploying
User is setting up a new OpenClaw instance
User asks about secret leakage or API key exposure in their config
Before publishing or sharing any config file

### Quick Audit (live config)

node scripts/shield-audit.sh

Or directly:

node SKILL_DIR/bin/shield.js audit ~/.openclaw/openclaw.json --summary

### What It Checks (11 categories)

Gateway Auth — missing/weak auth, insecure UI settings
Network Exposure — bind address, Tailscale funnel, wildcard proxies
Channel Security — wildcard allowFrom, missing allowlists
DM Policy — open DM policy without pairing
Subagent Permissions — wildcard allowAgents, circular delegation chains, self-delegation
Tool Permissions — over-privileged agents with tools.profile: "full"
Secret Leakage — API keys, tokens, private keys in plaintext config
Sandbox/Execution — missing workspace isolation, no execution policies
Plugin Config — enabled plugins without channel config
Heartbeat Exposure — sensitive data in heartbeat prompts
Remote Config — unencrypted WebSocket, exposed remote URLs/tokens

### Audit a config file

node SKILL_DIR/bin/shield.js audit <config.json>
node SKILL_DIR/bin/shield.js audit <config.json> --summary   # human-readable

### Audit from stdin

cat config.json | node SKILL_DIR/bin/shield.js audit --stdin

### Sanitize a config (strip secrets)

node SKILL_DIR/bin/shield.js sanitize <config.json>

### Programmatic use

const { auditConfig } = require('SKILL_DIR/src/audit');
const config = require('./openclaw.json');
const report = auditConfig(config);
console.log(report.risk_level);      // "CRITICAL" | "HIGH" | "MEDIUM" | "LOW"
console.log(report.overall_score);   // 0-100
console.log(report.vulnerabilities); // detailed findings

### Output

Returns JSON with: risk_level, overall_score (0-100), vulnerabilities[], vulnerability_count, best_practices_compliance, action_recommended, safe_to_deploy, audit_timestamp.

### Workflow for Agent

Load the user's config: cat ~/.openclaw/openclaw.json
Run: node SKILL_DIR/bin/shield.js audit ~/.openclaw/openclaw.json --summary
Present findings to user with prioritized recommendations
Offer to sanitize before sharing: node SKILL_DIR/bin/shield.js sanitize <file>
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: LaurentAIA
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-23T23:49:49.113Z
- Expires at: 2026-04-30T23:49:49.113Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ai-shield-audit)
- [Send to Agent page](https://openagent3.xyz/skills/ai-shield-audit/agent)
- [JSON manifest](https://openagent3.xyz/skills/ai-shield-audit/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ai-shield-audit/agent.md)
- [Download page](https://openagent3.xyz/downloads/ai-shield-audit)