[security] Quote extra-args, redact arg values in log, docker logout on exit #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/3-extra-args-and-secret-leak"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3.
Why: extra-args was expanded unquoted (word-split/glob injection), the assembled command echoed --build-arg/--label values in plaintext, and credentials were left logged-in on shared runners.
read -r -a(safe argv); doc updated to space-separated.docker logouton EXIT trap when a login happened.Testing: tests/run.sh.
DO NOT MERGE: security-sensitive; lead/operator review.