Dependency Confusion Attacks: How Attackers Hijack Your Private Packages
Dependency confusion is a supply chain attack where attackers register public packages with the same name as your private internal packages. Your package manager installs the attacker's version instead. Here's how it works, which ecosystems are vulnerable, and what you can do about it.