← 返回 Skills 市场
lanew197894fun-cmd

Skill Gatekeeper

作者 lanew197894fun-cmd · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
211
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install skill-gatekeeper
功能描述
技能門禁系統 - 自動審核、沙盒測試、安全放行
安全使用建议
This skill implements the advertised audit/sandbox flow, but review the code before installing. Specific concerns: (1) gatekeeper.ts executes an external installer via child_process.execSync using a hard-coded Windows path (C:/Users/ReaMasTer/...), which is unusual and may run arbitrary code on installation — ask the author why this path is used or remove/replace it with a platform-appropriate installer call. (2) The script uses cpSync and rmSync to copy and delete skill directories (quarantine), so a bug or malicious change could remove files outside the intended directory; verify path handling and consider running only in an isolated/test environment first. (3) The tool stores a VirusTotal API key in ~/.opencode/config/gatekeeper.json — ensure you are comfortable storing that key locally. Recommended actions: inspect the full source for the execSync usage and any other external calls, run the tool inside a disposable VM/container before using it on a production machine, back up ~/.opencode, and prefer a version that uses a documented, platform-agnostic installer mechanism rather than a hard-coded path. If you cannot verify the code or get clarification, treat this skill as untrusted.
功能分析
Type: OpenClaw Skill Name: skill-gatekeeper Version: 2.0.0 The skill is designed as a security auditing tool but contains a critical shell injection vulnerability and non-portable code. In gatekeeper.ts, the 'installWithAudit' function passes the user-provided 'slug' argument directly into a shell command via execSync without sanitization. Furthermore, the script uses a hardcoded absolute path to a specific local user directory (C:/Users/ReaMasTer/...) for the 'clawhub' binary, which is a significant implementation flaw. While the stated intent is defensive (static analysis and VirusTotal integration), these vulnerabilities allow for potential command execution on the host system.
能力评估
Purpose & Capability
Name/description claim an automated audit/sandbox system and the code largely implements that (sandbox copy, local pattern scan, VirusTotal lookup). However there is an odd/hard-coded call to a Windows Node installer path (C:/Users/ReaMasTer/...) and the code uses child_process.execSync to run an external installer — this is unexpected for a cross-platform Bun tool and suggests either sloppy engineering or a potential backdoor/incoherence.
Instruction Scope
SKILL.md instructions map to the CLI implemented in gatekeeper.ts (audit/install/config). The runtime will copy skills into a sandbox, scan files, call VirusTotal, and then quarantine or delete originals. Those actions are within the stated scope, but the code performs destructive filesystem operations (cpSync + rmSync) and executes an external installer command; both require reviewing because they can modify or remove skill files and invoke arbitrary external code.
Install Mechanism
No install spec is used; this is effectively an instruction-only skill with an included Bun script. No external archives or downloads are staged by an installer spec. However, the script itself calls external commands (execSync) which may invoke other installers at runtime.
Credentials
The skill requests no environment variables but reads/writes config and stores a VirusTotal API key under ~/.opencode/config/gatekeeper.json. Storing the VT key locally is expected for the feature. Still, the skill will read and modify user home paths (~/.opencode/*), which is reasonable for a gatekeeper but should be accepted only if you trust the code.
Persistence & Privilege
The skill is not force-installed (always: false) and does not request platform-level privileges. It does write to its own config directory and can move/delete skill directories (quarantine), which is consistent with its purpose but means it has the ability to modify other installed skills in ~/.opencode/skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-gatekeeper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-gatekeeper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
v2.0 - 自動化安全審核門禁系統
v1.0.0
Initial release - 自動化安全審核系統
元数据
Slug skill-gatekeeper
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Skill Gatekeeper 是什么?

技能門禁系統 - 自動審核、沙盒測試、安全放行. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 211 次。

如何安装 Skill Gatekeeper?

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

Skill Gatekeeper 是免费的吗?

是的,Skill Gatekeeper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Skill Gatekeeper 支持哪些平台?

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

谁开发了 Skill Gatekeeper?

由 lanew197894fun-cmd(@lanew197894fun-cmd)开发并维护,当前版本 v2.0.0。

💬 留言讨论