Urgent.News

What's breaking now, across hundreds of outlets.

Tech

New stricter rules from GitHub for code packages after security investigation

GitHub has added a 48-hour expiration window for unvalidated npm trusted publishing configurations, closing a supply chain loophole that allowed attackers to claim abandoned repository slugs and publish package updates without credentials. The issue was discovered by security firm Bloom Security, which notified GitHub on June 6, 2026. According to the researchers, the vulnerability arose from the…

GitHub has introduced stricter rules for code packages following a security investigation. According to security firm Bloom Security, the issue arose from the platform's identification of code repositories based on the name of the address rather than a permanent digital identifier. This allowed attackers to exploit the system by claiming abandoned repository slugs and publishing package updates without credentials.

The vulnerability was discovered on June 6, 2026. More than 1,500 vulnerable packages were identified, having been downloaded over 10 million times.

To address this issue, GitHub has set a 48-hour expiration window for unvalidated npm trusted publishing configurations. Each setting becomes permanent once the first successful publish is completed, while a new process is required with a 48-hour window if the project identity changes. Additionally, npm rejects requests from certain automated code comment and request processes.

Software creators managing packages are advised to check trusted connection settings, delete and recreate links if repositories are renamed or moved, and monitor for any unexpected posts.

Rewritten by urgent.news; may contain errors — check the original.

Sources: securityweek.com · dev.to

Also reported by 1 other outlet

Every outlet that reported this, and when →

Read the original at dev.to →

Report a problem with this story

More in Tech

More from Tuesday, 13 October 2026 →