Your AI coding assistant just installed unvetted code from a vendor's documentation file. No approval workflow. No security review. No human in the loop. The agent treated the vendor's instructions as ground truth, and now executable packages are running inside your network.
This isn't a theoretical risk. Researchers scanning 6,214 live domains found 8,265 llms.txt files, the emerging convention that provides machine-readable site summaries to AI agents. Of those, 120 pointed to unregistered code packages. When researchers registered a handful of these unclaimed names and hosted beacon code, they received phone-home responses from Fortune 500 companies within an hour. The agents executing this code? Claude, OpenAI's Codex, and Nous Research's Hermes.
You're facing a decision: how should your organization govern AI agents that interact with external documentation files? Here's how to think through your options.
The Decision You're Facing
Do you allow AI agents in your environment to autonomously parse and act on external llms.txt files, or do you implement controls that limit this behavior? This decision sits at the intersection of productivity and supply chain security. Get it wrong, and you've either crippled your development velocity or opened a direct path for AI Supply Chain Compromise.
Key Factors That Affect Your Choice
Agent autonomy level. Are your AI agents operating with full autonomy (executing code without human review), semi-autonomy (suggesting actions for approval), or supervised mode (all actions require explicit permission)?
Network segmentation. Do your AI agents run in isolated environments with restricted network access, or do they operate within your production network with broad permissions?
Code execution policy. Does your organization require security review for all external dependencies, or do you rely on developer judgment for package installation?
Regulatory obligations. Are you subject to frameworks like SR 11-7, which requires validation of third-party models and data sources, or the EU AI Act's supply chain documentation requirements under Article 16?
Risk tolerance. What's your acceptable threshold for supply chain risk? A single compromise in a high-risk AI system (as defined in Annex III of the EU AI Act) could trigger regulatory action and material business impact.
Path A: Unrestricted Agent Access
Choose this path if:
- Your AI agents operate in sandboxed development environments with no production access.
- You've implemented network-level controls that prevent outbound connections to unvetted domains.
- Your development workflow already includes mandatory security review before any code reaches staging.
- You're treating AI agents as productivity tools for individual developers, not as autonomous actors in your CI/CD pipeline.
Implementation requirements:
- Deploy agents only in isolated development containers with ephemeral filesystems.
- Implement egress filtering that blocks connections to domains not on your approved vendor list.
- Log all agent-initiated package installations for post-hoc review.
- Maintain an inventory of which agents have access to which environments (ISO/IEC 42001's control 6.2.6 requires documented AI system inventories).
When this breaks down: Your isolation fails if agents can write to shared repositories, if developers routinely move code from sandbox to production without review, or if your network segmentation isn't enforced at the hypervisor level. Consider a team that allows agents to commit directly to feature branches, you've just bypassed your security review process.
Path B: Allowlist-Based Access
Choose this path if:
- Your AI agents operate in environments with access to sensitive data or production systems.
- You're subject to model risk management requirements (SR 11-7 § 3 requires validation of third-party models and data).
- Your organization has defined high-risk AI systems under internal or regulatory frameworks.
- You need audit evidence showing you controlled AI agent behavior.
Implementation requirements:
- Maintain an approved list of domains from which agents can parse llms.txt files.
- Configure agents to reject instructions that reference external packages not in your dependency management system.
- Implement a review process for adding new domains to the allowlist (who requests, who approves, what evidence is required).
- Document your rationale for each approved domain as part of your AI Management System (ISO/IEC 42001 § 6.1.2 requires risk assessment for AI systems).
Verification steps:
- Test that agents correctly reject instructions from non-allowlisted domains.
- Audit agent logs quarterly to identify attempts to access blocked resources.
- Review your allowlist annually, vendors go out of business, domains expire, and trust relationships change.
When this breaks down: Allowlists become unmanageable if you have hundreds of vendors or if your development teams need rapid access to new tools. You'll also struggle if your agents can't distinguish between reading documentation and executing code, some agents treat all external instructions as actionable.
Path C: Human-in-the-Loop for External Instructions
Choose this path if:
- You're deploying AI agents in regulated environments (financial services, healthcare, critical infrastructure).
- Your risk assessment identifies AI agent behavior as a material risk to business operations.
- You lack the technical controls to enforce Paths A or B reliably.
- You're in the early stages of AI agent adoption and still learning how they behave.
Implementation requirements:
- Configure agents to flag any instruction that references external code packages.
- Require developer approval before agents execute installations.
- Provide developers with context: what package, from what source, requested by which agent.
- Log all approval decisions with justification (required for audit trails under ISO/IEC 42001 § 7.3).
Training requirements: Your developers need to understand what they're approving. "Install package X from domain Y" isn't enough context. They need to see: Is this domain registered to the vendor? When was it registered? Does the package signature match the vendor's public key? What permissions will this package request?
When this breaks down: Approval fatigue is real. If developers see 50 approval requests per day, they'll start clicking "yes" without reading. You've added friction without adding security. This path only works if you've invested in tooling that makes approval decisions fast and informed.
Summary Matrix
| Factor | Path A: Unrestricted | Path B: Allowlist | Path C: Human-in-the-Loop |
|---|---|---|---|
| Best for | Isolated dev environments | Production-adjacent systems | Regulated environments |
| Control level | Network segmentation | Configuration + policy | Manual approval |
| Audit burden | Low | Medium | High |
| Developer friction | None | Low | Medium to High |
| Supply chain risk | Contained by isolation | Reduced by vetting | Reduced by review |
| Regulatory alignment | Limited | Moderate (SR 11-7, ISO/IEC 42001) | Strong (all frameworks) |
The researchers who discovered this vulnerability registered unclaimed package names and waited. Your decision is which path prevents that waiting from being productive for an attacker. None of these paths is permanent, your controls should evolve as you learn how your agents actually behave and as the threat landscape changes. But you need to choose one now, document why you chose it, and test whether it's working. Because the alternative is letting AI agents make supply chain decisions on your behalf.



