Bloom Security Finds a Software Supply Chain Risk Hiding in AI Coding Workflows

AI coding agents are increasingly capable of selecting dependencies, installing packages, and running code with limited human intervention. That convenience is changing the security profile of software development, as a new investigation from Bloom Security demonstrates: a weakness in package publishing can become more consequential when automated agents routinely pull software into development environments.

Bloom’s SlugFest research focused on npm Trusted Publishing, a system that allows authorized GitHub Actions workflows to publish packages through short-lived OpenID Connect (OIDC) credentials. The company found that a gap in repository identity verification could potentially allow an attacker to publish a malicious package under a legitimate name after reclaiming a GitHub repository slug.

The research began with an investigation into how AI agents acquire software dependencies, rather than with a search for a conventional credential-stealing attack.

A Growing Volume of Automated Installs

Bloom studied millions of AI agents across dozens of organizations to understand their package-installation behavior. Depending on the agent type, the company observed approximately 0.3 to 1.2 package installations per day. Developer machines installed roughly two to three packages per day through these agents.

Bloom also found that an average endpoint ran three agents, while developer machines ran five or more. Across its observations, an average endpoint received approximately 70 agent-installed packages per month, compared with nearly 350 on developer machines. These figures cover direct installations and exclude transitive dependencies.

Each additional package can introduce another source of code into a development environment. Package installation can also trigger lifecycle scripts, meaning a malicious release may have an opportunity to execute code without requiring a developer to manually launch the package itself.

Bloom reported that it caught and blocked one of its customers’ AI agents from attempting to install a vulnerable package. That incident helped illustrate how dependency-related risks can emerge through ordinary automated workflows.

How SlugFest Could Enable a Malicious Release

npm Trusted Publishing is designed to replace long-lived publishing tokens with temporary credentials issued through OIDC. In a correctly configured workflow, the registry checks whether the request comes from a trusted source.

Bloom found that npm’s initial trust binding could rely on a repository’s human-readable slug instead of immediately storing its immutable repository identifier. If a repository was renamed, transferred, or deleted before its first successful publication, its former name could potentially be claimed by another party.

An attacker could then create a repository using that name, configure a matching workflow, and request an OIDC token. Without the immutable identifier stored in the original trust relationship, npm could fail to distinguish the replacement repository from the one the package maintainer originally authorized.

Bloom demonstrated the publishing path using researcher-controlled repositories and an npm scope it controlled. The company’s analysis identified more than 1,500 packages with the relevant configuration, accounting for more than 10 million downloads.

These findings do not mean every AI agent or every npm package is vulnerable. Rather, they show how an underlying publishing weakness could intersect with automated dependency installation, creating a potential route from a compromised trust relationship to code execution in downstream environments.

Security Controls Must Account for Automated Behavior

For security teams, the challenge is not simply to block AI coding tools. It is to understand what those tools can install, which permissions they possess, and what happens when they introduce untrusted software into a development environment.

Bloom recommends auditing software used across the organization, including packages and other extensions or tools introduced through AI workflows. Teams should also consider supply chain controls that inspect or restrict software installation, alongside clear policies governing AI agent usage.

Package maintainers can take practical steps as well. Bloom advises using npm trust list to review publishing relationships, confirming that each repository slug still resolves to a repository under their control, and removing or recreating trust bindings after repository changes.

Following disclosure through GitHub’s HackerOne program on June 6, 2026, Bloom continued to track the issue and retested it before publication. The company found that npm had implemented a fix, which npm confirmed. Bloom also reported that npm’s GitLab Trusted Publishing implementation was affected.

AI agents are not the root cause of the vulnerability. They do, however, increase the importance of understanding how software enters development environments. As dependency management becomes more automated, security needs to cover not only who can publish a package, but also whether the publishing system verifies the right identity and whether downstream systems can safely consume the result.

Hot this week

Did David Wineland and Serge Haroche Steal Idea For The Nobel Physics Prize?

Dr. Omerbashich says the Royal Swedish Academy is a Crime Scene and he has the proof that Nobel laureates stole his discovery.

New Approaches to Disaster Relief Challenges

Disaster relief has always been a challenge. NASA, Google,...

3 Legitimate Money Making Methods to Supplement Your Income

In a perfect world, when your landlord raises your...

2016 Predictions by World Renowned Medium and Psychic Lindy Baker

World renowned medium and psychic Lindy Baker is interviewed by The Hollywood Sentinel, discussing psychic power, the spirit world, life after death, areas of concern in 2016, and much more.

Digital Coupon Customers Spending More Than Double At Stores

A new study shows that customers who use digital coupons go shopping more for groceries and other household goods more often and spend more on their shopping trips.

How White-Collar Cases Now Begin With a Document Request, Not a Knock at the Door

A federal grand jury subpoena shows up in the CFO's inbox, addressed to the company, asking for three years of emails, wire records, and board decks. The case is already underway. Nobody kicked in a door. No agent flashed a badge in the lob

The Stokes Interview Is Back: Here’s What Couples Must Decide

Two years ago, plenty of marriage-based green card couples never sat across a desk from a USCIS officer. Interview waivers were common, files moved on paperwork, and the second, split-room interview known as a Stokes was a rare escalation r

The Real Gaza – Not NAZA – Story

Israeli soldiers in Naza: The Real Story describe Hamas tunnels, weapons in homes, civilian disguises and control of Gaza aid.

The Truth Behind Those “Miracle” Plug-In Electricity Savers

Are "Miracle" Plug-In Electricity Savers really the miracle the marketing says they are? Is there any truth in it, or is it a scam?

Somali Olympic Committee Enrolls a Record Number of Women in National Youth Sports Development Program

In a landmark move for Somali sport, the National Olympic Committee of Somalia (NOCSOM) has launched its nationwide youth sports development program in Garowe, the capital of Puntland State.

Franchise Leads Are Plentiful. Knowing Which Candidates Are Ready Is Harder

Franchise conversion benchmarks show why enquiries rarely become sales. Verifran aims to assess candidate readiness before the first conversation.

Will Roberts Takes Center Stage as Carmel Film Festival Emcee

Will Roberts takes center stage as Carmel Film Festival emcee while Hollywood Adjacent and Knock at Eight add to his screen work.

Military Begins New Testosterone-Deficiency Screening Policy for Male Service Members

The Defense Health Agency has implemented a new testosterone-deficiency screening policy for male service members, creating one of the most notable changes to military men's health screening in 2026. Under the guidance released in September

Related Articles

Popular Categories