dockerize-and-deploy
Warn
Audited by Gen Agent Trust Hub on Apr 1, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute several powerful shell commands on the user's local system.
SKILL.mdinstructs the agent to runbash scripts/preflight.sh,docker build, anddocker compose updirectly.- The
scripts/deploy.shscript useseval "$MIGRATIONS_CMD"to execute database migration commands. If$MIGRATIONS_CMDis populated with untrusted input or manipulated by the agent, it leads to arbitrary command execution. - [REMOTE_CODE_EXECUTION]: The deployment workflow involves pulling and executing remote Docker images. While the reference material suggests pinned versions (e.g.,
node:20.11-alpine), thescripts/deploy.shscript performs adocker compose pullwhich downloads external code/images for execution. - [DATA_EXFILTRATION]: The
scripts/preflight.shscript is designed to read sensitive environment variables such asDATABASE_URLandSECRET_KEYfrom.env.prod. While this is intended for validation, the access to these secrets by a shell script that also has network access viacurlanddockerpresents a potential exfiltration risk if the script were modified.
Audit Metadata