analyzing-docker-container-forensics
Fail
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript contains a command injection vulnerability. Therun_cmdfunction executes shell commands usingshell=True, and thecontainer_idinput fromsys.argv[1]is interpolated into strings fordocker inspect,docker diff,docker export, anddocker logswithout any sanitization. An attacker can execute arbitrary commands by supplying a malicious string as the container ID parameter.\n- [EXTERNAL_DOWNLOADS]: TheSKILL.mdworkflow downloads thedivetool from thewagoodman/diverepository on GitHub.\n- [EXTERNAL_DOWNLOADS]: The skill downloads thecontainer-difftool from Google's official cloud storage for use in image comparisons.\n- [COMMAND_EXECUTION]: The forensic workflow utilizessudo dpkg -ifor package installation andchmod +xfor binary setup, requiring elevated system permissions.
Recommendations
- AI detected serious security threats
Audit Metadata