Search
SW News

SlugFest Hit 1,500 npm Packages, GitHub’s Firewall [2026]

Yusuf Demir
Yusuf DemirCloud & Software Reporter
16 min read
SlugFest Hit 1,500 npm Packages, GitHub’s Firewall [2026]

A vulnerability researchers named SlugFest left more than 1,500 npm packages, representing over 10 million combined downloads, exposed to malicious takeover, according to Bloom Security’s October 13, 2026 disclosure. GitHub had already shipped a mitigation on October 2, and on October 20 it rolled out a new npm package firewall in public preview, placing policy checks between package registries and the developers, CI runners, and coding agents that pull from them. The timeline reveals a four-month gap between when Bloom first reported the flaw and when GitHub shipped a fix, a delay that is reigniting debate over how fast platforms respond to supply chain risk in an era when AI coding agents install dependencies automatically and at scale.

For developers who rely on npm’s Trusted Publishing system to cut long-lived tokens out of their release pipelines, the SlugFest disclosure is a reminder that convenience features carry their own attack surface. For security teams, the GitHub package firewall marks a shift from reactive scanning toward blocking malicious installs before they ever reach a build server.

Google · Preferred Sources

Don't miss new tech stories on Google

Add TrendinTech once in the Google app and our stories appear in your news suggestions.

Add Now

What SlugFest Actually Exposed in npm Trusted Publishing

npm Trusted Publishing is the system that lets a package maintainer authorize a CI/CD workflow, such as a GitHub Actions job, to publish a new package version using short-lived OIDC credentials instead of a long-lived npm access token. It became generally available in July 2025 as part of GitHub’s broader plan to harden the npm supply chain, and it currently supports GitHub Actions, GitLab.com shared runners, and CircleCI Cloud as authorized providers.

Bloom Security’s research, published alongside the October 13 disclosure, found that Trusted Publishing’s original authorization check relied on a mutable identifier: the GitHub repository slug in the format owner/repo, rather than an immutable repository ID. Repository slugs can change hands. A project can be renamed, transferred, or abandoned, and its old name becomes available for anyone to claim. Bloom’s researchers showed that an attacker who claimed an abandoned or renamed repository slug could inherit the trust relationship tied to that name and publish a malicious version of a legitimate package, all without ever stealing a maintainer’s credentials.

That distinction matters. Most supply chain attacks on npm over the past few years have involved phishing a maintainer’s password or token, or slipping a typo-squatted package into a build. SlugFest instead exploited a design assumption inside a security feature that was built specifically to reduce credential theft, which is part of why Bloom framed the disclosure as evidence that even modern, token-free publishing pipelines need an identity model built on immutable references rather than human-readable names.

The Scope: 1,500 Packages and 10 Million Downloads

Bloom Security reported that more than 1,500 npm packages were potentially exposed to the SlugFest weakness, a group of packages that together accounted for more than 10 million combined downloads. Because npm packages routinely sit several layers deep in a dependency tree, a single compromised package with that download volume could reach far more projects than the raw count suggests, since any application that pulls in an affected package as a transitive dependency inherits the risk without a developer ever directly choosing to install it.

Bloom’s own writeup on the flaw, titled “SlugFest: Millions of AI Agents Install npm Packages Exposed to Malicious Takeover through GitHub,” pointed to a specific modern wrinkle: autonomous coding agents now install npm packages on a schedule that outpaces most human review. According to figures published on Bloom’s blog, each coding agent adds new packages at a rate of roughly 0.3 to 1.2 per day depending on the agent type, while on developer machines running multiple agents that climbs to 2 to 3 new packages per day. Bloom’s research also noted that the average endpoint now runs about 3 agents, while developer machines run 5 or more, and that Trusted Publishing adoption across the npm ecosystem remains under 20% of active packages, meaning the large majority of publishing workflows still rely on other authentication methods.

That adoption gap cuts two ways. It limited how many packages could have been directly affected by the Trusted Publishing weakness itself, but it also means the broader npm ecosystem that AI coding agents draw from is still dominated by token-based publishing, a model with its own long history of credential leaks and phishing incidents.

GitHub’s October 2 Fix: A 48-Hour Validation Window

