· Analysis

Study: 15.4% of AI coding agent setups carry supply-chain risks

Researchers scanned 3,171 public GitHub repositories and found unpinned MCP servers and broad command permissions in 409 of 2,660 assembled coding-agent setups.

Illustration of a robot developer at a workbench connecting loose cables and padlocks to a tall stack of configuration files marked with curly braces. Image: AgenticFeed illustration

About 15.4% of public AI coding-agent setups on GitHub contain a configuration that could let a changed dependency or an overly broad permission reach the developer's machine, according to a study by researchers at Red Hat and Ben-Gurion University of the Negev. The team scanned 3,171 repositories and flagged 409 of 2,660 assembled setups.

The preprint, "Scanning the Harness," was posted to arXiv on Sept. 7 and revised Sept. 25. It hasn't been peer reviewed. It drew new attention on X on Nov. 30.

What a harness is

Coding agents such as Claude Code don't run on the model alone. They also load files that live in a project, starting with instruction files like CLAUDE.md or AGENTS.md.

Around those sit skills with reusable know-how and hooks that run code at set moments. Other files define subagents or declare MCP servers. MCP, the Model Context Protocol, is a standard way to plug external tools into an agent.

The authors call that layer the agent's harness. They argue it belongs in the software supply chain, just like npm packages, because it decides which programs an agent can start and which permissions it gets.

"These artifacts distribute both behavior and access to executable dependencies," the authors wrote.

The exposures they counted

The most common issue the researchers found was an unpinned MCP package.

That's a server declared with a runner such as "npx -y" and no version number, so a later install can pull a different program from the same line of config. It showed up in 260 setups, or 9.8%. Among the 1,063 setups that use MCP at all, the rate was 24.5%.

Broad execution grants appeared in 67 setups (2.5%), the paper says. These are settings that preapprove unrestricted shell access or wide use of tools like Python, so the agent can run them without asking. The paper's example is a grant written as Bash(python:*), which puts no limit on which Python program runs.

Broad skill preapproval, where a skill file grants wide tool access, turned up in 101 setups (3.8%) and in 19 of 511 published skill collections (3.7%).

Adding missing required fields and skill-format problems raised the share of flagged setups to 17.9%, according to the study.

What the study doesn't show

The authors are careful about limits. They measured what repositories declare, not what happens at runtime, and they didn't estimate how likely an attack is or how severe one would be. They also haven't measured how many exposures their scanner misses.

The team caught a mistake in its own method. Their scanner treated wildcard permissions for the "find" command as arbitrary code execution, but Claude Code's documentation excludes that case. Fixing it removed 62 findings, the authors reported.

How to tighten a setup

The paper's recommendations are concrete. Maintainers should pin MCP packages to exact versions or image digests and review updates. They should also check which commands a task really needs and narrow permission grants to match.

Skill and agent publishers should include required metadata, such as descriptions, the authors wrote. They also asked the companies building agent clients to show users the resolved version of each tool and the real scope of each permission grant.

The scanning tool, harness-eval, is open source on GitHub under a Red Hat community account. The authors also published their data and scripts so others can repeat the analysis.

Source: Preprint, Benjamin Kapner (Red Hat and Ben-Gurion University of the Negev), Carmel Soceanu, Alicia Petrunin and Hofni Gartner (Red, “Scanning the Harness: Configuration Exposures in AI Coding-Agent Supply Chains”

Additional sources: Code repository, Red Hat community AI tools (company source), accessed Nov. 30, 2026, “harness-eval”; X post, @damkina7 (independent account), Nov. 30, 2026, “Post on the Scanning the Harness paper”

Get the AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam, and you can unsubscribe at any time.

Want to reach readers following AI agents? Advertise with AgenticFeed

Next event · 30 Nov, 2026

AWS re:Invent 2026 in Las Vegas

AWS’s annual conference runs Nov. 30 to Dec. 4. Matt Garman’s CEO keynote is on Dec. 1, and the catalog lists more than 2,200 sessions.

The AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam.