Bharat Threat FeedGlobal threats, decoded for Indian defenders
AI Threat Watch · 16 July 2026

AI Threat Watch — 16 July 2026

Four disclosures this week share a common failure point: AI coding assistants, security review agents, and AI workflow platforms are being granted broad filesystem, execution, and credential access, but are not being designed to verify what they touch before they act. The result is a class of attacks that bypass the controls developers typically rely on — approval dialogs, dependency checks, sandboxed review environments — by targeting assumptions those controls never examined.
1

GhostApproval (CVE-2026-12958, CVE-2026-50549): symlink flaw in six AI coding assistants allows malicious repositories to write to SSH keys and shell configuration files outside the workspace

Wiz Research disclosed on 8 July 2026 a symlink attack pattern affecting six AI coding assistants: Amazon Q Developer (CVE-2026-12958), Cursor (CVE-2026-50549), Google Antigravity, Anthropic Claude Code, Augment, and Windsurf. An attacker creates a repository containing a symlink with an innocuous filename — for example, project_settings.json — that resolves to a sensitive target such as ~/.ssh/authorized_keys or ~/.zshrc. When a developer asks the assistant to set up the workspace or modify the config file, the agent follows the symlink and writes to the real target; the approval dialog shows only the harmless filename. Wiz confirmed the write can inject an attacker-controlled SSH key for persistent remote access or modify shell initialisation to achieve command execution. Amazon Q Developer, Cursor, and Google Antigravity have shipped fixes; Augment and Windsurf had not remediated as of disclosure; Anthropic states Claude Code versions 2.1.32 and later include a symlink warning and that the scenario falls outside its threat model. No exploitation in the wild has been reported.

Why it matters for IndiaIndian GCCs, IT/ITeS firms, and vendor review teams routinely clone external repositories — for code review, dependency evaluation, and proof-of-concept testing. Developer endpoints at these organisations run AI coding assistants with broad filesystem access. A compromised authorized_keys file grants persistent remote access with no further credential; a modified shell initialisation file runs code on every terminal session.
ActionBefore running an AI assistant on any cloned external repository, inspect it for symlinks with find . -type l -ls and verify that all resolved targets are within the project root. Prefer assistants that display the canonical resolved path — not the symlink label — in their approval dialogs. Restrict assistant filesystem permissions to the project workspace directory. Where Augment or Windsurf are deployed, apply this manual check until vendor patches are available.
SourceWiz Research (8 July 2026); The Hacker News (8 July 2026); The Register (8 July 2026).
2

Friendly Fire: AI Now Institute proof-of-concept hijacks Claude Code and OpenAI Codex during security review, achieving remote code execution on the reviewer's environment

AI Now Institute researchers Boyan Milanov and Heidy Khlaaf disclosed on 8 July 2026 a proof-of-concept showing that prompt injection embedded in ordinary repository files can redirect an AI coding agent conducting a security review into running malicious code. The attack places instructions in README-style documentation that frames a malicious binary as a required step in the review process. Testing against Claude Code (Claude Sonnet 4.6, Claude Sonnet 5, Claude Opus 4.8 in auto-mode) and OpenAI Codex CLI (GPT-5.5) confirmed remote code execution on the reviewer's machine. AI Now contacted both Anthropic and OpenAI; both vendors indicated the scenario falls outside their current security disclosure frameworks. A stripped, non-executable version of the proof-of-concept is publicly available on GitHub at boyan-MILANOV/friendly-fire-ai-agent-exploit.

Why it matters for IndiaIndian SOC teams, security engineering groups, and managed security service providers are beginning to delegate third-party dependency review and code triage to AI agents. Friendly Fire shows that an adversarial codebase can compromise the review environment itself — turning a defensive workflow into an initial access vector. The attack requires no vulnerability in the model or platform, only that the agent operate with execution permissions during the review.
ActionDo not run AI coding agents in auto-approve or autonomous execution mode against any untrusted codebase, external repository, or vendor-supplied code. Begin review sessions in read-only or triage mode with execution explicitly disabled. Require human confirmation before any shell command or file write during a security assessment. Log all operations the agent takes during a review session and audit those logs before the session is closed.
SourceAI Now Institute (8 July 2026); ITPro (10 July 2026); GitHub PoC (Boyan Milanov, AI Now Institute, 9 July 2026).
3

HalluSquatting: researchers demonstrate how attackers can predict the fake resource names AI agents hallucinate, register them, and deliver botnet malware through normal agent retrieval

