Security v0.1.0

skillguard

Security auditing for OpenClaw agent skills. Scans skills for dangerous patterns, vulnerable dependencies, and...

jonathanliu811026 更新于 2026-04-08 1 浏览
下载 SKILL

技能说明

Security auditing for OpenClaw agent skills. Scans skills for dangerous patterns, vulnerable dependencies, and suspicious behaviors before installation.

使用场景

Security scanner for OpenClaw agent skills.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/skillguard
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 20 kB
SKILL.md text/markdown
---
name: skillguard
description: |
  Security auditing for OpenClaw agent skills. Scans skills for dangerous patterns, 
  vulnerable dependencies, and suspicious behaviors before installation.
metadata:
  openclaw:
    emoji: "🛡️"
    category: security
    tags: [security, audit, safety, scanner]
    version: "0.3.0"
---

# SkillGuard

Security scanner for OpenClaw agent skills.

## What It Does

SkillGuard audits agent skills from ClawHub before you install them, detecting:
- Dangerous code patterns (command injection, eval usage)
- File system access risks
- Network call vulnerabilities  
- Suspicious shell commands
- Known vulnerable dependencies

## Usage

### CLI

```bash
# Audit by skill name
npx skillguard-audit --name <skill-slug>

# Audit local skill folder
npx skillguard-audit --path ./my-skill
```

### API Server

```bash
# Start the API server
npx skillguard-audit serve --port 3402

# Audit via API
curl -X POST http://localhost:3402/api/audit -d '{"name": "some-skill"}'
```

## Verdict

| Rating | Meaning |
|--------|---------|
| 🟢 SAFE | No significant security issues |
| 🟡 CAUTION | Potential risks, review recommended |
| 🔴 DANGEROUS | High-risk patterns, do not install |

## Integration

See [CLAWHUB_INTEGRATION.md](./CLAWHUB_INTEGRATION.md) for ClawHub integration patterns.

## Example Output

```json
{
  "skill": "some-skill",
  "verdict": "CAUTION",
  "score": 65,
  "risks": [
    {"type": "shell_command", "severity": "medium", "file": "index.js", "line": 42}
  ]
}
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。