Toolspublished

Claude, Codex and Hermes Ran Unowned Package Commands Inside Corporate Networks

The experiment showed that trusted-looking documentation can become an execution path when an agent is allowed to install software. It did not establish confirmed infections or stolen production data.

By 3 min read
Claude, Codex and Hermes Ran Unowned Package Commands Inside Corporate Networks
Claude, Codex and Hermes Ran Unowned Package Commands Inside Corporate Networks

Listen to this story

The audio brief

About 1:35
0:001:35
Read transcript
Within an hour of publishing test packages, researchers received a callback from inside a Fortune 500 company. The package had been named in AI-readable documentation, but nobody had owned the name until the researchers registered it. Their experiment found that Claude, OpenAI Codex, and Nous Research’s Hermes executed some installation instructions in corporate environments. That is a supply-chain exposure, not proof of a breach: the researchers did not confirm infections, stolen production data, or compromised systems. The broader scan covered 6,214 domains tied to defense contractors, Fortune 500 companies, and major technology firms. Across 8,265 machine-readable files—often called L-L-M dot T-X-T or L-L-M full dot T-X-T—they found 120 files on separate sites containing 227 commands pointing to nonexistent packages or unclaimed domains. The risk is straightforward. If an agent treats documentation as authoritative and has permission to run a shell or package-manager command, an abandoned name can become an attacker-controlled delivery point. One example appeared in Clerk’s documentation: an N-P-X command for “clerk-next-fix-auth-protection.” Someone later claimed that package and used it to host live malware, and Clerk fixed the documentation. But the testing still does not establish that the Clerk case caused an infection. Publishers can audit every referenced package and domain. Organizations can require approval before execution. The key unresolved question is whether that approval gate would have stopped the activity.

Story brief

3 key points

Researchers found 227 commands pointing to unclaimed packages or domains across 120 machine-readable AI documentation files on corporate websites. After registering several names, they observed Claude, OpenAI Codex, and Nous Research’s Hermes execute some installation commands, including callbacks from a Fortune 500 company within an hour. A later-claimed package referenced by Clerk’s documentation hosted live...

  1. 01

    The scan covered 6,214 defense, Fortune 500, and major technology domains and identified 8,265 llms.txt or llms-full.txt files.

  2. 02

    One Clerk command, “npx clerk-next-fix-auth-protection,” referenced a package later used to host malware; Clerk fixed the documentation.

  3. 03

    The findings show package execution and network reachability, not confirmed compromise, production-data theft, or infections.

A package name left unclaimed in a company’s AI-readable documentation can become an attacker-controlled delivery point later. Researchers showed that coding agents including Claude, OpenAI Codex, and Nous Research’s Hermes executed some of those instructions inside corporate environments, turning an ordinary documentation error into a software-supply-chain exposure.

The researchers examined 6,214 live domains associated with defense contractors, Fortune 500 companies, and large technology firms. They found 8,265 llms.txt or llms-full.txt files, including 120 files on separate sites containing 227 commands that referred to nonexistent packages or unclaimed domains. These files are machine-readable website summaries intended for AI systems.

An empty name became executable infrastructure

The test began with names that nobody owned. Researchers registered several of them and published proof-of-concept packages programmed to contact their server when installed. Within an hour, one package received a response from a Fortune 500 company; a few dozen additional organizations later contacted the experimental packages.

A command on a legitimate site
npx clerk-next-fix-auth-protection

The callback data and process telemetry indicated that Claude, Codex, and Hermes were involved in executing some installation commands. The issue is not simply that an agent reads a bad page: the dangerous sequence requires an agent with permission to run shell or package-manager commands to treat that documentation as authoritative without checking whether the named package is still owned by its supposed publisher.

The scan in three figures
6,214Live domains analyzed

The sample covered domains in defense, Fortune 500, and large technology-company populations.

120Problematic files

Each was on a different site and referenced one or more unclaimed package or domain names.

227Unowned install or domain commands

The commands pointed to nonexistent packages or unclaimed domains.

The Clerk example shows the live version

One misconfigured file on clerk.com carried the npx command shown above. Unlike a normal dependency installation, npx can fetch a package and execute its exposed binary without adding it to a project’s dependency manifest. Someone later claimed the previously empty package name and used it to host live malware; Clerk has since fixed the documentation problem.

That case is evidence of an active malicious package, rather than only a laboratory callback. But it does not answer the most consequential operational question: it remains unclear whether the Clerk confusion caused infections. The testing likewise demonstrates that experimental packages were reachable and executed, not that production data was taken or any tested organization suffered a confirmed infection.

The next control sits before execution

The problematic references may have several origins. Some appeared in older, non-AI website files before this documentation convention emerged, pointing to human-authored mistakes; researchers also suspect that some entries may have been generated by AI. Either path leaves the same exposure once a name is abandoned and claimable.

The practical response has two parts: publishers can audit every package, command, and domain named in these files, while organizations can require explicit approval before an agent installs a dependency or runs a command. The findings do not show which approval controls were enabled in the tested environments, so the effect of a more restricted configuration remains unresolved.

Editorial analysis

Our Read

Our Read: The immediate lesson is not that every AI agent must avoid web documentation. It is that documentation can no longer be treated as both reference material and an approved software source. The strongest near-term signal to watch is whether companies split those roles operationally: audit stale names in published files, then require a human decision before an agent runs an installation command. That boundary is becoming more important as enterprises deploy agents with real shell access, alongside broader calls for stronger AI cyber defense.

Sources

  1. arstechnica.comClaude, Codex, and Hermes installed unowned code inside corporate networks
  2. forgeeks.netAI coding agents followed abandoned package references