← 返回 Skills 市场
nanlinsec-sys

Runtime Security Guard

作者 nanlinsec-sys · GitHub ↗ · v2.2.0 · MIT-0
cross-platform ⚠ suspicious
219
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install runtime-security-guard
功能描述
企业级 AI 运行时安全防护技能 v2.1。提供 406+ 条安全规则,支持跨平台检测(Windows/macOS/Linux),检测 9 大类安全威胁。完全本地运行,无云端 API,无配额限制。配备现代化 Web 监控界面和自动化测试系统。
安全使用建议
Plain-language next steps and cautions: - Do not run the remote install scripts (curl | bash) or run the included install scripts on production systems before review. Treat the package like code that requires auditing. - The skill legitimately needs to intercept file reads and tool outputs to detect threats, but that means it will access anything your OpenClaw agent can access (including secrets, files, tool outputs). Only install in a limited/sandboxed environment (VM or disposable test instance) first. - Audit these things before trusting: - install-no-sudo.sh / install.sh and any scripts that create services or set env vars. Look for network calls, added cron jobs, or commands that change permissions. - code that writes logs or exposes web UI (web server on :3000). Verify default configs disable external webhooks and remote reporting. - any code that implements the honeypot or token-trapping features — confirm how captured tokens are stored, rotated, or transmitted. Ensure webhookUrl is unset by default. - the SKILL.md and other docs for the detected prompt-injection strings and Unicode control characters; remove or neutralize them before loading the skill into an LLM's environment. - Prefer to audit and run the skill locally with network egress blocked, or run it behind strict firewall rules and with a non-privileged OpenClaw test installation. Check openclaw.plugin.json and package.json for required permissions and startup behavior. - If you don't have the capacity to audit, consider using a well-known, widely-reviewed runtime-security alternative or ask the author to provide an attestable provenance (e.g., known org GitHub account, signed release artifacts, or a 3rd-party code audit). If you want, I can: (a) list the top files to inspect first (install scripts, alerter/alerter.sendWebhook, honeypot implementation, hooks/file-reader, and the SKILL.md lines with injection content), or (b) extract and show the exact SKILL.md lines that triggered the prompt-injection detector so you can review them.
功能分析
Type: OpenClaw Skill Name: runtime-security-guard Version: 2.2.0 The runtime-security-guard skill is an extensive security framework for OpenClaw agents, providing regex-based threat detection, system monitoring (file integrity, network, and processes), and a web-based management dashboard. It is classified as suspicious primarily due to its high-risk installation and operational patterns: the 'install-no-sudo.sh' script employs a 'curl | bash' execution style and modifies user shell profiles (.bashrc/.zshrc) to add aliases. Additionally, multiple modules (e.g., 'process-monitor.ts', 'network-monitor.ts') execute system-level commands like 'ps', 'netstat', and 'tasklist' via 'child_process.exec'. While these functions are consistent with the stated purpose of a security guard, they grant the skill broad system access. The web administration server ('scripts/web-admin-modern.js') also exposes an API that allows configuration changes without authentication, which could be exploited if the service is exposed beyond localhost.
能力评估
Purpose & Capability
The name/description (a local runtime security guard) aligns with the included hooks, detectors, rules, and web UI. It legitimately needs to intercept file reads, tool outputs, and user input to do detection. However there are inconsistencies: the registry metadata lists 'No install spec — instruction-only', yet the package contains hundreds of source/build files and install scripts; SKILL.md header/version (v2.1.0) differs from registry version 2.2.0 in metadata and other docs reference 1.1.0/v2.0.0. The skill also advertises 'completely local / no cloud API' while the code supports sending alerts to an external webhook (config.webhookUrl), which is not explained or constrained in SKILL.md.
Instruction Scope
SKILL.md states the plugin 'automatically' intercepts 'all file reads, tool results, user input, agent responses'. That scope is broad and implies access to arbitrary user data and secrets. The instructions include installing via curl|bash from raw.githubusercontent.com and scripts to start a local web server. SKILL.md also contains pre-scan detected prompt-injection patterns (e.g., 'ignore-previous-instructions' and Unicode control characters), which suggests the skill author attempted to include content that could influence LLM behavior; that is unexpected in a benign README and increases risk when the skill is loaded by an LLM-based agent.
Install Mechanism
Installation methods mention ClawHub and direct download from GitHub (raw.githubusercontent.com and GitHub releases). GitHub is a standard host and the included install scripts (install-no-sudo.sh, install.sh) are present inside the package. The registry metadata's 'no install spec' contradicts the presence of these scripts — this mismatch matters because an instruction-only skill has lower risk than one that writes and executes many files. The install scripts should be audited before running; using curl | bash to execute a remote script is higher-risk even when fetched from GitHub.
Credentials
The skill requests no declared environment variables or credentials, but its behavior (hooks that intercept file reads, logs that persist to ./logs, a honeypot system for tokens/keys, and optional webhook sending) implies it will touch sensitive data and may collect secrets. The presence of honeypot descriptions that mention GitHub/OpenAI/AWS credentials means the code is explicitly designed to capture credential-like strings; that capability is reasonable for detection but also increases the blast radius if logs or webhooks are misconfigured. No dedicated justification or safe-defaults for external sinks are provided in SKILL.md.
Persistence & Privilege
always:false (not force-included) which is appropriate. However SKILL.md says the skill 'installs and runs automatically' and will 'auto-run' after install and 'intercept' activities. Autonomous invocation is allowed (default) and is expected for skills, but combined with the broad interception scope and potential external alerting, this gives significant runtime reach. The skill does not declare needing to modify other skills or global configs, which is good; still, the automatic, pervasive interception behavior should be reviewed and constrained during deployment.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install runtime-security-guard
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /runtime-security-guard 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.2.0
新增 20 条子代理监控规则 (openclaw-120 至 openclaw-139),增强子代理资源滥用/权限提升/数据泄露/沙箱逃逸检测能力
v2.1.0
新增 14 条 OpenClaw 配置级安全检测规则 (openclaw-100 至 openclaw-113),增强 OpenClaw 2026.3.x 版本特定威胁检测,新增 Control UI 认证、速率限制、多用户隔离等关键配置检测
元数据
Slug runtime-security-guard
版本 2.2.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Runtime Security Guard 是什么?

企业级 AI 运行时安全防护技能 v2.1。提供 406+ 条安全规则,支持跨平台检测(Windows/macOS/Linux),检测 9 大类安全威胁。完全本地运行,无云端 API,无配额限制。配备现代化 Web 监控界面和自动化测试系统。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 219 次。

如何安装 Runtime Security Guard?

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

Runtime Security Guard 是免费的吗?

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

Runtime Security Guard 支持哪些平台?

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

谁开发了 Runtime Security Guard?

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

💬 留言讨论