FlagThis — Daily Cybersecurity Intelligence Briefing

FILTERING BY: CLEAR FILTER

SlugFest: npm and GitHub Trusted Publishing Slug Validation Flaw Exposes 1,500+ Packages

A slug validation flaw within npm Trusted Publishing enables attackers to hijack GitHub Actions OIDC-based publishing workflows, compromising over 1,500 npm packages. By exploiting insufficient package slug scoping, threat actors can impersonate maintainers, obtain valid OIDC identity tokens, and inject malicious versions into the npm registry. This vulnerability facilitates remote code execution (RCE) via dependency injection, posing a significant risk to AI agents and automated CI/CD pipelines. To mitigate the risk, GitHub has implemented a mandatory 48-hour session expiry for npm Trusted Publishing sessions to narrow the exploitation window.


LINK COPIED TO CLIPBOARD