← 返回 Skills 市场
epwhesq

OpenClaw Skill Scanner

作者 epwhesq · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1760
总下载
1
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-skill-scanner
功能描述
Scans ClawHub skills for malicious patterns like payloads, reverse shells, data leaks, and crypto miners before and after installation.
安全使用建议
This package is a local scanner + safe-install wrapper and appears coherent with that purpose. Before installing or using it: 1) Review whitelist.json (it contains local whitelist/blacklist decisions and will block blacklisted slugs). 2) Ensure you trust the openclaw CLI used to download skills (install-hook.sh delegates downloading to that tool). 3) Understand the scanner is regex-based and can produce false positives (it will flag common patterns like subprocess/os.system, long base64 strings, and network calls). 4) Because install-hook.sh copies files into ~/.openclaw/workspace/skills, run it in a sandbox or inspect scan reports before allowing suspicious installs. 5) If you need higher assurance, audit the remainder of scanner.py for any outbound network calls (none were found in the provided fragments) and run scans on known-good samples to calibrate false positive rates.
功能分析
Type: OpenClaw Skill Name: openclaw-skill-scanner Version: 1.0.0 This skill bundle is a security scanner designed to detect malicious patterns in other OpenClaw skills. The `SKILL.md` clearly outlines its purpose and the types of threats it identifies (e.g., reverse shells, data exfiltration, base64 payloads), without instructing the agent to perform these actions. The `install-hook.sh` script safely downloads skills to a temporary directory using `openclaw hub install` and then invokes `scanner.py` for analysis before installation. The `scanner.py` itself contains the detection logic, including comprehensive regex patterns for various malicious activities, and explicitly avoids flagging its own code. All actions, including file system operations and subprocess calls, are consistent with the legitimate function of a security tool.
能力评估
Purpose & Capability
Name/description (skill scanner) align with the provided files: scanner.py implements regex-based detection and install-hook.sh wraps a pre-install scan + safe installation. There are no unrelated required binaries or external credentials requested.
Instruction Scope
SKILL.md and install-hook.sh instruct the agent to download a skill (via the openclaw CLI), scan the downloaded files with scanner.py, then copy the skill into ~/.openclaw/workspace/skills based on the risk score. The script reads only the local whitelist.json and the downloaded skill files; it does not attempt to read unrelated system config or environment variables beyond $HOME. Behavior stays within the scanner/install scope.
Install Mechanism
No install spec (instruction-only with helper scripts). All code is shipped with the skill; there are no external archive downloads in the skill itself. The only network action is delegated to the user's openclaw CLI (used to fetch skills), which is expected for a pre-install scanner.
Credentials
The skill requires no environment variables, no credentials, and only references local paths (its own directory and the user's ~/.openclaw workspace). This is proportionate to its purpose. It does rely on the presence of python3 and the openclaw CLI to fetch remote skills (both are reasonable requirements).
Persistence & Privilege
The installer copies scanned skills into ~/.openclaw/workspace/skills — appropriate for an install hook but worth noting because it will modify the user's skill directory. always:false (no forced global inclusion) and the skill does not try to modify other skills' config. Blacklist entries in whitelist.json are enforced locally and cannot be overridden by --force.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-skill-scanner
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-skill-scanner 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 26 detection patterns, pre-install hooks, blacklist/whitelist, risk scoring. Built after discovering trojanized moltbook-* skills on ClawHub.
元数据
Slug openclaw-skill-scanner
版本 1.0.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

OpenClaw Skill Scanner 是什么?

Scans ClawHub skills for malicious patterns like payloads, reverse shells, data leaks, and crypto miners before and after installation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1760 次。

如何安装 OpenClaw Skill Scanner?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-skill-scanner」即可一键安装,无需额外配置。

OpenClaw Skill Scanner 是免费的吗?

是的,OpenClaw Skill Scanner 完全免费(开源免费),可自由下载、安装和使用。

OpenClaw Skill Scanner 支持哪些平台?

OpenClaw Skill Scanner 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenClaw Skill Scanner?

由 epwhesq(@epwhesq)开发并维护,当前版本 v1.0.0。

💬 留言讨论