---
title: "Claude Code's Silent Dependency Choices Put Security Teams on Alert"
subtitle: "A new pre-registered study protocol examines whether configuring Claude Code and OpenAI Codex can actually control which libraries they silently pull into your codebase."
url: "https://alphasignal.ai/news/claude-code-s-silent-dependency-choices-put-security-teams-on-alert"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-06-02T00:00:00.000Z"
updated: "2026-06-10T15:32:39.746Z"
type: "Paper"
topics:
  - "Development"
  - "Agents"
subtopics:
  - "Code Agents"
  - "Code Agents"
  - "Agent Frameworks"
  - "Mcp"
upvotes: 966
source_url: "https://arxiv.org/abs/2606.03907"
comments: 0
truncated: true
---

# Claude Code's Silent Dependency Choices Put Security Teams on Alert

> A new pre-registered study protocol examines whether configuring Claude Code and OpenAI Codex can actually control which libraries they silently pull into your codebase.

Every time you hand a task to an agentic coding tool, it makes a quiet judgment call: should it write this functionality from scratch, or just `import` something? That decision, which researchers call the **build-versus-buy** choice, is happening thousands of times a day across codebases worldwide. And until now, nobody has run a controlled experiment to figure out whether developers can actually influence it.

A new [pre-registered study protocol](https://arxiv.org/abs/2606.03907) from researchers at the University of Canterbury and King's College London aims to change that. The paper lays out a rigorous experimental design to test how different configuration mechanisms in [Claude Code](https://code.claude.com) and OpenAI Codex shape the dependency decisions those tools make, and whether the tools honestly disclose the libraries they introduce.

## The Silent Dependency Problem

Agentic AI coding tools accept high-level task descriptions and plan, write, and execute code with minimal per-step human direction, introducing external dependencies without explicit instruction. For example, when a developer asks such a tool to implement authentication, it may write `import bcrypt` or issue a `pip3 install passlib` command without stating so in its natural-language reply. The dependency enters the codebase unannounced.

If the developer does not review code changes systematically, it may not be noticed until a security audit or license scan surfaces it. That is not a hypothetical edge case. As adoption of these tools grows, observational data confirms that systematic library preferences are already visible in deployed releases. The scale of the problem compounds quickly: prior research found that eight LLMs systematically overuse popular libraries like NumPy unnecessarily in roughly 45% of cases, and defaulted to Python even for performance-critical tasks where it is suboptimal.

The agentic AI setting inherits traditional build-vs-buy tensions and adds two of its own: the decider is the tool rather than a human engineer, and the decision is often unannounced in the natural-language interface, so the human oversight that earlier software engineering literature relied on is harder to apply.

## Why Configuration Is the Lever

Both Claude Code and OpenAI Codex expose a layered set of mechanisms that developers can use to shape tool behavior. Understanding these layers is key to understanding what the study is actually testing:

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [The Impact of Configuring Agentic AI Coding Tools on Build-vs-Buy Decisions: A Study Protocol](https://arxiv.org/html/2606.03907v1)
- [What Is Agentic Coding? Risks & Best Practices – Apiiro](https://apiiro.com/glossary/agentic-coding/)
- [Claude Code Skills Complete Guide: SKILL.md, MCP, Subagents & Teams (2026)](https://duet.so/guides/claude-code-skills-complete-guide)
- [Claude Code Official Docs – Overview](https://code.claude.com/docs/en/overview)
- [Agentic Coding in 2026 – Webfuse](https://www.webfuse.com/blog/agentic-coding-in-2026)
