SlugFest: npm Trusted Publishing validation flaw fixed
🔒 Researchers at Boom Security disclosed a vulnerability in npm’s Trusted Publishing that allowed attackers to hijack packages by reclaiming abandoned GitHub repository names. The flaw stemmed from npm validating human-readable repo names instead of immutable numeric IDs, enabling adversaries to inherit publishing trust without stealing credentials. npm and GitHub have implemented mitigations, including a 48-hour expiry for unvalidated configurations and tighter token restrictions, while maintainers are urged to audit trust bindings.