GitHub’s changelog entry, published October 2, 2026 and titled “Unvalidated npm trusted publishing configurations now expire,” describes the core of the mitigation. A newly created Trusted Publishing configuration must complete its first successful publish within two days, commonly described in coverage as a 48-hour window, or the configuration expires and can no longer authorize a release. Once a configuration completes that first successful publish, it becomes validated and is bound to the repository’s immutable identity rather than its slug, and it is exempt from future expiration. If the underlying repository or project identity later changes, GitHub requires a new trust relationship and a fresh 48-hour validation period rather than silently carrying the old trust forward.

GitHub paired that change with a second, narrower fix: npm began rejecting Trusted Publishing tokens issued through GitHub Actions issue_comment events, closing off another path attackers could have used to trigger a publish, in addition to the pull_request_target restriction that was already in place. GitHub’s documentation lists push, release, and workflow_dispatch as examples of workflow events still permitted to authorize a publish.

It is worth being precise about what changed and what did not. The 48-hour rule applies only to unvalidated configurations, the ones that have never completed a successful publish. It is not a blanket expiration applied to every Trusted Publishing setup on npm, and GitHub’s own changelog entry, despite being filed under a “Retired” label in its archive navigation, describes a new expiration policy rather than the retirement of Trusted Publishing itself. npm’s documentation continues to list Trusted Publishing, alongside the npm trust command, Staged Publishing, and ECDSA registry signatures, as current security capabilities.

GitHub’s October 20 Package Firewall: A Different Layer of Defense

Eighteen days after the Trusted Publishing fix, GitHub introduced a separate control aimed at the broader problem: a package firewall, announced in public preview on October 20, 2026 for GitHub Enterprise Cloud customers, including the data-residency version of Enterprise Cloud. GitHub described the firewall as a no-charge feature during its preview period.

Where Trusted Publishing addresses how a package gets published, the firewall addresses what happens when a package gets installed. GitHub positioned it as sitting between endpoints, such as GitHub Actions runners or coding agents, and the package registries they pull from, inspecting package metadata and downloads before they reach a developer’s machine or a CI job. The controls GitHub has made available through the firewall include configurable cooldown periods that delay trust in brand-new package versions, checks against the GitHub Advisory Database, and supply chain checks designed to catch attestation downgrades, where a package’s provenance claims do not match what is actually being installed.

GitHub published the firewall announcement alongside a batch of advisories for malicious npm packages, including entries tied to a fake-job-interview campaign and dependency-confusion payloads, reinforcing the argument that the timing was deliberate rather than coincidental. The same week, GitHub also announced that Dependabot now supports npm 12, alongside pnpm 11 and 12 and Bun 1.4, and separately listed bulk migration of branch protections to rulesets as an October 20 platform update.

A Four-Month Gap Between Report and Fix

The timeline behind SlugFest raises its own questions about disclosure speed. Bloom Security reported the issue to GitHub through its HackerOne bug bounty program on June 6, 2026. GitHub validated the report on June 9. Coverage of the disclosure describes the last substantive response from GitHub before the public writeup as landing around July 8, and the fix did not ship until October 2, a gap north of 100 days from validation to mitigation, and closer to four months from the original report to GitHub’s public acknowledgment on October 13.

That gap sits inside a normal range for coordinated disclosure of design-level flaws, which typically take longer to fix than a simple code patch because they require rethinking how a system establishes trust rather than closing a single bug. Still, for a feature marketed as a credential-theft mitigation, a four-month window between confirmation and shipped fix is long enough that security teams reviewing their own Trusted Publishing configurations in the interim had no platform-level protection against the underlying weakness.

Date (2026)EventDetail
June 6Vulnerability reportedBloom Security submits SlugFest finding to GitHub via HackerOne
June 9Report validatedGitHub confirms the Trusted Publishing weakness
July 8Last response before disclosureReported as the final substantive contact ahead of public writeup
October 2Mitigation shipped48-hour expiration for unvalidated configurations; issue_comment tokens rejected
October 13Public disclosureBloom Security publishes SlugFest research; 1,500+ packages, 10M+ downloads cited
October 20Package firewall launchedPublic preview for GitHub Enterprise Cloud, including data-residency tier

Why AI Coding Agents Raise the Stakes