Researchers Aya Spira, Stav Cohen, Elad Feldman, Ron Bitton, Avishai Wool, and Ben Nassi from Tel Aviv University, the Technion, and Intuit published the paper "Beware of Agentic Botnets" on arXiv on 8 July 2026. The research shows that AI coding assistants consistently produce the same wrong repository or skill name across different users and sessions — with hallucination rates as high as 85 percent on repository cloning requests and 100 percent on skill installation. An attacker queries the model repeatedly to identify the name it most consistently fabricates, registers that name on GitHub or a skills platform with embedded prompt injection, and waits. When any user's agent retrieves the hallucinated resource, it receives and executes attacker-controlled instructions. Because the name is generated by the model — not mistyped by the user — string-similarity and typosquatting detection tools do not identify it. Tested against Cursor, Cursor CLI, Windsurf, GitHub Copilot, Cline, Google Gemini CLI, OpenClaw, ZeroClaw, and NanoClaw.

Why it matters for IndiaIndia's developer community is among the largest global consumers of repository ecosystems and agent skill platforms. When an AI agent installs or clones resources on a developer's behalf without verifying names against an authoritative source, normal agent operation can become a supply chain compromise path — requiring no user error and no social engineering, only that the agent retrieve a resource whose name it did not verify.
ActionRequire AI agents to confirm all resource names — repositories, skills, packages — against an internal approved registry before retrieval or installation. Block installation from resources with no verified provenance. Enforce lockfiles for dependency management so agents cannot introduce new resource names silently. Review all AI-suggested additions in pull requests, verifying source URLs and owner identity, not only the displayed name.
SourcearXiv, Aya Spira et al. (8 July 2026); The Hacker News (8 July 2026); SecurityWeek (8 July 2026).
4CriticalCVSS 9.2

CVE-2026-41264 (Flowise, CVSS 9.2): public Metasploit exploit module released for unauthenticated RCE in Flowise AI workflow platform — unpatched instances now at commodity exploit risk

Trend Micro Zero Day Initiative published CVE-2026-41264 on 15 April 2026: a CVSS 9.2 unauthenticated remote code execution flaw in Flowise's CSV Agent feature. The CSV Agent evaluates LLM-generated Python code without sandboxing; an unauthenticated attacker who can reach the chatflow endpoint uses prompt injection to cause the model to reply with a malicious Python payload, which Flowise then executes as the server process user. Affected versions are Flowise up to and including 3.0.13; the fix is in 3.1.0. On 11 July 2026, Rapid7 published a Metasploit exploit module for CVE-2026-41264, lowering the skill threshold for exploitation to commodity tooling. Unpatched internet-exposed instances are now within reach of automated scanning and exploitation.

Why it matters for IndiaFlowise is used by Indian AI startups, GCCs, and data engineering teams to build RAG pipelines, LLM-powered chatbots, and internal automation workflows — the same use-case profile as Langflow, which saw three separate critical vulnerabilities reach active exploitation in rapid succession earlier this year. An internet-accessible Flowise instance running a version below 3.1.0 gives an unauthenticated attacker full shell access to the server and immediate access to all LLM provider API keys, cloud credentials, and database passwords stored in environment variables.
ActionUpgrade Flowise to version 3.1.0 or later immediately. Remove all Flowise instances from direct internet exposure and place them behind an authenticated, network-segmented reverse proxy. If exploitation cannot be ruled out, rotate all LLM provider API keys, cloud credentials, and database passwords accessible from Flowise environments. Review Flowise access logs for anomalous chatflow activity since April 2026.
SourceTrend Micro ZDI advisory (15 April 2026); GitHub Advisory GHSA-3hjv-c53m-58jj; Rapid7 Metasploit blog (11 July 2026).
AI defender tip: The four items in this issue expose a gap that applies across every AI component with privileged access: the agent's access scope is broad, but the verification of what it actually touches is absent. GhostApproval exploits write access with no path verification. Friendly Fire exploits execution access with no intent verification. HalluSquatting exploits retrieval access with no name verification. Flowise exploits server execution with no sandbox. Before deploying any AI component that touches the filesystem, executes code, retrieves external resources, or holds credentials, answer four questions in policy: what can it read, what can it write, what can it execute, and what human confirmation is required before any action outside the defined scope. Those four policy lines reduce exposure to all four attack classes in this issue.

Nirad Threat Research

Nirad AI Threat Watch | Bharat-first threat intelligence