Quiz 12 Question 15 of 20

Your team uses a copilot-setup-steps.yml file to configure the environment that Copilot agent runs use during coding tasks. A security review finds that the file installs several npm packages using an unpinned 'latest' version tag and downloads a bash script from an external URL using curl | bash. Which change should be prioritized to harden this configuration?

Select an answer to reveal the explanation.

Motivation