Modern apps use many third-party dependencies (libraries, packages), which can contain vulnerabilities or be malicious. Managing dependency security — scanning, updating, and vetting them — is important, since vulnerable dependencies are a common attack vector (OWASP).
The risk: dependencies are part of your attack surface
Apps depend on MANY third-party packages (and their transitive dependencies):
→ a vulnerability in ANY dependency is a vulnerability in YOUR app
→ "using components with known vulnerabilities" is an OWASP Top 10 risk
→ MALICIOUS packages (typosquatting, compromised packages) — supply chain attacks
→ you're trusting/running a lot of code you didn't write.
