[security] extra-args word-split + build-arg/label values echoed to logs; no tests #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Autonomous security audit findings (HIGH).
build.sh:103-107expands${DBA_EXTRA_ARGS}UNQUOTED — glob + whitespace word-splitting, breaking the otherwise-safe argv model used for every other input (injection risk).build.sh:110prints the assembled command including--build-arg/--labelvalues in plaintext to the build log (secret-in-build-arg leak).dockeron PATH and asserting argv (mirror create-pull-request-action's suite). Also: nodocker logoutleaves creds on shared runners (build.sh:43-49).