Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

GitHub npm Trusted‑Publishing Config Expiry Vulnerability Exposes 1,500+ Packages to Hijacking

GitHub’s npm trusted‑publishing feature allowed unauthenticated attackers to push malicious package versions for over 1,500 packages during a 48‑hour validation window. The issue underscores the importance of continuous software‑supply‑chain integrity controls for audit readiness.

LiveThreat™ Intelligence · 📅 November 24, 2026· 📰 thehackernews.com
🟠
Severity
High
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
2 sector(s)
✅
Actions
2 recommended
📰
Source
thehackernews.com

GitHub npm Trusted‑Publishing Config Expiry Vulnerability Exposes 1,500+ Packages to Hijacking

What It Is — GitHub’s npm “trusted publishing” feature lets maintainers pre‑authorize a publishing workflow by creating a signed configuration file. Researchers discovered that the configuration remains unvalidated for 48 hours after creation, during which an attacker who can guess or obtain the configuration ID can publish a malicious version of the package without ever possessing the maintainer’s credentials. The flaw does not require credential theft; it exploits the window before the configuration is automatically marked “validated” after the first successful publish.

The issue was reported to GitHub in early October 2026. GitHub’s internal security team confirmed that over 1,500 npm packages had active, unvalidated trusted‑publishing configurations at the time of discovery. No evidence of active exploitation was found, but the potential impact includes supply‑chain compromise, malware injection into downstream projects, and loss of trust in the npm ecosystem.

GitHub responded by changing the default behavior: unvalidated configurations now expire after 48 hours, and any attempt to publish with an expired configuration is rejected. Existing configurations that have already been validated remain unaffected. The company also issued a security advisory recommending maintainers audit their npm packages for any unvalidated configurations and rotate any that are still active.

Affected Products — GitHub npm “trusted publishing” feature (used with npm packages hosted on GitHub Packages).

Why It Matters for Trust & Control Assurance — The flaw highlights the need for continuous verification of software‑supply‑chain controls; it tests the control objective of ensuring integrity of code publishing processes.

Recommended Actions

  • Audit all npm packages in your organization for unvalidated trusted‑publishing configurations via the GitHub API or UI.
  • Re‑validate any legitimate configurations by performing a successful publish within the 48‑hour window, or revoke and recreate them using the updated workflow.
  • Enable logging of publishing events and integrate them with a SIEM to detect unexpected version uploads.
  • Document the change in your software‑supply‑chain policy and map it to the relevant control objective for audit evidence.

Source: The Hacker News article

📰 Original Source
https://thehackernews.com/2026/10/github-tightens-npm-publishing-after.html ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Misconfigurations are control gaps in disguise.

Verisq AI Trust Operations turns findings like this into mapped controls with continuous evidence, keeping your audit readiness current instead of point-in-time.

Map your controls with Verisq AI Trust Operations →