SlugFest landed at a moment when the npm ecosystem’s biggest consumers are increasingly autonomous. Coding agents built on large language models now routinely select, install, and update dependencies without a human reviewing each addition, which is precisely the workflow Bloom Security’s research targeted in its framing of the disclosure. A compromised package that would once have required a human developer to run npm install on a malicious name can now be pulled in automatically by an agent executing a multi-step coding task, often inside a sandboxed environment with its own credentials and network access.

That shift has already shown up elsewhere on the developer tooling beat. Anthropic’s Claude Code and OpenAI’s Codex CLI have both added features this quarter aimed at giving developers more visibility into what their agents are doing inside a terminal session, and GitHub’s own Copilot in VS Code picked up new agent host policies designed to constrain what an autonomous coding session can reach on a developer’s machine. Separately, a breach disclosed at OpenCode’s console exposed API keys tied to several major model providers, another reminder that the infrastructure surrounding coding agents is now itself a target. Security researchers have also tracked at least one campaign using AI agents to automate breaches against more than 100 firms, highlighting that the same automation improving developer speed is being mirrored by attackers.

GitHub’s package firewall is explicitly built with that pattern in mind. By inspecting a package before it reaches an Actions runner or a coding agent’s execution environment, rather than relying on a human to notice something suspicious in a diff, GitHub is betting that automated gatekeeping has to match the speed of automated consumption.

Market Impact: What Supply Chain Risk Costs Enterprises

SlugFest did not emerge in a vacuum. Industry research on software supply chain security has tracked a steady rise in both the frequency of attacks and the compliance pressure building around them. Gartner reported that 61% of U.S. businesses were directly impacted by software supply-chain attacks between April 2022 and April 2023, according to a 2023 Gartner analysis cited by Security Boulevard. Separately, Gartner forecast that 45% of organizations worldwide would experience attacks on their software supply chains by 2025, a threefold increase from 2021, according to research referenced by Britive.

Compliance expectations have moved in step with attack volume. Gartner predicted that 60% of organizations procuring mission-critical software would require software bill of materials disclosures by 2026, compared with just 5% in 2022, according to analysis published by Legit Security. A related Gartner estimate put the figure even higher for critical infrastructure specifically: 60% of organizations building or procuring critical-infrastructure software were expected to mandate and standardize SBOMs by 2025, up from less than 20% in 2022, per Gartner Innovation Insight research summarized by Anchore.

Those figures help explain why GitHub is layering multiple, overlapping defenses onto npm rather than shipping a single fix and moving on. A platform serving millions of packages that feed directly into enterprise software bills of materials has a direct interest in reducing the number of disclosed flaws that end up cited in a customer’s own compliance audit.

GitHub’s Layered Defense: A Year of Supply Chain Hardening

SlugFest’s fix and the package firewall are the latest entries in a pattern that stretches back over a year. GitHub introduced staged publishing for npm in May 2026, an opt-in control that holds a new package version for maintainer approval and two-factor authentication before it goes live. npm Trusted Publishing added CircleCI as a supported provider in April 2026, widening its coverage beyond GitHub Actions and GitLab’s shared runners. In July 2026, GitHub Actions began holding potentially malicious workflows for approval, a direct response to earlier supply chain attacks that relied on compromised GitHub credentials, a pattern also visible in the breaking-change rollout at Forgejo’s CI webhook overhaul on a competing Git-hosting platform. Workflow execution protections for GitHub Enterprise, organizations, and repositories reached general availability on September 17, 2026, and GitHub Actions workflow dependency lockfiles entered public preview on October 14, just a week before the package firewall announcement.

Date (2026)ControlWhat it does
AprilCircleCI added to Trusted PublishingWidens OIDC-based publishing beyond GitHub Actions and GitLab shared runners
MayStaged publishingHolds new package versions for maintainer approval and 2FA before going live
July 28Malicious workflow holdsGitHub Actions flags and holds suspicious workflows for approval
September 17Workflow execution protectionsReaches general availability across Enterprise, orgs, and repos
October 248-hour validation windowUnvalidated Trusted Publishing configurations expire after two days
October 14Workflow dependency lockfilesPublic preview for Enterprise Cloud, Team, and Free plans
October 20npm package firewallPublic preview; inspects packages before Actions runners or agents install them

Historical Context: From Log4Shell to a Mutable-Identity Flaw

