Chainguard's MCP Servers Ground Dependencies. Its APK Repository Gates Them.
On 14 October Chainguard shipped four MCP servers as one part of a launch that also included remote development environments, a CI product and a penetration testing service. The sentence that made me read the rest of the documentation is this one: “Instead of relying on prompt guardrails, governance is enforced on the server side.”
I have argued since September that containment belongs in the kernel, because a model can be talked around an instruction and cannot be talked around a syscall. A dependency name is the same argument at a smaller scale. The manifest is where a model’s mistake turns into an install.
Read against Chainguard’s own documentation, the four servers are lookups over its catalog, and the server-side enforcement the launch post points at turns out to be response caps and token scoping. The control in the launch that actually refuses a package is an APK repository inside a Workspaces session, and it has nothing to do with MCP. The grounding is real and worth copying. What the launch post implies is that it gates the dependency, and the documentation does not support that.
The payload goes into the manifest
A paper submitted on 7 October treats the rule file as the attack surface. The rule file is the shared instruction document a coding agent reads before it works, the kind people commit to a repository as agents.md or .cursorrules. The attack puts text into one of those files that persuades the agent to replace a legitimate dependency with a package the attacker controls. The authors describe their method as “an evolutionary optimization framework that iteratively rewrites these injected prompts using trajectory-level feedback and LLM-guided mutations.” They report high success rates and transferability across models and agent frameworks, and the abstract gives no headline number, so I am not quoting one.
A prompt filter examines what the agent says. This payload arrives in the manifest instead, where the agent writes a dependency line and the next build resolves it.
How often the names get invented
The relevant measurement was last revised on 9 November, and the revision replaced the static package lists of earlier versions with two independent checks against the live PyPI and npm registries. Aleksandr Churilov replicated the Spracklen et al. method on five frontier models released between October 2025 and March 2026, over 199,840 Python and JavaScript generations. Hallucination rates came out between 3.6% and 5.0% of package mentions, which is 2.2% to 3.4% of generations. The paper puts the 2026 frontier at the level of the 2024 commercial models, and the open-weight gap has closed (arXiv 2605.17062v4).
The other number in that paper is 104, which is how many package names all five models invent identically. An earlier version said 127. Twenty-six of those turned out to be correct import statements whose module name differs from the package name.
An invented name is a supply-chain problem only if somebody can register it. Churilov used the accidental six-month public exposure of his own list as a natural experiment on that question, and the abstract reports no detectable effect of publication: about 1% of hallucinated names were registered within six months, “at the same rate for published and unpublished names,” and the 95% interval excludes increases above 2.5 percentage points. At least 23 names the models suggest had previously hosted malware that the registries later removed, and one hallucinated name was registered with malware after his runs.
What the four servers return
The servers are cg-oci, cg-apk, cg-versions and cg-api, generally available to enterprise customers. The Academy overview introduces them as four servers “that expose live product data”, and the table is plain about what each hands back: manifests, image configs, SBOMs, apko configs and provenance for an image reference from cg-oci; Wolfi package lookup by name, with package SBOMs and melange build configs, from cg-apk; upstream release and end of life history from cg-versions; and the platform API, read-only, covering organizations, IAM, registry metadata and security advisories from cg-api.
That is a lookup service, and the documented purpose is grounding: “An MCP client connected to them can answer questions such as what a given image’s SBOM contains, which Wolfi package replaces a Debian one, or whether an upstream release is still supported, using data from the product itself rather than from a model’s training data.” Any MCP-compatible client can connect to them directly, and in a Workspaces session Claude Code arrives with cg-apk and cg-versions already configured.
None of the four writes anything. Nothing in the overview ties a tool call to a manifest edit, and there is no documented step in which an agent must ask a server before writing a dependency line. The servers can only return what is in Chainguard’s catalog, so a model that asks gets an accurate answer about Chainguard’s world.
What the launch post means by server-side
The MCP post’s section on this is headed “Server-side controls enforce governance across any MCP client”, and the sentence I opened with leads the paragraph under it. The next sentence names the controls: “Response caps prevent unbounded queries, lower token consumption, and stop context window bloating during long coding sessions.”
Capping responses is a real thing to enforce, and it is about token budget. The other server-side control is in the documentation. Each server authenticates separately with OAuth, and “Every tool call is scoped to the token it runs under. The servers return what your Chainguard account can already read and nothing more, so two people connected to the same endpoint can see different repositories, packages, and organizations.” cg-api varies even its tool list by token, so capabilities you do not hold never appear in the client.
Scoping reads to a token and capping response size is governance of the server’s answers. It decides who can learn what. It does not decide what goes into a Dockerfile. The claim that governance is enforced on the server side is true in the sense that the checks run on Chainguard’s servers and apply to whichever client you use, and the checks the launch post names govern disclosure rather than the write.
Where a package name does get gated
The launch does contain a control that refuses a package. It is not in the MCP set. The session environment page says where a Workspaces session’s packages come from, naming “your organization’s Private APK Repository and the public Wolfi and Extra Packages repositories.”
A package that is not in one of those repositories has nothing to install from in that session, which is how a repository-backed package manager behaves everywhere. That is the property I have argued only an enforcement layer gives you, and here it applies to APK packages in a Workspaces session. It says nothing about the four MCP servers, and nothing about requirements.txt.
The two controls do different jobs. A lookup changes what the model can learn, so it gives the model less reason to invent a name. A repository changes what can install, so an invented name fails at build time whatever the model believes about it. The first reduces the chance of a bad name. The second is what stops the build when the chance comes up anyway.
What the gate does not cover
How much the lookup buys you depends on what is in the catalog. The four servers cover the container images in cgr.dev, the Wolfi package index, upstream release and end of life history, and the platform API (servers overview). None of the four resolves a name against PyPI or npm. The overview also documents three content servers outside that set, for documentation search, manual pages and agent skills, and none of them is a dependency control.
The measurement is Python and JavaScript generations revalidated against PyPI and npm (arXiv 2605.17062v4), which makes it a measurement of those two registries. It does not say whether any of those strings is also an APK package name.
The APK gate covers an APK namespace the paper never measured. The read-only lookups cover neither of the registries it did. A conventional PyPI requirement, a bare name that pip resolves from an index, is the case the paper measured, and the two servers nearest to it do not answer there: cg-apk resolves Wolfi packages by name and cg-versions reports upstream release history for projects Chainguard tracks. Requirements files are wider than that. pip also accepts archive URLs and paths, local project paths, VCS URLs and alternate index settings in the same file (requirements file format), and none of those forms is a catalog the four servers read.
Chainguard sells something pointed closer at that problem. Libraries, which expanded to Go and .NET on the same day and is in early access, scans dependencies for malware and greyware and applies a configurable delay before new packages become available, per InfoQ’s description. A dependency firewall is a different mechanism from a namespace lookup, and it is the one aimed at the registries the measurement actually covers.
The default the documentation states
The release describes protection as “built into the environment rather than left to the agent” and, four bullet points later, describes “optional egress policies that block any connection a team has not approved.” Both sentences are in the same press release, so nobody is claiming the egress policy is on by default. InfoQ, describing the launch, says “Optional egress rules can block and record connections to endpoints that a team has not allowed.”
The documentation is the only Chainguard surface I read that states the default. A session “reaches the open internet by default, the same as a laptop, so package managers, git, and build tools work without configuration.” The allowlist exists, and it comes from a check in .chainguard/ci.yaml. The gap is spelled out on the same page: a session “whose environment has no network key reaches the open internet. That includes every session that uses a .chainguard/develop.yaml file, which can’t have a network key.” (Workspaces overview)
develop.yaml is the file the environment reference documents for setting up a session, and it cannot express the egress policy. Getting the allowlist means opening the session with --check against a CI check that has one.
There is also a default-deny in the same page: “Chainguard always blocks cloud metadata endpoints, loopback addresses, and private IP ranges.” That covers the targets that matter most if an agent is talked into fetching something it should not, so open by default is not the whole picture. The session is open to the public internet and closed to the metadata service.
The product page describes “configurable default-deny policies that block unsanctioned outbound network traffic and log all agent actions”, and the word configurable is doing the work the documentation does at more length. I do not read these three surfaces as contradicting each other. One states the default, and the other two describe the mechanism.
The distinction still matters to anyone buying on the release. A default is what you get when you configure nothing, and here that is a session with CI credentials proxied into it, a working tree synced from a developer’s laptop, and a route to the open internet.
A preview that is not cleared for regulated data
The availability section of the Workspaces overview is more direct than anything in the launch material. Workspaces “is offered as a Technology Preview,” and the section continues: “Technology Previews aren’t recommended for production use. Don’t use a Technology Preview to process personal data, or any data subject to legal or regulatory compliance requirements, unless Chainguard specifically authorizes it.”
The design partner quoted in the release is Cuscal, which moves money for banks, fintechs and corporates in Australia. I do not know what Cuscal runs inside a session, and the release does not say, so I am not going to build an argument on the pairing. An early design partner serving regulated customers and a preview barred from regulated data are both true of the same product, and a compliance team that reads only the release will learn one of them.
The same page carries boundary detail I did not find in either trade write-up. chainctl develop syncs the working tree into the session. How much of .git travels depends on whether the session can start from a commit the remote already has. When it cannot, the whole directory goes apart from config and hooks, including stashes, reflogs and objects git has not pruned. The documentation says what to conclude from that: “If a secret was ever committed or stashed in the checkout, or in a repository nested in it, assume that it can reach the session.”
Submodules arrive empty. A directory that is not a git checkout syncs every file in it, dotfiles included, so a working .env travels. The session runs as root by default (Workspaces overview).
None of that is a hole in the microVM. The boundary begins at the sync and not at the VM, and the sync is the part that touches the developer’s disk. The isolation and the credential mediation are not new either: E2B has resolved credentials outside the guest since September, and I wrote that up in October.
Harness is a different product
The launch included Harness, and putting it in the same stack as Workspaces is a category error.
Harness builds an application from source, boots it in a microVM, points a frontier model at the running instance and asks it to find exploitable bugs. The microVM resumes with “no network egress and no credentials inside.” The agent loop runs outside the sandbox, so every tool call and command the model issues is logged. Every exploit is replayed in a fresh microVM. “If it doesn’t land every time, it doesn’t make the report.” A named Chainguard engineer reviews and approves every fix (Harness post).
That is a penetration test with an agent inside it, and it is on a beta waitlist rather than in beta. The trust runs the other way, too. Workspaces exists so you do not have to trust your own agent. Harness exists so you do not have to build your own offensive harness, and it asks you to trust the operator instead: repositories shared read-only, and “Only Chainguard staff operate the model, and no one outside Chainguard can instruct it or see its raw output.”
Both are reasonable products, and I would not describe them as one stack.
What I would copy
Two things are worth taking, and neither requires a purchase.
The first is the pairing rather than either half on its own. A catalog lookup catches a bad name where the name is chosen, before the manifest is written, but only if something makes the lookup a required step. The Chainguard servers do not: an agent can write a dependency line without calling them, and neither the overview nor the launch post describes a step that puts the call before the write. A repository that refuses to resolve a name catches it at install, without needing the agent’s cooperation. A team generating code at volume can run both against whatever registries its build actually uses, with the lookup wired in as a validation step the agent has to clear, and the pair is worth more than either alone.
The second is the habit of finding the default. Every security claim attached to this launch traces back to Chainguard, and I found no independent evaluation of the isolation, the credential mediation, the tamper resistance of the log or the attestation chain. The outside coverage I read is trade-press summary rather than testing: InfoQ’s write-up and a Unite.AI piece whose byline discloses an AI-generated research agent. What a secure-by-default pitch is worth rests on what the control does when nobody configures it, and for egress the documentation answers that in one sentence.
I think the manifest is a good place to attach a control, and four servers that make a catalog answerable to an agent are a sensible way to build one. What I would not do is take the launch post as the description of what they enforce. On the two points that decide the question, which namespace the gate actually covers and where the egress default sits, the documentation answers both and the announcement does not.
Sources
- Introducing Chainguard MCP for secure agentic development — Chainguard, 2026-10-14
- Everything we announced at Chainguard Assemble London 2026 — Chainguard, 2026-10-14
- Introducing Chainguard Workspaces: Hardened, Hardware-Isolated Environments — PR Newswire, 2026-10-14
- Chainguard Workspaces overview — Chainguard Academy documentation, updated 2026-11-03
- Chainguard Workspaces session environment — Chainguard Academy documentation, updated 2026-11-12
- Chainguard MCP servers overview — Chainguard Academy documentation, updated 2026-11-12
- Chainguard Workspaces product page — vendor page
- Introducing Chainguard Harness — Chainguard, 2026-10-14
- Chainguard Launches Secure Workspaces and Checks for AI Coding Agents — InfoQ, 2026-10-16
- Chainguard Launches Workspaces and Checks to Secure AI Coding Agents — Unite.AI, October 2026; the byline discloses an AI-generated research agent
- The Range Shrinks, the Threat Remains: Re-evaluating LLM Package Hallucinations on the 2026 Frontier-Model Cohort — arXiv 2605.17062v4, revised 2026-11-09
- Package Hallucination Attacks on Coding Agents through Prompt Injection in Rule Files — arXiv 2610.09264v1, submitted 2026-10-07
- Requirements File Format — pip documentation v26.3