Your CI Has Keys to Prod and Pulls Unpinned Deps

CI pulls unpinned dependencies, runs them, and holds prod credentials. A teammate says just add a vulnerability scanner. Defend a real hardening plan.

advanced15 min5 roundsCI/CDSecurity

Answer key reviewed by Branko Petric

Read first: Building a CI Pipeline with GitHub Actions

Your decision

Your CI pipeline pulls dependencies on every build, runs their code, and holds long-lived credentials with broad access to production. A teammate says just add a vulnerability scanner and we are secure. Is that enough, and what would you actually do?

The situation

You review your CI/CD setup. Every build resolves dependencies fresh and runs their install scripts, and the pipeline holds a long-lived credential with broad permissions to deploy to production.

Context

The team has had no security incident yet. A teammate, asked about supply-chain risk, says the fix is simple: add a dependency vulnerability scanner to the pipeline and you are covered.

More: CI/CD scenario interview questions