Open source supply chain security has had several inflection points over the past five years, and each one has pushed registries and platforms toward stricter identity and provenance checks. The Log4Shell vulnerability that surfaced in a widely used Java logging library in late 2021 forced enterprises across the industry to audit their dependency trees for a single package buried deep inside unrelated software. That crisis is part of why provenance tracking, software bills of materials, and attestation checks moved from niche security practice to mainstream expectation over the following several years.

SlugFest is a narrower story than Log4Shell in terms of raw exposure, but it is conceptually sharper. It did not require a coding mistake inside a popular library. It exploited an assumption, that a GitHub repository’s name was a stable enough identifier to anchor a trust relationship, embedded inside a feature built explicitly to improve security. That is the kind of flaw that tends to force a redesign rather than a patch, which is consistent with the roughly four-month gap between GitHub validating the report and shipping the fix.

How Other Platforms Handle Package Trust

GitHub is not the only platform wrestling with how to anchor trust in CI/CD-driven publishing. GitLab’s own Trusted Publishing support for npm runs through its shared runners on GitLab.com, and GitLab has separately had to ship its own emergency patches this month, including fixes for a critical CI/CD regex-engine flaw alongside more than 20 other vulnerabilities across its Community and Enterprise Editions. CircleCI, the third supported provider for npm Trusted Publishing, sits downstream of whatever identity model npm itself enforces, meaning the SlugFest fix protects CircleCI-authorized publishes just as much as GitHub Actions ones.

The broader competitive dynamic is less about which registry has better security marketing and more about which platform can inspect the most traffic before it turns into an installed dependency. GitHub’s advantage is scale: because so much of the npm ecosystem’s CI/CD activity already runs through GitHub Actions, a firewall sitting at that choke point can see a large share of the installs flowing into both human-driven and agent-driven workflows, something a narrower, registry-only scanning tool cannot replicate without that same distribution.

What Developers and Security Teams Should Do Now

Security researchers covering the disclosure have consistently recommended the same baseline response for teams using npm Trusted Publishing. First, audit every existing Trusted Publishing configuration and confirm the repository or project it is bound to still matches the intended maintainer identity, since the fix only prevents new abuse going forward and does not retroactively re-verify every binding created before October 2. Second, recreate any Trusted Publishing relationship tied to a repository that has been renamed or transferred ownership, since GitHub’s fix now requires a fresh 48-hour validation window in that scenario rather than silently carrying old trust forward. Third, treat the npm package firewall’s preview period as a low-cost evaluation window, since GitHub is offering it at no charge to Enterprise Cloud customers during preview.

Teams running AI coding agents against their dependency trees have an additional item worth adding to that list: review whether an agent’s package-installation activity is logged and auditable in the same way a human developer’s commits are. Given that Bloom Security’s own research put agent-driven package installs at multiple new dependencies per day on some machines, a silent compromise introduced through an agent session could sit unnoticed for longer than one introduced through a reviewed pull request. The same logic applies to teams evaluating exploit chains more broadly, a concern echoed in recent coverage of an unrelated but similarly scoped flaw affecting tens of thousands of unpatched servers and in federal guidance such as the Department of Homeland Security’s recent restrictions on certain AI tooling across US agencies.

Residual Risk After the Fix

GitHub’s October 2 change closes the specific window SlugFest exploited for configurations created after that date, but it does not eliminate the underlying pattern on its own. Security researchers covering the disclosure have noted that maintainers still need to manually verify older, already-validated Trusted Publishing bindings, since those were exempted from the expiration rule precisely because they had already completed a successful publish under the old, weaker validation model. A binding validated before October 2 under the mutable-slug check is not automatically re-verified against the new identity-based standard.

That residual gap is one reason coverage of the disclosure has generally characterized the fix as a meaningful mitigation rather than a complete closure of the issue. Comparable monorepo and CI/CD tooling stories this year, including the breaking changes introduced in Forgejo’s webhook update and the performance claims behind Bun’s faster type checker, point to a broader trend: developer tooling platforms are shipping security and performance changes at a pace that increasingly outstrips how quickly individual teams can review and adapt to them.

