← 返回
安全合规 中文

Scan Skill

Deep security analysis of an individual skill before installation
安装前对单个技能进行深度安全分析
itsnishi
安全合规 clawhub v1.1.1 2 版本 99948.2 Key: 无需
★ 0
Stars
📥 1,929
下载
💾 16
安装
2
版本
#latest#security

概述

scan-skill -- Individual Skill Analyzer

Perform deep security analysis of a single skill directory before installation. Checks for all known injection techniques from AI agent security research.

What to do

Run the scanner against the target skill directory:

python3 "$SKILL_DIR/scripts/scan_skill.py" "$ARGUMENTS"

Where $ARGUMENTS is the path to the skill directory to analyze.

If no argument is provided, prompt the user for the path to the skill they want to scan.

What it checks

  • SKILL.md frontmatter analysis (dangerous field combinations, hidden skills, pre-approved tools)
  • Hidden HTML comments with imperative instructions
  • Shell command patterns (remote-code-pipe-to-shell, encoded payloads)
  • Description persistence triggers (forced repeated execution keywords)
  • Supporting files analysis (scripts/ directory contents, executable permissions)
  • Dynamic context injection (preprocessor command execution)
  • Encoding and obfuscation (base64, hex, zero-width characters)
  • Instruction override attempts (context manipulation, role impersonation)

Output

Structured report with severity-ranked findings and specific recommendations per finding. Includes frontmatter analysis summary and supporting file inventory.

When to use

  • Before installing a skill from a public repository or marketplace
  • When reviewing a skill contributed by an external party
  • As part of security review before adding skills to your agent configuration

Advisory hooks

The repository's .claude/settings.json includes PreToolUse hooks that warn on

dangerous Bash and Write operations. These hooks are advisory only -- they

produce warnings but do not block execution.

  • scan-skill is the detection layer for individual skill threats
  • The hooks provide supplementary runtime warnings during agent operation
  • To enforce blocking, hooks must return {"decision": "block"}

instead of warning messages

版本历史

共 2 个版本

  • v1.1.1 当前
    2026-04-30 11:16 安全 安全
  • v1.0.0
    2026-03-28 21:23 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,607
security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,169
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,720