analyzing-linux-system-artifacts
Warn
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/agent.pyexecutes shell commands viasubprocess.run(shell=True)inside thefind_suid_binariesfunction. Theevidence_rootpath variable is interpolated directly into the command string without sanitization, allowing for arbitrary command execution if a malicious path string is provided (e.g., via command-line arguments). - [DATA_EXFILTRATION]: The skill is designed to collect and read highly sensitive files including
/etc/shadow,/etc/sudoers, and user.ssh/authorized_keys. While this is the intended forensic purpose, the systematic collection and exposure of these system secrets represents a significant data exposure risk. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface. 1. Ingestion points: It reads untrusted data including
.bash_historyand system logs from a potentially compromised target system. 2. Boundary markers: No delimiters or instructions are used to isolate this data from the agent's logic. 3. Capability inventory: The skill usessubprocess.runand broad file system operations inSKILL.mdandscripts/agent.py. 4. Sanitization: Log content is displayed and processed without escaping or validation, potentially allowing malicious instructions in logs to influence the agent.
Audit Metadata