Interview Prep/DevSecOps/Supply Chain Security

How do you evaluate whether a new open-source dependency is safe enough to adopt?

IntermediateScenarioSupply Chain Security
Answer

Situation read → Popularity is not safety. Look at project health and security practices.

What I'd do →

  1. Run OpenSSF Scorecard: scorecard --repo=github.com/org/project.
  2. Check maintainers, release cadence, open security advisories and bus factor.
  3. Review transitive dependency count and install scripts.
  4. Check licence compatibility.
  5. Wrap the library behind your own interface so you can replace it.
  6. Record the decision in an ADR.

Why → Cheap vetting up front is better than emergency removal later.

Interview tip → Mention Scorecard checks such as branch protection, signed releases and pinned dependencies.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain Security