AI Governance Institute
← News
Research2026-08-04

Poisoned AI Config Files Turn Sanctioned Coding Agents Into Exfiltration Tools

What happened

Mitiga published research documenting the PromptLogger attack technique, in which threat actors embed malicious directives inside AI agent configuration files, specifically files such as CLAUDE.md, .cursorrules, and GEMINI.md that coding assistants use to shape their behavior. When a developer imports one of these poisoned files from a shared repository, the agent begins silently forwarding user prompts, authentication credentials, and environment variables to attacker-controlled endpoints. The attack executes entirely through the agent's own reasoning and instruction-following mechanism, producing no separate process or binary that endpoint detection tools would flag. Because the malicious payload is expressed as natural language instructions rather than executable code, standard workstation monitoring has no reliable signal to detect it. The technique applies to any agentic coding assistant that reads external configuration files, meaning tools that enterprise security teams have already reviewed and approved become the delivery mechanism for data theft.

Why it matters

  • ·Enterprises that have completed AI tool approvals and vendor risk assessments for coding assistants may have done so without evaluating the instruction files those tools consume, leaving an uninspected attack surface inside their approved software stack. The supply chain risk sits one layer below the tool itself, in community-shared configuration files that developers routinely import from public repositories.
  • ·Standard endpoint controls provide no detection signal for this class of attack, because the exfiltration is carried out by the agent following instructions, not by a separate malicious process. This means AI-specific governance controls, specifically agent knowledge source integrity and behavioral monitoring, become the primary control layer rather than a secondary backstop.
  • ·Credentials and environment variables exfiltrated through this technique may include API keys, OAuth tokens, and secrets that grant access to cloud infrastructure, data stores, and downstream AI systems. A single poisoned configuration file imported by one developer can therefore cascade into a broader enterprise data breach, triggering notification obligations across multiple jurisdictions.

Governance controls affected

What to do now

  • ☐Audit all AI agent configuration files currently in use across developer environments, including CLAUDE.md, .cursorrules, GEMINI.md, and equivalent files, and trace their origin to verify they were not imported from unvetted public repositories.
  • ☐Establish a review and approval process for AI instruction files analogous to the code review process, requiring at minimum a human inspection of any configuration file before it is permitted to govern an agent in a corporate environment.
  • ☐Update your AI tool intake policy to include configuration files and prompt templates as in-scope artifacts, not just the agent software itself, and add this requirement to vendor and open-source intake checklists.
  • ☐Implement behavioral monitoring on agentic coding assistants to detect anomalous outbound network calls, particularly any HTTP requests to endpoints not on an approved allowlist that originate from agent processes.
  • ☐Coordinate with your incident response team to classify a PromptLogger-style credential exfiltration event under your existing AI incident response playbook, and confirm that your notification obligations are mapped for any scenario where API keys or environment secrets are compromised through an agent.

What to watch next

Mitiga's documentation of PromptLogger is likely to prompt follow-on research identifying additional configuration file formats and agentic platforms susceptible to the same technique, broadening the affected surface beyond the three file types currently named. Security teams should monitor whether the OWASP Top 10 for Large Language Model Applications is updated to explicitly classify poisoned instruction files as a distinct threat vector, separate from prompt injection, which would trigger compliance obligations for organizations that have mapped controls to that framework. Enterprise compliance teams should also watch for regulatory guidance on agentic AI developer tool governance, as the Bank of England's signaled interest in agentic AI rules and similar regulatory attention in other jurisdictions may accelerate requirements for formal configuration-file integrity controls. The broader pattern of agent supply chain attacks, also documented in Azure DevOps MCP prompt injection and hidden character injection in MCP servers, suggests regulators and standards bodies are likely to treat agentic tool integrity as a distinct governance category in the near term.

Related Coverage

Research2026-10-16

Hallucinated OpenAI Skill Domain Captured Real Authentication Tokens From Live Apps

Researchers at AIR Security found that an official OpenAI skill for the Render deployment platform contained a fabricated, unregistered web address. The address instructed live production applications to send authentication tokens there. The researchers registered that address and confirmed real tokens arrived, proving the attack path works.

Research2026-10-12

253 MCP Server Bugs and Six Framework Bypasses Expose Agent Authorization Gap

Researchers from Pennsylvania State University, Université Montpellier, and Dartmouth College demonstrated a simple prompt technique called Repeat-After-Me. It bypassed six major AI agent frameworks, including LangGraph, AutoGen, and Google's Agent Development Kit 2.0. A companion tool called ToFu identified 253 verified security flaws across 118 open-source Model Context Protocol (MCP) servers that enterprises may already be running. The core architectural problem is that agent frameworks treat the AI model's own output as sufficient authorization to execute actions, without an independent check before any action runs.

Corporate Policy2026-10-23

NemoClaw Flaw Lets Any Webpage Hijack Local AI Agents Without Authentication

Oasis Security disclosed a vulnerability in NVIDIA's NemoClaw framework affecting organizations running local Ollama AI agent instances. An attacker-controlled webpage can send hidden instructions directly to the local agent runtime without any login or user click required. Organizations using self-hosted AI agents should treat this as an urgent signal to verify authentication, network segmentation, and prompt injection defenses on all local agent deployments.