GitHub Tightens npm Publishing After Flaw Left 1,500+ Packages Vulnerable to Hijacking

Vulnérabilités The Hacker News il y a 3 h

Rapportée par 3 médias

Également rapportée par CSO Online, Help Net Security

GitHub has taken the step of expiring unvalidated npm trusted publishing configurations 48 hours after creation after researchers found that it was possible for an attacker to push new versions of a different user's package without having to steal their credentials.

"Your configuration becomes validated and exempt from expiry after its first successful publish," the Microsoft-owned subsidiary said . "Changing the repository or project identity requires a new trust relationship with a fresh 48-hour validation window -- ordinary edits don't restart the deadline."