Return to Threats

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

thehackernews.com 2026-10-13 AI supply chain High

Executive Summary

GitHub now expires unvalidated npm trusted publishing configurations after 48 hours, after researchers found attackers could publish new versions of others' packages without stealing credentials, leaving 1,500+ packages exposed.

What Happened

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

Affected Products

  • npm
  • GitHub

Vulnerability / Attack Technique

Package hijacking via unvalidated publishing configuration

Technical Mechanism

Unvalidated trusted publishing setups could be claimed by another party.

AI Security Category

Not AI-specific

RealGround Analysis

A package registry weakness with no AI component.

Recommended Controls

  • Validate npm trusted publishing configurations

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/10/github-tightens-npm-publishing-after.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO