# Bye Bye AI: a shopping assistant's search box led to code execution

> Bye Bye AI is a Black Hat USA 2026 talk showing an AI shopping assistant pushed from a prompt leak to code execution on a retailer's backend.

- **Severity:** Medium: Real and reproducible, but needs unusual setup, user help or a narrow audience. Plan a fix.
- **Category:** Talk, Attack
- **Published by:** Black Hat
- **Disclosed:** 2026-11-29
- **Affects:** AI shopping assistants, LLM gateways
- **Research by:** Netanel Rubin (Rein Security), Dan Avraham (Rein Security)
- **Primary source:** https://www.youtube.com/watch?v=36eLVsqES1c
- **Page:** https://theinjection.dev/items/rein-security-bye-bye-ai-talk/

Rein Security's Netanel Rubin and Dan Avraham showed at Black Hat USA 2026 how a top 3 US retailer's AI shopping assistant leaked its own prompt structure and then ran attacker code, reached through the public mobile app alone.

## What happened

Black Hat published the recording of Bye Bye AI on 29 November 2026. Netanel Rubin, co-founder and CTO of Rein Security, and Dan Avraham, a senior vulnerability researcher there, describe attacking the AI shopping assistant of a retailer the talk calls one of the top three in the United States. According to the talk, the retailer will be named once responsible disclosure is complete.

## How it works

Indirect prompt injection opened the chain. The researchers say the product comparison feature made the assistant pull content from untrusted external sources, and that the search query parameter was handled differently from other user inputs, which let them get past the intent classification layer. That exposed the assistant's internal prompt structure and its tool execution syntax. A second-stage payload then made the assistant run attacker-controlled code in its backend, which returned directory listings and runtime data.

## Who is affected

One retailer's mobile app is the subject, and the talk reports the whole attack ran through the public app with no privileged access and no infrastructure compromise, looking like ordinary user activity. The assistant is built on Google Vertex AI Search and a foundation model, fronted by an LLM gateway that monitors prompts and responses. The researchers also report finding Google Maps API keys in decrypted mobile HTTPS traffic.

## What to do

Check that every user-supplied field reaching an assistant passes through the same filtering, because the researchers report the search query parameter was treated differently from other inputs. Rubin and Avraham argue gateway defenses fail without visibility into execution context, so confirm whether your own assistant can generate and run code at all, and remove that capability where nothing needs it.

## Watch

[Black Hat USA 2026, Black Hat on YouTube](https://www.youtube.com/watch?v=36eLVsqES1c)

## Quick facts

- **Talk:** Bye Bye AI: How We Hacked the AI Shopping Assistant of a Top 3 US Retailer
- **Event:** Black Hat USA 2026; recording published 29 November 2026
- **Speakers:** Netanel Rubin and Dan Avraham of Rein Security
- **Target:** An unnamed top 3 US retailer's mobile shopping assistant, built on Google Vertex AI Search and a foundation model
- **Attack type:** Indirect prompt injection, intent classification bypass, then backend code execution
- **Status:** Retailer to be named after responsible disclosure completes

## Questions

### Which retailer is affected by the Bye Bye AI research?

Black Hat's description of Bye Bye AI says the retailer will be named once responsible disclosure is complete, and the talk identifies it only as one of the top three in the United States. Rein Security has not published the name. Defenders cannot check a specific vendor here, so the value of the talk lies in the pattern rather than the target.

### Did the attack need a compromised account or insider access?

No. The researchers state the multi-stage attack ran entirely through the retailer's public mobile app, needed no privileged access and no infrastructure compromise, and looked like ordinary user activity. The assistant was reachable by any customer using that app, which is why the intent classification layer was the control standing between a shopper and the model.

### Why did the LLM gateway not stop the injection?

Rein Security's account points at inconsistent input handling rather than a missing control. The gateway monitored prompts and responses and applied an intent classification layer, but the researchers report the search query parameter was processed differently from other user inputs, and that was enough to get past it. The talk argues gateway defenses need visibility into execution context.

## Sources

1. [Talk Recording](https://www.youtube.com/watch?v=36eLVsqES1c)
2. [Rein Security Note](https://reinsec.io/news/ackers-tricked-a-major-retailer/)
