# AI Coding Agents Gone Rogue: Edamame Brings Runtime Detection to the SDLC's Blind Spot


The software development lifecycle has always placed trust in the hands of developers. But as artificial intelligence agents take over code generation, testing, and deployment, that question of trust has fundamentally shifted. A new platform from France-based startup Edamame tackles a problem that's becoming increasingly urgent: detecting when AI coding agents drift beyond their intended behavior—and doing so in real time, before secrets leak and supply chains are compromised.


The threat is real. Developers worldwide are deploying AI agents like Claude Code, Cursor, and others to accelerate development velocity. These agents operate with deep access to local systems, credentials, and sensitive repositories. Yet most organizations have no visibility into whether these agents are actually staying within their original scope—or whether they're exfiltrating tokens, SSH keys, CI secrets, and source code under the guise of normal operations.


## The Threat: Intent Drift and Undetected Divergence


Intent drift is the phenomenon where an AI coding agent begins performing actions that diverge from the developer's initial instructions. This can happen in two ways:


  • Organic drift: The agent's context window shifts or it misinterprets instructions as it iterates, leading to unintended behavior.
  • Malicious drift: An attacker poisons training data, supply chain assets, or the agent's environment to steer it toward credential harvesting, code theft, or lateral movement.

  • The danger is that traditional security tools treat these agent actions as legitimate. If an agent running under a developer's credentials accesses a private key or exfiltrates environment variables, firewalls, endpoint detection and response (EDR) tools, and SIEM systems see it as authorized activity. The agent is, after all, running in a trusted process on a trusted machine under a trusted user account.


    This creates a security blind spot that grows with every new AI tool adoption. As agents become the execution layer for software delivery—not just advisors or helpers—the risk surface expands exponentially.


    ## Background and Context: Why Agents Matter Now


    The push toward AI-assisted development is not a fad. Major tech organizations, startups, and enterprises are integrating coding agents into their standard workflows because they deliver measurable productivity gains. Agents can:


  • Generate boilerplate code and handle repetitive tasks
  • Accelerate debugging and refactoring
  • Automate testing and deployment
  • Run autonomously to implement features with minimal human oversight

  • This shift is transformative—but it's also outpacing security infrastructure. Most organizations have no policy governing which agents developers can use, what permissions they should have, or how to audit their behavior. Some developers are even running multiple AI agents in parallel, chaining them together to accomplish more complex tasks.


    The attack surface is compounded by the fact that developers typically grant agents broad access to:


  • Local filesystems, including hidden keys and credentials
  • SSH agents and credential stores
  • CI/CD environment variables
  • Git repositories and package registries
  • Development tools and terminals

  • If an agent drifts—either accidentally or under attacker control—it can quietly exfiltrate high-value assets while appearing to do legitimate work.


    ## Technical Details: How Edamame Detects and Prevents Drift


    Edamame's solution operates as a runtime verification system—a host-side security layer that monitors coding agents in real time. Rather than relying on coarse-grained logs or post-incident forensics, it captures telemetry and compares actual agent behavior against declared intent.


    The platform is built around six integrated modules:


    | Module | Function |

    |--------|----------|

    | Edamame Security | Establishes a workstation trust anchor. Monitors for posture drift and divergence during local agent workloads. |

    | Edamame Posture | Hardens self-hosted environments before agents run, then watches runtime evidence via CLI and host controls. |

    | Agent Integrations | Pulls native signals from Cursor, Claude Desktop, Claude Code, Codex, and OpenClaw. Combines agent-native telemetry with host observations. |

    | Divergence Engine | Correlates agent intent (from task descriptions and tool calls) with process, filesystem, network, and posture telemetry. Flags deviations. |

    | Attack-Pattern Detection | Runs CVE-aligned, real-time checks for credential harvesting, token exfiltration, sandbox escapes, sensitive-file access, and supply-chain behaviors. |

    | Edamame Hub | Centralized dashboard for teams. Shows fleet-wide agent posture, reviewed divergence evidence, and attack findings. |


    The key innovation is the divergence engine, which does not simply flag "unusual" behavior (a high-false-positive approach) but instead measures whether the agent's actual actions align with its stated intent and the security posture of the host. If a developer instructs an agent to "refactor the authentication module," but the agent begins accessing SSH keys or reading environment variables, the engine detects this deviation and alerts immediately.


    This approach is fundamentally different from traditional security tools because it brings verification logic into the context where agents operate—on the developer's machine, integrated with the agent itself, not downstream in a centralized log store where the damage may already be done.


    ## Implications: A New Category of Risk


    The rise of AI agents has created an asymmetry in the security posture of organizations. Development teams moved fast. Security teams did not keep pace. Edamame's announcement signals that the market has noticed—and that runtime agent verification is now a baseline requirement, not an advanced feature.


    For enterprises, the implications are significant:


  • Policy uncertainty: Organizations lack guidelines on agent approval, permissions, and audit trails. This is now a board-level governance issue.
  • Supply chain risk: Compromised agents can inject backdoors, steal IP, or manipulate packages before they ever reach production. Runtime detection becomes critical.
  • Insider threat evolution: A developer, wittingly or not, running a malicious or compromised agent could exfiltrate data at scale. Intent verification is a new control layer.

  • For developers, the concerns are different but equally important:


  • Friction vs. security: Monitoring solutions often slow down workflows. Edamame's approach of building verification into existing agent platforms aims to minimize this friction.
  • Autonomy and oversight: As agents become more autonomous, developers need confidence that their agents are doing what they intend, not what an attacker intends.

  • ## Recommendations: Hardening Agent-Based Development


    Organizations should take immediate steps to govern AI agents in their development workflows:


    1. Audit current usage: Identify which agents are in use, on which machines, with what permissions. Many developers are using Cursor, Claude Code, or other agents without IT awareness.


    2. Establish intent policies: Define what agents are permitted to do in your environment. Write clear, agent-facing instructions. ("Do not access SSH keys. Do not exfiltrate environment variables. Do not modify package.json outside of approved scopes.")


    3. Deploy runtime verification: Implement tools like Edamame or similar solutions that can monitor agent behavior on developer machines and flag divergence.


    4. Rotate secrets regularly: Assume that agent environments may have been compromised. Rotate API keys, SSH keys, and CI credentials on a shorter cycle than traditional practice.


    5. Monitor agent supply chains: Be aware of which AI models and fine-tuned versions your agents are using. Poisoned models or supply-chain compromises could be a vector for drift.


    6. Train developers on agent governance: Make intent clarity a cultural norm. The more explicit the developer is about what an agent should do, the easier it is to detect divergence.


    ---


    ## HackWire Analysis


    The Edamame announcement arrives at a critical inflection point in software development security. We're witnessing a shift from "developers as the execution layer" to "AI agents as the execution layer," but the security posture has not caught up. Most enterprises still treat agents as tools—like a text editor or debugger—rather than as autonomous processes that need containment and monitoring.


    What makes this particularly dangerous is the high trust, high capability nature of coding agents. Unlike a web application scanning tool that runs in a sandbox, a developer's AI agent typically has unrestricted access to the filesystem, credential stores, and network. If an agent is compromised—either through a poisoned prompt, a backdoored model, or a jailbreak technique—it can move laterally with minimal friction.


    Edamame's approach is pragmatic: rather than trying to prevent drift (which is hard when the agent is adaptive and intelligent), focus on detecting it in real time. This aligns with modern security philosophy: assume breach, detect fast, respond faster. The fact that major cloud AI providers (Anthropic is listed as an integration partner) are supporting runtime verification suggests that the industry recognizes this as a real gap.


    The hidden risk others are missing: most organizations don't even know if their developers are using agents. There's no enterprise-wide registry or approval process. That means the first step—visibility—is both the highest priority and the lowest maturity baseline most teams are operating at.


    For defenders: treat agent governance as a new tier of secrets management. For attackers: AI agents represent a new attack surface that's still largely unmonitored. The window of opportunity is narrow. — HackWire Editorial


    ---


    ## Related Coverage


  • Read more in our [Vulnerabilities](https://www.hackwire.news/category/vulnerabilities) coverage
  • Cross-reference with [Supply Chain](https://www.hackwire.news/category/supply-chain) and [Malware](https://www.hackwire.news/category/malware)
  • Stay current via the [HackWire homepage](https://www.hackwire.news/)