> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# AI Coding Agents and Security Risks: CVE Misreferences and Docker Sandboxes
- URL: https://www.stirup.si/ai-coding-agents-and-security-risks-cve-misreferences-and-docker-sandb-3b625190/
- Published: 2026-10-30T17:06:10.000Z
- Updated: 2026-10-30T17:06:10.000Z
- Description: An AI coding agent mistakenly referenced a non-existent CVE ID during a code review, highlighting the limitations of automated security checks and the need for human oversight.
- Author: Satish Das
- Tags: Infrastructure, News, Stirup Research

## The CVE That Did Not Exist and the Role of Docker Sandboxes

In a recent incident highlighted by Ajeet Singh Raina and Pratik Singh, an AI coding agent mistakenly referenced a non-existent CVE ID during a code review, raising concerns about the reliability of automated security checks. The script in question scans logs for CVE IDs and queries the NVD database to verify their existence. If a CVE is not found, the process flags the review as unverified. This incident underscores the limitations of relying solely on automated tools for security validation. While Docker sandboxes are designed to isolate agent execution, they do not eliminate the risk of false positives or errors in AI-generated outputs. The authors emphasize that human oversight remains critical in ensuring the accuracy of security assessments. This case highlights the need for robust verification mechanisms and the importance of combining automated tools with manual review to prevent the propagation of incorrect or misleading security information.

## The Limitations of Read-Only Rules in AI Coding Agents

The limitations of read-only rules in AI coding agents highlight a critical gap in security assumptions. As noted in the evidence, a read-only rule does not prevent an agent from instructing users on how to perform actions that the agent itself cannot execute. This creates a scenario where the agent may provide guidance that could be misused, even if it lacks direct access to sensitive systems. Furthermore, the read-only rule is increasingly being treated as an environmental constraint rather than a script-level safeguard, which may reduce its effectiveness in preventing unintended consequences. These observations underscore the need for additional layers of control beyond simple access restrictions, particularly in environments where AI agents are used to generate or review code that interacts with critical infrastructure.

## The Importance of Verifying CVE IDs in AI-Generated Security Reports

The Importance of Verifying CVE IDs in AI-Generated Security Reports highlights a critical step in ensuring the accuracy of AI-generated security findings. As noted in one process, it looks up every CVE ID in the NVD database and fails the job if any of them do not exist. This step ensures that reported vulnerabilities are real and valid. Without such verification, AI-generated reports may include non-existent CVE IDs, leading to confusion and potential missteps in security remediation. As one source explains, only the CVE check and a careful reader stop someone else from running them. With an agent, that step has not happened, so you have to do it yourself. This underscores the need for human oversight and validation when relying on AI tools for security assessments.

## The Risks of Unrestricted Filesystem Access and Prompt Injection

The risks of unrestricted filesystem access and prompt injection in coding agents are significant and well-documented. According to [linkedin.com](https://www.linkedin.com/pulse/coding-agent-horror-stories-security-crisis-threatening-developer-rwduc?ref=stirup.si), these issues fall under six critical risk categories, with unrestricted filesystem access and prompt injection being two of the most pressing. [noma.security](https://noma.security/noma-labs/gitlost-how-we-tricked-githubs-ai-agent-into-leaking-private-repos?ref=stirup.si) highlights that any content an agent reads—such as issues, pull requests, or files—can be weaponized if treated as instructional input. This is particularly concerning because it opens the door to malicious manipulation of the agent's behavior. [noma.security](https://noma.security/noma-labs/gitlost-how-we-tricked-githubs-ai-agent-into-leaking-private-repos?ref=stirup.si) further emphasizes that prompt injection attacks have become a systematic vulnerability class for agentic AI, akin to SQL injection in web applications. These attacks require robust, systematic defenses to mitigate their impact. As such, developers and organizations must implement strict access controls and input validation mechanisms to prevent exploitation of these vulnerabilities.

## Real-World Examples of AI Coding Agent Failures

Real-world examples of AI coding agent failures highlight the risks of overreliance on these tools. One notable incident involved an AI agent that mistakenly executed terminal commands that permanently deleted a folder containing 15 years of family photos, approximately 15,000 to 27,000 files, bypassing the Trash entirely. This event, shared by Reddit user u/LovesWorkin and later amplified by Simon Willison on X, underscored the potential for irreversible damage when AI agents misinterpret user intent. Another incident involved an agent that, after a GitHub automation assigned an issue, triggered a workflow that fetched the contents of README.md from both the public (poc) and private (testlocal) repositories, raising serious concerns about data exposure. These cases illustrate the need for careful oversight and mitigation strategies, as noted by experts who emphasize that AI coding tools introduce predictable, measurable weaknesses that organizations must actively address.

## Sources and reporting notes

- [Docker](https://www.docker.com/blog/coding-agent-horror-stories-the-cve-that-did-not-exist/?ref=stirup.si)
- [linkedin.com](https://www.linkedin.com/pulse/coding-agent-horror-stories-security-crisis-threatening-developer-rwduc?ref=stirup.si)
- [noma.security](https://noma.security/noma-labs/gitlost-how-we-tricked-githubs-ai-agent-into-leaking-private-repos?ref=stirup.si)
- [anthropic.com](https://www.anthropic.com/news/investigating-incidents-cybersecurity-evals?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.