agent-guardian
A legitimate AI assistant monitoring skill with undeclared privileged operations and dependency installations, but no evidence of malicious behavior.
Why this conclusion was reached
1/4 dimensions flagged2 undeclared or violating capabilities were inferred.
2 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
2 dependency or supply-chain issues need attention.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
https://clawhub.ai/user/fanxinyun1991 skill-card.md:7
https://clawhub.ai/fanxinyun1991/agent-guardian skill-card.md:31
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| langdetect | latest | pip | No | Version not pinned - breaking changes could affect functionality |
| inotify-tools | latest | apt | No | System package, version not pinned |
File composition
scripts/install.sh scripts/apply-qqbot-patch.sh skill-card.md scripts/smart-status-report.sh