360 Secure SkillHub
360 安全技能中心

Skillguard

该技能提供 Bash 脚本,按技能名或本地文件路径获取技能源码,发送到 SkillGuard 外部审计 API,返回 verdict、riskScore 与 threats 列表,用于安装前的安全风险判断;源码会完整外传,需联网。

jonathanliu811026
jonathanliu811026
热度 79.67
最近更新 2026-05-17 12:13:31
分类:安全依赖:代码执行 / 第三方 API / 读写文件应用场景:代码审查 / 工作流 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add skillguard-audit
Metadata
name
skillguard
description
Audit OpenClaw skills for security risks before installation via SkillGuard API.
homepage
https://api.agentsouls.io
metadata
{"openclaw":{"emoji":"🛡️","requires":{"bins":["curl","jq","clawhub"]}}}

SkillGuard

Audit any OpenClaw skill for security risks before you install it.

Calls the SkillGuard API (https://api.agentsouls.io/api/audit) and returns a verdict, risk score, and threat list.

Usage

Audit a skill from ClawHub by name

bash skills/skillguard/audit.sh --name <skill-slug>

This uses clawhub inspect --file to pull the skill's SKILL.md (and any scripts), then sends the code to the audit API.

Audit a local file

bash skills/skillguard/audit.sh --code <path-to-file>

Reads the file and sends its contents for audit.

Output

Returns JSON with:

  • verdict: SAFE | CAUTION | DANGEROUS
  • riskScore: 0–100
  • threats: list of identified risks

Example:

{
  "verdict": "CAUTION",
  "riskScore": 35,
  "threats": ["Executes arbitrary shell commands", "Accesses network without disclosure"]
}

When to use

Before installing any new skill, run:

bash skills/skillguard/audit.sh --name <skill-name>

If verdict is DANGEROUS, do not install. If CAUTION, review the threats and decide with the user.

Privacy Notice

⚠️ Data transmission: When you run an audit, the full source code of the skill is sent to the SkillGuard API (https://api.agentsouls.io) for analysis. No code is stored permanently — it is analyzed in-memory and discarded after the audit completes. The API returns only the verdict, risk score, and detected threats.

If you prefer not to send code to an external service, you can self-host the SkillGuard audit engine (contact us for details) or review skill code manually.