Interview Prep/DevSecOps/Supply chain: signing, SBOM and dependencies

A typosquatted package `reqeusts` was found in a developer's requirements file

BeginnerTroubleshootingSupply chain: signing, SBOM and dependencies
Answer

Likely causes → A typo in an install command or copy-paste; malicious lookalikes often steal environment variables on install.

Diagnose →

pip show reqeusts; pip download reqeusts --no-deps -d /tmp/x && unzip -l /tmp/x/*.whl

Check where it ran (laptop, CI) and what credentials were present.

Fix → Remove it, treat the machine/runner as compromised, rotate credentials it could read, and report the package to PyPI.

Prevent → Resolve through a curated proxy with malicious-package blocking, and review new dependencies in PRs.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply chain: signing, SBOM and dependencies