generating-docker-compose-files
Warn
Audited by Socket on Sep 9, 2026
1 alert found:
SecuritySecurityscripts/deploy.sh
MEDIUMSecurityMEDIUM
scripts/deploy.sh
The script is a conventional deployment wrapper and contains no clear malware or covert data-theft behavior. However, run_command executes dynamically assembled strings with eval, and several user-controlled arguments are inserted using insufficient single-quote handling. A crafted compose path, namespace, or stack name can escape the intended quoting and execute arbitrary shell commands with the privileges of the deployment process. Replace eval with direct command invocation using arrays and validate arguments, especially paths and resource names.
Confidence: 98%Severity: 82%
Audit Metadata