agent-guardian
A legitimate AI assistant monitoring skill with undeclared privileged operations and dependency installations, but no evidence of malicious behavior.
为什么得出这个结论
1/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 2 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
发现 2 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
SKILL.md does not document that install.sh modifies system crontab, creates systemd services running as root, and installs packages via pip/apt
pip3 install langdetect and apt-get install inotify-tools without version pinning could lead to unexpected behavior
install.sh installs packages silently (2>/dev/null) without informing the user
The patch script injects execSync calls and custom code blocks into gateway.ts/outbound.ts without prominent disclosure
最关键的证据
Undeclared root-level system modifications
install.sh creates a systemd service running as User=root, modifies system crontab, and installs system packages without declaring these capabilities in SKILL.md
scripts/install.sh:67 Plugin source code modification not documented in SKILL.md
apply-qqbot-patch.sh injects custom code blocks with execSync calls into the QQ bot's gateway.ts and outbound.ts. SKILL.md mentions 'apply channel patches' but doesn't detail the execSync implications.
scripts/apply-qqbot-patch.sh:20 Unpinned package dependencies
install.sh installs langdetect (pip) and inotify-tools (apt) without version pinning, risking unexpected behavior from breaking changes
scripts/install.sh:46 Silent dependency installation
install.sh installs packages with 2>/dev/null redirection, suppressing output and potential error messages from the user
scripts/install.sh:47 Hardcoded root paths in scripts
smart-status-report.sh and status-query-daemon.sh hardcode /root paths and PATH variables containing root-specific binaries
scripts/smart-status-report.sh:6 声明能力 vs 实际能力
SKILL.md declares script execution which writes to /tmp/ and patch files install.sh:46-54 apt-get install, install.sh:60 crontab modification, install.sh:67 systemctl with User=root, install.sh:42 pip3 install smart-status-report.sh:58 openclaw message send, but this is the core messaging function documented in SKILL.md supervisor.sh:77-82 reads memory/load via free/uptime; no credential harvesting observed apply-qqbot-patch.sh injects execSync calls into plugin source files 可疑产物与外联
https://clawhub.ai/user/fanxinyun1991 skill-card.md:7
https://clawhub.ai/fanxinyun1991/agent-guardian skill-card.md:31
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| langdetect | latest | pip | 否 | Version not pinned - breaking changes could affect functionality |
| inotify-tools | latest | apt | 否 | System package, version not pinned |
文件构成
scripts/install.sh scripts/apply-qqbot-patch.sh skill-card.md scripts/smart-status-report.sh