← 返回 Skills 市场
nanlinsec-sys

Runtime Security Guard (English)

作者 nanlinsec-sys · GitHub ↗ · v2.1.0 · MIT-0
cross-platform ⚠ suspicious
129
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install runtime-security-guard-en
功能描述
Enterprise-grade AI runtime security protection v2.1. Provides 410+ security rules with cross-platform detection (Windows/macOS/Linux), detecting 10 categori...
安全使用建议
What to check before installing: - Verify the repository owner and source: confirm the GitHub repo (https://github.com/nanlin300624/runtime-security-guard) is trustworthy and review author identity and issues/commits. Do not trust the skill solely because it is on GitHub. - Do NOT run curl | bash on a raw URL without auditing the script. Instead clone the repo and inspect install-no-sudo.sh and other scripts locally before running. Prefer building locally (npm install; npm run build) in an isolated environment. - Confirm runtime requirements: the code and docs require Node.js 18+. The registry metadata does not declare this — ensure your environment meets the declared prerequisites and that the manifest is corrected. - Audit network behavior: search the code for webhook, HTTP client, remote endpoints, and any code paths that send detection logs or captured data off-host. Ensure default config does not enable external webhooks or 'save configuration online'. - Review honeypot functionality and default rule configs: honeypots that intentionally collect tokens (GitHub/OpenAI/AWS/etc.) are plausible for testing but can capture sensitive secrets and store them in logs. Verify what is captured, where logs are written, who can access them, and whether any aggregation/exfiltration is present. - Inspect SKILL.md and other docs for embedded prompt-injection examples or obfuscated characters. Treat those sections as test data only and ensure they are not executed or injected into runtime agents. - Run the skill first in an isolated sandbox or test account (not on production or with privileged secrets) and monitor outbound network connections during operation. - If you plan to use in production, require an internal security/code review: check install scripts, manage the web dashboard binding (ensure it does not expose to the network by default), review storage of logs, and disable any remote reporting until verified. If you want, I can: - list the files that call external network functions/webhooks and show those code snippets, - extract and display the install-no-sudo.sh content for quick review, - or search the repo for occurrences of 'webhook', 'http', 'curl', 'token', 'key', and 'ssh' to pinpoint high-risk code. (This would help raise confidence one way or the other.)
功能分析
Type: OpenClaw Skill Name: runtime-security-guard-en Version: 2.1.0 The bundle is an extensive security monitoring suite (EDR-like) for AI agents that requires broad system permissions to function. It includes modules for monitoring network connections (src/monitor/network-monitor.ts), process behaviors (src/monitor/process-monitor.ts), and file integrity (src/monitor/file-integrity.ts), and even attempts to read the macOS TCC database (src/monitor/macos/permissions-monitor.ts). While its source code appears aligned with its defensive stated purpose, the recommended installation method via 'curl | bash' from an external GitHub repository (SKILL.md, install-no-sudo.sh) is a high-risk pattern. Additionally, it starts a local web server (scripts/web-admin-modern.js) to provide a dashboard, which exposes system logs and statistics via API endpoints, potentially increasing the local attack surface.
能力评估
Purpose & Capability
The name/description align with the included code: hook layers, detectors, rule engine, web dashboard and honeypot features are appropriate for a runtime security guard. However the package metadata declares no required runtime/binaries or env vars while the code/architecture docs explicitly require Node.js (v18+) and other runtime assumptions — this mismatch is incoherent and should be corrected. The presence of honeypot features (GitHub/OpenAI/AWS token traps) and OS-specific monitors (macOS keychain/launchagents) is consistent with the stated purpose but implies access to sensitive subsystems.
Instruction Scope
SKILL.md instructs users to run remote install scripts (curl|bash from raw.githubusercontent.com) and to copy files into the OpenClaw skills dir. The skill's hooks include events that intercept file reads, tool results, user input and agent responses — appropriate for a security guard but highly invasive. The SKILL.md mentions 'Save configuration online' and the code accepts a configurable webhook (config.webhookUrl) — yet no external endpoints or env vars are declared in metadata. The SKILL.md also contains prompt-injection example strings; while those may be test cases, any prompt-injection content inside runtime instructions can be abused if not sanitized.
Install Mechanism
No formal install spec in registry metadata, but SKILL.md recommends running a remote install script piped to bash from GitHub raw (install-no-sudo.sh). Pipe-to-shell of remote scripts is high-risk and should be avoided unless you audit the script. Alternative instructions clone/build locally (git clone + npm install + npm run build) which is expected, but the manifest failing to declare Node/npm as required is an inconsistency.
Credentials
The skill declares no required environment variables or primary credential, but the code references optional external webhook configuration and includes honeypot modules intended to capture tokens (OpenAI, GitHub, AWS, etc.). The SKILL.md promises 'automatic environment variable configuration' which could modify env vars without declaring them. Requesting or capturing wide-ranging secrets is not justified by the metadata and increases risk if defaults enable webhook/external forwarding.
Persistence & Privilege
The skill is not marked always:true and does not request special platform flags in metadata. It installs into the user's OpenClaw skills directory and registers runtime hooks that intercept many agent events — this is expected for a runtime protection skill but grants broad visibility into agent activity (file reads, tool outputs, user inputs). Combined with undeclared network/webhook capabilities, this broad access raises concern and warrants review prior to production deployment.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install runtime-security-guard-en
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /runtime-security-guard-en 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
English version of RSG v2.1.0 - Enterprise AI runtime security with 410+ rules, 10 threat categories, cross-platform support, web dashboard, automated testing. New: 14 OpenClaw configuration-level security rules.
元数据
Slug runtime-security-guard-en
版本 2.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Runtime Security Guard (English) 是什么?

Enterprise-grade AI runtime security protection v2.1. Provides 410+ security rules with cross-platform detection (Windows/macOS/Linux), detecting 10 categori... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。

如何安装 Runtime Security Guard (English)?

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

Runtime Security Guard (English) 是免费的吗?

是的,Runtime Security Guard (English) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Runtime Security Guard (English) 支持哪些平台?

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

谁开发了 Runtime Security Guard (English)?

由 nanlinsec-sys(@nanlinsec-sys)开发并维护,当前版本 v2.1.0。

💬 留言讨论