Skip to main content

Key Takeaways

  • Researchers scanned 6,214 corporate domains and found 120 llms.txt files that pointed to unregistered code packages or domain names on PyPI, npm, and other registries.
  • After researchers registered a handful of unclaimed package names from corporate llms.txt files, a Fortune 500 company ran one within an hour, followed by a few dozen more Fortune 500 companies and startups, Ars Technica reported.
  • Records captured by researchers' test packages showed that the coding agents Claude, OpenAI Codex, and Nous Research Hermes installed packages named in corporate llms.txt files.
  • An llms.txt file on clerk.com pointed to a package name that someone had already registered and filled with malware. Clerk has since resolved the problem.

AI coding agents, tools that write and run code for developers, installed unowned software packages inside corporate networks after reading companies' own llms.txt files. Researchers at a stealth startup in Israel, including Alon Hertz, published the findings on Medium, and Ars Technica reported them on August 27, 2026.

What the researchers found

An llms.txt file is a proposed standard file that gives AI agents a machine-readable summary of a website, described by Ars Technica as the AI equivalent of robots.txt.

The researchers scanned 6,214 live domains belonging to defense contractors, Fortune 500 companies, and large technology firms and resolved 8,565 llms.txt files. According to Ars Technica, 120 of the files, each on a different site, pointed to code packages or domain names that were not registered. Those files contained 227 commands to install non-existent packages or visit unclaimed domains.

The commands referred to PyPI, npm, and other package registries, the public catalogs from which developers download code.

The Cloud Security Alliance (CSA) called the finding a variant of slopsquatting, in which attackers register package names that AI models make up. Here, the unregistered names come from the companies' own documentation.

How the agents installed the packages

The problem occurs when a coding agent with permission to run commands treats an llms.txt file as authoritative setup instructions, Ars Technica reported. Some agents then download and run the listed package without checking who owns the name, the researchers wrote. Because the names were unregistered, anyone could claim one and publish code under it.

As a test, the researchers registered a handful of the unclaimed names with packages that contacted their server when run. A Fortune 500 company made contact within an hour, and a few dozen more followed from other Fortune 500 companies and startups, according to Ars Technica. The researchers wrote that the first callback arrived in under four minutes.

The packages also recorded which programs started each installation, showing that coding agents including Anthropic's Claude, OpenAI's Codex, and Nous Research's Hermes ran the installs.

Malware on a package linked from clerk.com

At least one attacker was already exploiting the problem, Ars Technica reported. The researchers found an llms.txt file on clerk.com, the website of the company Clerk, with a command to run a package called clerk-next-fix-auth-protection through npx, a tool that can download and run a package without adding it to the project's dependencies.

Clerk never published a package by that name, the researchers wrote; someone else had registered it and used it to host malware. The open-source vulnerability database OSV lists it as malicious code (MAL-2026-11069) and records that it sends the installer's username, computer name, working directory, and a timestamp to an outside server.

Clerk has since resolved the problem. It is unclear whether any systems were infected, Ars Technica reported.

Why security tools did not flag it

To endpoint detection and response (EDR) software or a network proxy, tools that monitor corporate computers and traffic, the activity "looks like a developer running a legitimate package manager," the researchers wrote. The install comes from pypi.org, a site corporate proxies already allow, and a coding agent the company installed on purpose starts it.

The agent sees a file served over HTTPS from the company's official domain and "has no reason to question any of it," according to the researchers. The researchers added that files from partners, vendors, and community projects that agents trust carry the same risk.

Ars Technica traced the cause to the same weakness behind prompt injection, attacks that hide instructions for AI models in the content they read: large language models cannot reliably tell their user's instructions apart from content found on untrusted third-party sources. Unlike prompt injection, the instruction in an llms.txt file can be harmless when written. "The danger comes later, when the package or domain it points to is abandoned and someone else claims it," Hertz said, according to Ars Technica.

What organizations should do

A Cloud Security Alliance research note published September 7, 2026 recommends:

  • •
    Audit llms.txt files. Publishers should check every install command, package reference, and domain name against the registry or DNS record, and register any referenced package they do not already hold.
  • •
    Require human approval for installs. Agents allowed to run commands or install packages should not run install commands taken from external documentation without a person confirming first.
  • •
    Check packages before installing. Teams should check proposed packages for registration date, publisher, and download history. Software composition analysis tools, which inventory a project's third-party code, should flag new packages with no download history.
  • •
    Lock dependencies. Teams should commit lockfiles, which record a project's exact dependencies, and verify them against known-good hashes so a substituted package cannot replace an expected one.
  • •
    Treat agent-facing text as code. Any text an agent may turn into a command, including llms.txt files, README files, and the tool descriptions agents read, needs the same review, provenance tracking, and change control applied to code.