← 返回 Skills 市场
johnnylambada

toolguard-daemon-control

作者 johnnylambada · GitHub ↗ · v0.0.1
cross-platform ⚠ suspicious
784
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install toolguard-daemon-control
功能描述
Manage macOS launchd user agents to start, stop, restart, check status, and access logs of persistent background services without sudo.
安全使用建议
This skill appears to do exactly what it says: create and manage user-level launchd agents. Before using or allowing autonomous invocation, verify the exact command you will install and avoid passing secrets via --env (they are persisted in the plist). Prefer pointing to compiled binaries or wrapper scripts you control (not transient tools like 'go run'). Review created plist files in ~/Library/LaunchAgents and logs in ~/Library/Logs/toolguard/, and uninstall any service you don't recognize. Note: the scripts embed provided values directly into plist XML without escaping — avoid passing untrusted input that could break the plist or introduce unexpected entries.
功能分析
Type: OpenClaw Skill Name: toolguard-daemon-control Version: 0.0.1 The skill is classified as suspicious due to a critical shell injection vulnerability in `scripts/install.sh`. The line `WORKDIR=$(eval echo "$WORKDIR")` allows arbitrary command execution if an attacker can control the `--workdir` argument, leading to a remote code execution (RCE) risk during the skill's installation process. While the skill's primary function of managing launchd services is legitimate, this specific flaw makes it dangerous. There is no evidence of intentional malicious behavior like data exfiltration or backdoor installation by the skill itself, but the vulnerability is severe.
能力评估
Purpose & Capability
Name/description describe managing macOS launchd user agents; the included scripts implement install, uninstall, status, list, and log viewing by writing plists under ~/Library/LaunchAgents and logs under ~/Library/Logs/toolguard/. All required actions and files are consistent with that purpose.
Instruction Scope
Scripts only touch user LaunchAgents and a user log directory and call system tools (launchctl, tail, which, mkdir, rm). They allow installing arbitrary executables as services and accept --env KEY=VALUE pairs which are written into the plist. The scripts do not read unrelated system files or external network endpoints. Caution: values are embedded into XML without explicit escaping (EnvironmentVariables and ProgramArguments are inserted directly), and installed services will persist and run arbitrary binaries — so you must trust the command and any environment values you pass.
Install Mechanism
No external install or network downloads; this is an instruction-only skill with bundled shell scripts. Nothing is fetched from third-party URLs or registries.
Credentials
The skill declares no required env vars or credentials. However, install.sh accepts user-supplied --env pairs and writes them into the plist (persisted in ~/Library/LaunchAgents). Passing secrets or tokens will store them in a file under your home directory and may expose them to other processes that can read your user files. Logs may also capture sensitive output.
Persistence & Privilege
The tool intentionally creates persistent user-level launchd agents (KeepAlive=true, RunAtLoad=true). The skill itself is not marked always:true, but if invoked (including autonomously by an agent) it can install services that survive reboots. This persistent capability is expected for the stated purpose but increases impact if used without supervision.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install toolguard-daemon-control
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /toolguard-daemon-control 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
toolguard-daemon-control 0.0.1 — Initial Release - Manage any executable as a persistent macOS launchd user agent with user-friendly scripts. - Install services that auto-restart, write logs and persist beyond the current session. - Includes scripts to install, uninstall, check status, view logs, and list managed services. - Services run without sudo and logs/plists are stored in user directories.
元数据
Slug toolguard-daemon-control
版本 0.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

toolguard-daemon-control 是什么?

Manage macOS launchd user agents to start, stop, restart, check status, and access logs of persistent background services without sudo. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 784 次。

如何安装 toolguard-daemon-control?

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

toolguard-daemon-control 是免费的吗?

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

toolguard-daemon-control 支持哪些平台?

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

谁开发了 toolguard-daemon-control?

由 johnnylambada(@johnnylambada)开发并维护,当前版本 v0.0.1。

💬 留言讨论