When engineering leaders evaluate AI coding tools, the conversation almost always gravitates toward model capability: which assistant writes cleaner code, which one handles larger context windows, which one scores best on SWE-Bench. What receives far less scrutiny is the runtime infrastructure those tools sit on top of, and what happens when that infrastructure changes without a formal release process that your security team can track. The Claude Code episode involving Bun's internal Rust rewrite is a useful lens for examining this gap, not because it represents a catastrophic failure, but because it illustrates exactly how invisible the dependency layer of AI tooling can be to the organisations deploying it at scale.
What the Bun Rewrite Actually Reveals
Claude Code ships with Bun as its JavaScript runtime. Bun is not a peripheral dependency; it is the execution environment that runs the tool's core logic on developer machines. When the Bun project undertook a significant internal rewrite of components from Zig to Rust, that change propagated through to every Claude Code installation that updated, without the kind of change communication that enterprise software supply chain governance typically requires.
The issue is not that rewriting components in Rust is inherently risky. The issue is that engineering teams deploying Claude Code into regulated or high-stakes environments had no structured mechanism to know that a runtime-level change had occurred, evaluate its implications, or gate the update through their own change management process. The dependency was opaque, and the update was effectively silent.
This matters because the attack surface of a developer tool is not limited to the AI model itself. The runtime, the native binaries, the network clients, and the file system access patterns all constitute infrastructure that can introduce vulnerabilities, behavioural regressions, or compliance exposure.
The Governance Gap in AI Tooling Adoption
Most enterprise software procurement processes are built around a reasonably stable model: vendors publish changelogs, security advisories follow CVE conventions, and infrastructure changes go through a review cycle before reaching production environments. AI coding tools, particularly those distributed through package managers and updated through auto-update mechanisms, do not consistently fit this model.
When a tool like Claude Code updates its bundled runtime, the change may not surface in a security advisory. It may not be reflected in a versioned SBOM. It may not trigger any alert in a software composition analysis tool, because the runtime is bundled rather than declared as an external dependency in a format those tools can parse. The governance infrastructure that CTOs rely on for visibility simply does not see it.
This is a structural problem, not a vendor-specific one. The category of AI coding assistants, as it currently exists, was not designed with enterprise change management workflows as a primary constraint. Vendors optimised for developer experience and rapid iteration. The governance layer is the engineering leader's problem to solve.
What a Defensible Evaluation Posture Looks Like
Treat Bundled Runtimes as First-Class Dependencies
The starting point is a documentation exercise. Before deploying any AI coding tool at scale, map every bundled binary and runtime component that ships with it. This means inspecting the installation package directly, not relying on vendor documentation, which will typically describe the AI capability rather than the infrastructure stack. Tools like otool, ldd, or binary inspection utilities can surface native dependencies that are not declared in a manifest.
Gate Updates Through a Controlled Distribution Channel
Enterprise deployment should not rely on developer machines pulling updates directly from a vendor's CDN. A controlled internal mirror, with a review step before new versions are promoted, gives your security team the window to evaluate runtime changes before they reach production pipelines. This is standard practice for operating system packages and should apply to AI tooling.
Require SBOMs as a Procurement Condition
Software Bill of Materials documents are increasingly a baseline expectation in regulated industries and government procurement. Requiring a machine-readable SBOM from AI tooling vendors, covering not just the application layer but bundled runtimes and native binaries, gives your composition analysis tooling something to work with. If a vendor cannot provide one, that is itself a meaningful signal about their supply chain maturity.
The Broader Pattern: Infrastructure Opacity at Scale
The Bun rewrite is one instance of a broader pattern. AI coding tools are composite systems: a model API, a client application, a runtime environment, native extensions, and often a set of background processes that manage context, indexing, or telemetry. Each of those layers can change independently, and the update cadence for AI tooling is typically much faster than enterprise software.
Deploying these tools to hundreds of engineers without a clear picture of what is running on their machines is a supply chain risk that most organisations would not accept for a database client or a build tool. The fact that the AI capability is the visible, compelling part of the product does not change the risk profile of the infrastructure underneath it.
Our article on Config as Code and MCP covers the infrastructure primitives that make AI tooling programmable, versioned, and auditable, which is directly relevant to the governance controls described here.
What Engineering Leaders Should Audit Now
The practical question is where to start. Three audit areas are worth prioritising before the next AI tooling procurement decision.
First, inventory what is already running. Most organisations that have adopted AI coding assistants have done so incrementally, with individual teams making their own tool choices. A centralised inventory of which tools are deployed, at which versions, on which machine classes, is a prerequisite for any meaningful governance.
Second, review update mechanisms. Determine whether tools in your environment are auto-updating, and if so, whether that update path bypasses your endpoint management controls. An AI tool that updates itself outside your MDM or endpoint management visibility is a gap worth closing regardless of the runtime dependency question.
Third, establish a minimum disclosure standard for new procurement. Vendors who cannot describe their runtime dependency stack, their update signing process, and their process for communicating infrastructure-level changes should be evaluated more carefully than those who can. This is not an unreasonable bar; it is the same bar you would apply to any other infrastructure software.
The model capability question will continue to dominate AI tooling evaluations because it is the most visible and commercially legible dimension. But the organisations that deploy these tools most effectively over the next several years will be those that treated the infrastructure layer with the same rigour they applied to the AI layer from the beginning.
FAQs
A bundled runtime update can change binary behaviour, introduce new native dependencies, modify file system or network access patterns, or carry its own vulnerabilities. Because the update is packaged inside the AI tool rather than declared as a separate dependency, it will typically bypass software composition analysis tools and endpoint management alerts that would otherwise flag a change. The risk is not that any specific update is malicious; the risk is that your security team has no visibility into what changed and no opportunity to evaluate it before it runs on developer machines.
A Software Bill of Materials document enumerates the components that make up a piece of software, including transitive dependencies and bundled binaries. For AI coding tools, a useful SBOM should cover not just the application layer but the bundled runtime, any native extensions, and the versions of all components at the time of release. The most actionable formats are CycloneDX or SPDX, both of which are machine-readable and can be ingested by composition analysis platforms. Requiring an updated SBOM with each release, not just at initial procurement, is the standard that gives your tooling continuous visibility rather than a point-in-time snapshot.
The pattern applies broadly across the category. Most AI coding assistants ship as composite systems that bundle a runtime, native binaries, and background processes alongside the model client. GitHub Copilot, Cursor, Codeium, and similar tools all have infrastructure layers that are not always fully documented in vendor security disclosures. The Bun rewrite is a concrete and well-documented example, but the underlying governance gap, that AI tooling infrastructure changes faster than enterprise change management processes can track, is not vendor-specific.
The most defensible approach is to mirror approved versions internally and distribute updates through your existing endpoint management infrastructure rather than allowing direct vendor CDN pulls. This gives your security team a review window before any new version reaches developer machines. In practice, this means pinning tool versions in your internal package registry, establishing a review cadence aligned with your change management policy, and defining a clear process for emergency updates when a critical vulnerability requires an expedited rollout.
Ask vendors to describe every runtime component and native binary bundled with their tool, their process for communicating infrastructure-level changes between major releases, whether they publish signed SBOMs with each release, how they handle security disclosures for vulnerabilities in bundled dependencies, and whether their update mechanism can be disabled or routed through an internal distribution channel. Vendors who cannot answer these questions concretely have not built their product with enterprise supply chain governance as a design constraint, which is relevant information for your procurement decision.
Most enterprise software supply chain programmes were built around package managers, container registries, and CI/CD pipelines where dependencies are declared in a manifest and can be scanned automatically. AI coding tools often sit outside this infrastructure because they are installed directly on developer machines rather than deployed through a container or build pipeline. The gap is not that your existing supply chain security tooling is inadequate; it is that AI coding tools require an extension of that programme to cover a new distribution pattern. Treating AI tooling procurement with the same rigour applied to build tools and IDE plugins is the practical starting point.

