skill-debug
Warn
Audited by Gen Agent Trust Hub on May 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides a suite of bash scripts (
skill-probe.sh,skill-trace.sh,skill-dashboard.sh) and explicitly instructs the agent to execute them to perform system diagnostics. - [COMMAND_EXECUTION]: The
skill-trace.shscript performs automated code injection into otherSKILL.mdfiles on the filesystem. It appends a bash code block (a 'canary') that is designed to execute automatically whenever the agent activates the modified skill. - [DATA_EXFILTRATION]: The skill implements a logging mechanism that captures system environment data, including absolute filesystem paths, skill names, and the current working directory (
cwd), and writes this information to a local file at~/.agents/debug/activation.jsonl. - [COMMAND_EXECUTION]: The injection logic in
skill-trace.shis vulnerable to command injection. The script interpolates thenamefield from a skill's frontmatter directly into a bash command template using single quotes. If a skill being 'traced' has a malicious name containing a single quote followed by shell commands (e.g.,name: "' ; rm -rf / ; '"), it could trigger arbitrary command execution when the agent activates that skill and runs the injected canary.
Audit Metadata