CSA Warns MCP Version Pins Leave Government Coding Tools Exposed to Dependency Drift
A Cloud Security Alliance research note finds that pinning an MCP server’s top-level version does not lock its transitive dependencies, allowing code to change when environments are rebuilt. Government and contractor IT teams should treat MCP servers as executable supply-chain dependencies and consider reproducible artifacts, release-age controls, and tested updates in technical baselines and assessments.
Key Signals
- CSA identifies MCP dependency drift as a software-supply-chain risk for coding-assistant environments
- Corelight found public-registry dependency resolution in 23 of 35 reviewed MCP servers
- Require reproducible locked artifacts or immutable, digest-referenced images for approved MCP servers
- Add MCP launch-configuration inventories, release-age controls, and tested updates to technical baselines
- No solicitation, award, contract value, or deadline identified
A Cloud Security Alliance (CSA) research note, “Pinned but Not Frozen: Dependency Drift in Coding-Assistant MCP Servers,” highlights a supply-chain risk in how local Model Context Protocol (MCP) servers are launched by AI coding assistants. Rather than being installed as fixed software, many servers run as child processes after an assistant configuration directs a package manager to fetch and execute them. The note gives the example of a configuration using npx to retrieve a package from a public registry. Because that process can resolve dependencies at launch, installation, or image-build time, the executable code may change even when the reviewed configuration file does not.
The finding is relevant to government and contractor environments that use coding assistants or are evaluating MCP-enabled tools. In a review of 35 MCP servers, Corelight found that 23 had a recommended installation method that would resolve dependencies from a public registry, either on every launch or during installation or image builds. The CSA note calls the resulting gap “dependency drift.” It emphasizes that an exact version for the top-level server narrows the risk but does not necessarily freeze the full dependency tree: npm does not publish a package’s package-lock.json, and Python servers launched with uvx likewise may have unlocked dependencies in disposable environments.
The observed variation illustrates why this issue can matter to approval and configuration management. Corelight reported that a server configured to run one release, built from one commit, ran with 15 different dependency sets over five weeks. For a government system owner, that can complicate reproducibility, change review, incident investigation, and confidence that a contractor’s deployed environment matches its assessed baseline. The note also points to the March 2026 axios compromise, in which an injected transitive dependency delivered a remote access trojan during a window of roughly three hours, as an example of how a fresh resolution can admit a compromised release when its version range allows it.
The procurement implication is not a specific solicitation or award; the source identifies no contract value, deadline, or named procurement action. Instead, acquisition and technical teams can translate the findings into requirements and assessment questions for MCP-enabled tools and contractor environments. Controls identified in the note include inventorying MCP launch configurations, exact server-version pins, release-age cooldowns, restrictions on install scripts, and reproducible, locked artifacts. For high-value servers, the note recommends immutable internal builds or container images referenced by digest. It also cautions that pinning can preserve vulnerable software as well as safe software, citing CVE-2025-6514 in mcp-remote; therefore, teams need a tracked and tested update process rather than treating a pin as a permanent security solution.
- MCP launch configurations can fetch and execute public-registry packages as child processes, potentially with the developer’s privileges.
- In Corelight’s review, 23 of 35 MCP servers had a recommended install path that resolved dependencies from a public registry.
- A top-level version pin does not guarantee locked transitive dependencies for npm or Python servers launched with
uvx. - Corelight observed 15 dependency sets over five weeks for a server tied to one release and one commit.
- The note cites the March 2026 axios compromise, which exposed fresh dependency resolutions to a malicious release during an approximately three-hour window.
- Inventory MCP launch configurations and treat approved servers as executable dependencies in system and contractor baselines.
- Consider exact version requirements, release-age cooldowns, install-script restrictions, and reproducible locked artifacts in technical requirements and assessments.
- For higher-value servers, assess immutable internal builds or container images referenced by digest.
- Pair pinning with a tested update process: fixed versions can also retain known vulnerabilities, including the cited CVE-2025-6514 in mcp-remote.
- The signal identifies no specific solicitation, award, contract value, or deadline; its procurement relevance is through security requirements and technical assessments.
Agencies
- Cybersecurity and Infrastructure Security Agency
- National Institute of Standards and Technology
Vendors
- Cloud Security Alliance
- Corelight
Sources
- Pinned but Not Frozen: Dependency Drift in Coding-Assistant MCP Servers – Lab SpaceCloud Security Alliance (CSA) · Nov 15