Interview Prep/DevSecOps/Supply Chain Security

A widely used open-source library you depend on appears to have a maintainer-injected backdoor, as in the xz case. How do you respond?

AdvancedScenarioSupply Chain Security
Answer

Situation read → First establish exposure: which versions, where deployed, whether the malicious path is reachable in your use.

What I'd do →

  1. Query SBOMs for affected versions across all services and base images.
  2. Follow the maintainers and CISA/vendor advisories; pin to a known-good version or roll back.
  3. Rebuild images from clean sources and redeploy; invalidate build caches.
  4. Hunt for indicators: unexpected processes, outbound connections, modified binaries (via Falco, EDR, file integrity).
  5. Rotate credentials accessible from affected hosts if compromise is plausible.
  6. Afterwards reduce blast radius: fewer SSH-reachable hosts, minimal images.

Why → Inventory plus rollback speed matter more than predicting the attack.

Interview tip → xz was caught by a performance anomaly; mention observability as a defence.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain Security