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.

The Checkup Men Skip: What Testicular and Prostate Warning Signs Actually Look Like

Men are remarkably good at tolerating discomfort and remarkably bad at reporting it. Ask a urologist what the most common delay in genitourinary cancer care looks like, and the answer is rarely a diagnostic failure. It is a man who noticed

The Research Report Passed Review, but the Evidence Was Incomplete: Why Biotechnology Companies Need Stronger Scientific Audit Trails

A biotechnology company receives a laboratory report that appears to confirm a research finding. The figures are consistent, the document has been reviewed, and the reported result seems sufficient to support the next stage of an investigat

What to Expect at Your First Pointe Shoe Fitting

For all young dancers who take even a single...

The Insurer’s Nurse Followed You Into the Exam Room

You're on the paper-covered exam table waiting for the orthopedist when someone you've never met walks in behind the nurse. She introduces herself as the case manager assigned to your workers' compensation claim, takes the chair by the door

When the Second Assist Vanishes, Who Carries the Exposure?

A lumbar fusion requires more than the surgeon's hands. Retractors must maintain exposure, instruments need to move efficiently, and the team must respond when bleeding or difficult anatomy changes the operative plan. In some operating room

I Tested Stop Brain Clutter App’s Personalized Meditation System

Stop Brain Clutter takes a different approach to guided meditation. The app builds a personalized meditation from information you give it.

Israel, You Must Muster Unity

But what makes Israel particularly remarkable is the idea that unity does not require sameness.

Related Articles

Popular Categories