← 返回 Skills 市场
dev-null321

OpenScan

作者 dev-null321 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1213
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install openscan
功能描述
Scan binaries and scripts for malicious patterns before trusting them. Use when installing skills, evaluating unknown binaries, or auditing tool dependencies.
安全使用建议
This skill appears to implement what it advertises (static scanning) and has no credential requests, but exercise caution before using it on untrusted inputs or integrating it automatically: 1) The code runs a shell command (codesign) with an interpolated file path via execSync — that can be abused if an attacker controls a filename. Prefer a patched version that uses child_process.execFile / spawn with an args array or properly escapes/sanitizes paths. 2) The scanner reads file contents and computes hashes; do not run it on directories containing secrets unless you trust its environment. 3) There's a small metadata inconsistency (homepage vs package repository); verify origin (author/repo) before trusting. Recommended actions: review/patch the codesign invocation, run the tool in an isolated environment (container/VM) until patched, or only scan files from trusted sources.
功能分析
Type: OpenClaw Skill Name: openscan Version: 1.0.0 The OpenScan skill is a security tool designed to scan binaries and scripts for malicious patterns. Its code legitimately uses file system access (`fs`) to read files and directories for analysis, and `child_process.execSync` to run `codesign --verify` on macOS, which is a necessary function for its stated purpose of checking code signatures. The skill's documentation (SKILL.md, README.md) and code do not contain any prompt injection attempts against the AI agent, nor do they exhibit any malicious behaviors such as data exfiltration, unauthorized network communication, or persistence mechanisms. All identified high-risk capabilities are directly aligned with the skill's security scanning functionality.
能力评估
Purpose & Capability
Name, README, SKILL.md and implementation align: a Node.js-based static scanner for Mach-O/ELF/scripts. Declared platform/node constraints match code. No unrelated environment variables, binaries, or install steps are requested.
Instruction Scope
Runtime instructions and code stay within scanning/auditing scope (reading files, parsing binaries, computing hashes, pattern matching). However scanner.js uses child_process.execSync to run codesign via a constructed shell command: execSync(`codesign --verify --deep --strict "${filePath}" 2>&1`, ...). Because execSync is called with a shell string and an unescaped filePath is interpolated inside double quotes, a filename containing a double-quote or other shell metacharacters could terminate the quoted string and inject shell commands. This is a command-injection vulnerability when scanning attacker-controlled paths or untrusted skill folders. The scanner also reads entire directories/files (including contents that may include passwords or secrets), so while it doesn't exfiltrate by itself, scanned data could be sensitive and should be handled with caution.
Install Mechanism
No install spec; code is bundled in the skill. No remote downloads or archive extraction. This is low risk from an install-mechanism perspective.
Credentials
The skill requires no environment variables, credentials, or config paths. All filesystem access is for scanning; there are no network endpoints, API keys, or unrelated credentials requested.
Persistence & Privilege
Skill is not always-enabled, does not request elevated platform privileges, and does not modify other skills or system agent configuration. Autonomous invocation is allowed (platform default) but not by itself problematic here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openscan
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openscan 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Mach-O/ELF parsing, pattern detection, entropy analysis
元数据
Slug openscan
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

OpenScan 是什么?

Scan binaries and scripts for malicious patterns before trusting them. Use when installing skills, evaluating unknown binaries, or auditing tool dependencies. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1213 次。

如何安装 OpenScan?

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

OpenScan 是免费的吗?

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

OpenScan 支持哪些平台?

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

谁开发了 OpenScan?

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

💬 留言讨论