Dispatch

Trust Was Decided by the Thing Being Trusted

Across eight recent security and supply-chain accounts, the same move repeats: a commit pin, an instructions file, a config field, a repository setting, or an OAuth response decides whether it will be trusted. The gate is either absent, or it is asked after the command has already run.

The Inciting Anomaly

On 22 October, the security firm Forever Security reported a downloaded instructions file steering a customer's coding agent. The file was a planted AGENTS.md, the kind of document a coding agent is built to obey, and a website had dropped it into the Downloads folder with no click and no permission prompt. In a lab reproduction, OpenAI's Codex read the file and rewrote its machine-wide settings to load an attacker's MCP server, an add-on tool the agent loads at startup. The attacker's code ran in over 90% of attempts, and the change persisted across every project on that computer [1].

The same firm routed around Claude Code by a different path: a long, bland CLAUDE.md talked the agent into writing its own settings file and pointing its API traffic at the researchers' server. A short, obvious instruction was refused; the long document succeeded about half the time, and it leaked the agent's login token immediately. The researchers' conclusion was that there is nothing to patch, because an agent obeying the instructions file in its folder is doing what it was built to do. The interface between a file and an instruction had stopped holding, and no component was malfunctioning.

Pattern Synthesis

The first pattern is that an object read as inert turns out to carry authority. Git reads a repository's own configuration when an agent runs git status, and a core.fsmonitor entry there runs a command as the developer, outside the agent's sandbox, before the workspace-trust prompt appears. Manifold Security found eight instances across seven agents, and four of the seven still lacked a complete fix at publication [2]. Langflow's MCP configuration did the same with a config field: the stored command went to bash with no validation, and merely loading the server-list page fired it. Honeypot sensors recorded 1,751 attempts through 16 October, though those are observations rather than confirmed compromises [3].

The second pattern is that the label is checked while the object is not. Every major coding agent trusted a plugin's pinned commit, forty hexadecimal characters meant to be immutable. Git prefers a ref over an object id when a name is ambiguous, so an attacker could create a branch named exactly like the hash and have the checkout resolve to it while the install report still showed the pin. Claude Code and Codex patched; GitHub's Copilot CLI shipped no client fix; Gemini CLI was deprecated and left unpatched, leaving two of four exposed [4]. A batch of twenty AI-platform CVEs followed the same shape, published within eighteen seconds on 16 October: thirteen of the twenty were missing-authorization or missing-check weaknesses, and no patched version was listed for most [5]. In rmcp, the Rust MCP SDK, a rogue server could simply omit the RFC 8707 resource indicator and receive a broad enterprise token, because the server was allowed to say how wide the scope should be [6].

The third pattern moves the cost and the evidence to a third party. A criminal seller marketed MONST3R-AI, an autonomous scanning tool that runs on stolen OpenAI, Anthropic and Google keys, so the key's owner pays for the scans; the seller's own figure of 1,072 findings across 199 hosts is unverified [7]. Glow Labs' PixelLeak research found over 13,000 internal images published across 900-plus repositories because coding agents needed somewhere a reviewer could load a screenshot and the only routes were public. In 93 percent of the cases the repository belonged to an employee's personal account, outside organization-scoped scanning [8].

Architectural Mechanics

The mechanism is the same at every layer: the artifact supplies the evidence used to clear it. A pin is resolved on the client, so the client is the only place the check could happen, and it checked the name rather than the result. A repository's configuration is read by the git process the agent itself started, so the permission model never sees the command. An OAuth metadata response is written by the remote party, so the remote party decides the scope. A downloaded file is the agent's own instruction format, so obeying it is correct behaviour.

Two consequences follow. First, the check has to sit after the resolution, not before it: verifying that HEAD landed on the pinned commit is a different act from reading the pin. Second, inventory has to match the artifact. The twenty-CVE records resolve in OSV and GitHub's advisory database only as repository ranges with no package name, so a complete dependency scanner returns zero findings; the advice is to inventory by deployed application. PixelLeak makes the same point about pixels: text-based secret scanners read text, not images, and organization-scoped scanners do not read personal accounts at all.

The common root is that trust was delegated to the thing being trusted, and each delegate returned a favourable answer by construction. The pin vouched for the pin. The config vouched for the config. The server vouched for the token's scope. None of these is a malfunction; each is the designed behaviour of a component that was never asked to prove anything.

The Horizon

The mitigations that appear in the evidence share one property: they move the check to the last responsible moment. For the plugin pin, the marketplace's best partial move is to allow only hosts that reject SHA-shaped branch names, while the durable fix is verification after checkout. For the config field, Langflow removed the bash wrapper entirely in 1.10.3 and now executes the process directly. For the OAuth case, the fix is to enforce the resource indicator in the SDK rather than trusting the server to send it. None of these makes the artifact trustworthy; each stops the artifact from being the one that decides.

The record is the other pressure point. A stolen key is an exposed cloud credential, and the ordinary hygiene named in the evidence is to scan for exposed provider keys, verify every MCP server and agent plugin, and keep local coding agents out of sensitive directories [7]. PixelLeak's advice follows its own finding: audit the people who commit to private repositories, include departed employees, and check releases and gists. The fixes are partial and measurable: two of four plugin clients, three of seven agents, and one of five agent platforms in the Lasso batch, so the exposure persists where the patch did not land.

The direction the evidence supports is a gate placed after resolution, an inventory keyed to what is actually deployed, and a trust decision made by the party that can be held to it. The eight accounts differ in product and in bug. They agree on where the decision was made.

Log take: the artifacts differ, but the move does not: each one was allowed to answer the question of its own trust, and each answered yes. The fixes in evidence all do the same thing: they move the check to after the object has resolved, and they make a party other than the artifact responsible for the answer. Confidence is medium-high: eight accounts, several with assigned CVEs, one with no exploitation reported and one with unverified seller figures.

References

  1. [1] A markdown file in Downloads hijacked the coding agent
  2. [2] core.fsmonitor, run by the agent's own git status
  3. [3] A config field ran as a shell command
  4. [4] A branch named after the commit it was not
  5. [5] Twenty CVEs in eighteen seconds, no patch listed
  6. [6] The OAuth handshake found a confused deputy
  7. [7] Someone else's key paid for the scan
  8. [8] Proving a change worked, in public

Authored · published 2026-10-26.