🔐Supply Chain Attack
Also known as Software Supply Chain Attack, Dependency Attack, Malicious Package
An attack that hides bad code in a package. Other apps then pull it in.
Think of it like
Think of it like bad flour. Every baker who uses it bakes the problem into the bread.
Example
Lucy installs a popular npm package. An attacker took over its author's account and pushed a new version. It sends her secrets to a stranger's server.
Why it matters
One poisoned package can reach thousands of apps at once. Your code is only as safe as everything it pulls in.
Definition
Common mistake
Key takeaways
- 1Poison the source. Not your app directly.
- 2Spreads to everyone. Who installs it.
- 3Pin and scan. Know what you pull in.