dockerize-and-deploy

Warn

Audited by Socket on Sep 15, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/preflight.sh

The code is a legitimate pre-deployment validation script with no clear malicious payload. However, directly sourcing the ENV_FILE and interpolating an insufficiently validated database host into bash -c create meaningful command-execution risks when inputs or project files are untrusted. Use a non-executing dotenv parser, restrict ENV_FILE to trusted paths, validate DATABASE_URL components, and avoid bash -c for the TCP probe.

Confidence: 97%Severity: 64%
AnomalyLOW
scripts/deploy.sh

The script is a conventional Docker deployment utility, not apparent malware. The main security risk is intentional but dangerous use of eval on the environment-controlled MIGRATIONS_CMD, which permits arbitrary command execution when that variable is attacker-controlled. Configurable Compose files also require trusted inputs because Docker Compose configurations can execute privileged or host-impacting actions. HEALTH_URL permits arbitrary outbound requests but does not expose collected data in this fragment. Avoid eval by using a fixed migration command or an argument array, and restrict deployment configuration inputs.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 15, 2026, 09:36 AM
Package URL
pkg:socket/skills-sh/rockclaver%2Fsystemcraft%2Fdockerize-and-deploy%2F@99c40a625c094a4bd3772135501c907422eb9a3d018f016136177e37ce59bffe
Security Audit — socket — dockerize-and-deploy