GitHub Tightens npm Publishing After Flaw Left 1,500+ Packages Vulnerable to Hijacking
thehackernews.com Oct 13, 2026

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

AI-summarised brief · reviewed before publication

GitHub has introduced a 48‑hour expiration for new npm trusted publishing configurations after Bloom Security revealed a flaw that allowed attackers to hijack packages by claiming abandoned repository slugs. The change requires a successful publish within two days to validate the configuration and bind it to the repository’s immutable ID. It also blocks trusted publishing tokens from GitHub Actions issue_comment events and enforces the pull_request_target restriction. The update follows a June 6 report that exposed a potential supply‑chain attack affecting over 1,500 packages.

💡 Why It Matters

  • · By tying trust to a permanent repository ID, GitHub stops attackers from exploiting reclaimed slugs, a key vector for large‑scale supply‑chain breaches.
  • · The new policy tightens CI/CD security, protecting developers and users from automated malicious updates.