Question 620
Engineers supporting a consumer fintech team are investigating this situation: A workflow inserts an untrusted pull request title directly into a shell run script and unexpected commands execute. Which design rule most directly governs this situation?
Explanation
Correct Answer
Here the triggering gap is: Expression expansion inserted attacker-controlled text into executable shell syntax.
Incorrect Answers
This principle does not account for the observed behavior; it belongs to Dependency cache cost optimization. The relevant one is: Untrusted text must remain data at expression-to-shell boundaries.
This rule governs Release approval and rollback, not the constraint described by a consumer fintech team. The applicable rule is: Untrusted text must remain data at expression-to-shell boundaries.
That concept may matter in a different Build artifact attestation design. Here the operational boundary is explained by: Untrusted text must remain data at expression-to-shell boundaries.



GitHub Actions (GH-200) Practice Tests