Predictions: Where npm Supply Chain Security Goes Next

  • Expect GitHub to expand the package firewall beyond npm to other ecosystems it hosts tooling for, following the same pattern it used when it extended Trusted Publishing from GitHub Actions to GitLab shared runners and CircleCI.
  • Expect Trusted Publishing adoption to climb meaningfully above its current level of under 20% of active npm packages, as maintainers weigh the SlugFest coverage against the ongoing risk of long-lived token leaks.
  • Expect more platforms to move toward immutable identifiers, rather than human-readable names, as the default anchor for automated trust relationships, a direct lesson from how SlugFest exploited repository slugs.
  • Expect scrutiny of AI coding agents’ package-installation behavior to intensify, with more platforms adding agent-specific audit logs for dependency changes rather than treating agent installs the same as human-triggered ones.
  • Expect GitHub’s package firewall to move from public preview toward general availability within the next product cycle, following the typical pace of its recent security feature rollouts, from staged publishing’s opt-in debut in May 2026 to workflow execution protections reaching general availability roughly four months after their initial announcement.

How This Compares to Earlier npm Security Incidents

Framed against prior npm supply chain incidents, SlugFest stands out less for its scale, 1,500 packages is a modest slice of an ecosystem with well over two million published packages, and more for what it reveals about a feature marketed specifically as a security upgrade. Earlier high-profile npm incidents typically involved stolen maintainer credentials or deliberately malicious packages uploaded under misleading names. SlugFest instead showed that the mechanism built to make publishing safer, Trusted Publishing’s OIDC-based trust model, carried its own exploitable assumption about identity. That distinction is part of why security researchers across multiple outlets converged on describing the fix as necessary but not sufficient on its own, rather than as a closed chapter.

Frequently Asked Questions

What is the SlugFest vulnerability?
SlugFest is a flaw in npm’s Trusted Publishing system, disclosed by Bloom Security on October 13, 2026, in which authorization relied on a mutable GitHub repository slug rather than an immutable repository identifier, allowing an attacker who claimed a renamed or abandoned repository name to potentially inherit its publishing trust.

How many npm packages were affected by SlugFest?
Bloom Security reported that more than 1,500 npm packages, representing over 10 million combined downloads, were potentially exposed to the flaw.

Did GitHub fix the SlugFest vulnerability?
Yes. GitHub shipped a mitigation on October 2, 2026, roughly 11 days before the public disclosure, introducing a 48-hour validation window for newly created, unvalidated Trusted Publishing configurations and rejecting trusted-publishing tokens issued through GitHub Actions issue_comment events.

What is GitHub’s npm package firewall?
It is a supply chain security feature that entered public preview on October 20, 2026 for GitHub Enterprise Cloud customers. It sits between package registries and the systems consuming packages, such as Actions runners and coding agents, using malware detection, package-attestation checks, and configurable package-age restrictions to block risky dependencies before installation.

Is npm Trusted Publishing still safe to use?
npm’s own documentation continues to list Trusted Publishing as a current security feature, and GitHub’s October 2 fix specifically targets the weakness SlugFest identified. Security researchers recommend auditing existing configurations and recreating any Trusted Publishing relationship tied to a repository that has changed names or ownership since it was first validated.

Who discovered the SlugFest flaw?
Bloom Security disclosed the vulnerability, first reporting it to GitHub through HackerOne on June 6, 2026. Coverage of the disclosure identifies Golan Myers as the Bloom Security researcher associated with the finding.

Why do AI coding agents make npm supply chain flaws riskier?
Coding agents can install new npm packages automatically as part of their workflow, at a rate Bloom Security estimated at 0.3 to 1.2 packages per day per agent, and faster on developer machines running several agents at once, reducing the chance a human reviews each new dependency before it lands in a project.

Does the package firewall cost extra to use?
GitHub is offering the npm package firewall at no charge during its public preview period for GitHub Enterprise Cloud customers, including the data-residency tier of Enterprise Cloud.

Related Coverage

Yusuf Demir

Yusuf Demir

Cloud & Software Reporter

Yusuf Demir is the Cloud & Software Reporter at TrendinTech, where he covers cloud infrastructure, enterprise platforms, developer tools and the digital transformation of businesses in the UK and the United States. He is most interested in the gap between vendor roadmaps and the systems engineers actually run, and in what the cloud bill looks like once the free credits expire.

All stories by Yusuf Demir (412)

Related Articles