HomeBlog › When the Approval Button Lies
AI Security

When the Approval Button Lies

Wiz disclosed GhostApproval, a flaw that let malicious code trick six major AI coding agents into showing you a safe-looking approval prompt while doing something else. The human checkpoint just became the attack surface.

One signal a day. No noise. A 3-minute read when something genuinely shifts.
By Tyron Dizon · August 1, 2026 · 6 min read
Wiz disclosed GhostApproval, a flaw that let malicious code trick six major AI coding agents into showing you a safe-looking approval prompt while doing something else. The human checkpoint just became the attack surface.
Source: The Next Web coverage of the Wiz GhostApproval disclosure and the ten-day exploit wave.

For the past year, the standard safety answer for AI agents has been comforting and simple: let the robot draft, but a human approves before anything irreversible happens. Sign here. Click to confirm. The human in the loop is the backstop.

This week, security researchers at Wiz showed that the backstop has a crack in it. They disclosed a vulnerability pattern called GhostApproval, and it does not attack the model, the network, or the server. It attacks the approval prompt itself, the exact moment you were told to trust.

What actually happened

According to Wiz, GhostApproval let a malicious repository trick six major AI coding assistants into accessing or modifying files outside their intended workspace. The affected list is not a lineup of hobby projects. It includes Amazon Q Developer, Claude Code, Cursor, Google Antigravity, Augment, and Windsurf.

Here is the part that should make you sit up. In some cases, the agent internally recognized that the target was dangerous, and then showed the user an approval prompt that obscured that risk. The tool knew. The prompt did not say so. You would have clicked yes.

The agent knew it was dangerous, and the prompt you would have approved did not tell you.

Think of it like a contractor who hands you a one-page summary to sign. The summary says minor kitchen touch-up. The actual work order, stapled underneath where you cannot see it, says knock down the load-bearing wall. You are not careless. You read the page you were given. The page just lied.

This was not a one-off

GhostApproval is the headline, but it landed inside a brutal stretch. As reported by The Next Web, four independent teams shipped working exploits against production AI agents in roughly ten days. The variety is the scary part, because it means this is not one bug, it is a category:

The common thread, the reason The Next Web framed it as four attacks and one flaw, is that all of these agents treat content they read (a repo, a web page, a browser extension) as if it might be instructions. That is prompt injection wearing four different costumes. Someone is even keeping a dated, sourced community timeline of these incidents on GitHub now, which tells you the field has moved from thought experiment to logbook.

Why this matters beyond the security team

Most agent safety advice quietly assumes one thing is solid: that when a human is asked to approve an action, the human can actually see what they are approving. GhostApproval breaks that assumption. If the prompt can misrepresent the action, then human approves before irreversible actions is no longer a complete control on its own. It is only as good as the honesty of the screen.

That changes the checklist. It is not enough to ask is there a human in the loop. The new questions are sharper:

The integrity of the approval surface becomes its own thing you have to check, right alongside the action itself.

The one-sentence defense

If you take nothing else from this, take the rule the researchers keep circling back to: anything an agent reads is potential instructions. A repo. A web page. A pull request. A browser extension sitting quietly beside it. Once you accept that, the mitigation is less about clever detection and more about limits: scope tightly what the agent is allowed to touch, so that even a successful trick has a small blast radius.

There is a cheap, boring, useful move hiding in the Claude for Chrome finding too. If you run browser-based agents or coding assistants, take thirty minutes and audit what browser extensions are installed and what they are permitted to listen to. It is not glamorous. Neither is a smoke detector.

The uncomfortable takeaway

We spent a year building governance around a friendly picture: the agent proposes, the human disposes. GhostApproval does not tear that picture down. It just points at the one pixel we never inspected. The lesson is not to stop using agents. It is that a trustworthy-looking surface is only as trustworthy as the verification sitting behind it. The button that says yes has to be telling the truth, and now we have to prove that it is.

Agent attacks stopped being theoryFour independent teams shipped working exploits against production AI agents in ~10 days6major coding agents hit4exploits in ~10 days9.8CVSS, two zero-click RCEsThe four exploitsGhostApproval: 6 agents tricked behind a deceptive approval promptAWS Kiro: 1-pixel hidden text rewrote its own config, launched attacker serverCursor: two CVSS 9.8 zero-click RCEs, plus a deeplink code-execution flawClaude for Chrome: any browser extension could hijack it via spoofed clicksSource: The Next Web, Wiz disclosure
Source: The Next Web coverage of the Wiz GhostApproval disclosure and the ten-day exploit wave.

One signal a day. No noise.

A 3-minute read when something genuinely shifts in AI, automation, or defense tech. Free, most weekdays.

Free, most weekdays. No spam, unsubscribe anytime.

Sources

  1. The Next Web - AI agent security: four attacks, one flaw - https://thenextweb.com/news/ai-agent-security-four-attacks-one-flaw
  2. Adversa - Top agentic AI security resources (August 2026) - https://adversa.ai/blog/top-agentic-ai-security-resources-august-2026/
  3. GitHub - awesome-ai-agent-attacks timeline - https://github.com/webpro255/awesome-ai-agent-attacks

Quick answers

What is GhostApproval?

A vulnerability pattern disclosed by researchers at Wiz that let malicious repositories trick six major AI coding assistants (Amazon Q Developer, Claude Code, Cursor, Google Antigravity, Augment, and Windsurf) into accessing or modifying files outside their intended workspace, while showing the user an approval prompt that obscured the real risk.

Which AI agents were affected?

GhostApproval affected Amazon Q Developer, Claude Code, Cursor, Google Antigravity, Augment, and Windsurf. Separate exploits in the same window hit AWS Kiro and Claude for Chrome.

Why is attacking the approval prompt a big deal?

Most AI agent safety relies on a human approving actions before anything irreversible happens. If the approval prompt can misrepresent what the agent will actually do, that human checkpoint is no longer a sufficient control on its own. The integrity of the approval screen becomes its own thing to verify.

What can I do about it right now?

Treat anything an agent reads (repos, web pages, pull requests, browser extensions) as potential instructions, and tightly scope what the agent is allowed to touch. If you use browser-based agents, audit which browser extensions are installed and what they can access.

Tyron Dizon is a Chief Product Officer, AI product builder, and Techstars-backed SaaS founder based in Baguio City, Philippines. He previously co-founded and served as CPO of SanityDesk and now builds AI products, automation systems, SaaS platforms, and rapid prototypes. About · Work · Resume · LinkedIn