account takeover
An attacker gaining control of someone else's account, for example a package maintainer's, and acting as them.
Everything the account could do, including publishing packages, is now in an attacker's hands.
In more detail
A hijacked maintainer account can publish a malicious release that the next build accepts. Internal mirrors, pinned digests and multi-factor sign-in on publishing accounts limit the damage.
Related terms
- maintainer account — An account allowed to publish new versions of a package to a registry.
- package mirror — A copy of a package registry that your organisation controls, which builds download from instead of the public registry.
Taught in
- Dependency Risk And Typosquatting — Application Security & Threat Modeling for Engineers