Fake Context Alignment: The Attack That Made Gemini Obey Strangers Through Your Notifications


Fake Context Alignment: The Attack That Made Gemini Obey Strangers Through Your Notifications

Pierluigi Paganini
June 05, 2026

SafeBreach tricked Gemini into obeying attackers via WhatsApp notifications, using hidden foreign-language text to bypass Google’s defenses and control smart home devices.

SafeBreach Labs researcher Or Yair spent months trying to break Google’s Gemini voice assistant after Google patched the vulnerabilities he found in his previous research. The new attack class he developed, named Fake Context Alignment, exploits the trust users place in their own notification stream from WhatsApp, Slack, SMS, Signal, Instagram, and every other app that can drop a message on an Android device.

The attack relies on an indirect prompt injection. When a user asks Gemini to read notifications, the assistant processes the content of incoming messages, including hidden instructions planted by an attacker. Google had already added protections against direct attempts to manipulate Gemini’s tools, but notifications created a new attack path. Because virtually any app can send a notification, the number of potential attack sources is enormous.

The most concerning aspect is the social engineering potential. An attacker can trick Gemini into reading out a fake message that appears to come from a real person in the victim’s notifications. The attacker doesn’t even need to know the contact’s name beforehand. The malicious instruction simply tells Gemini to use the first real sender name it finds. This makes large-scale phishing attacks possible without any prior research on the target.

Getting Gemini to actually execute actions, not just manipulate its output, required bypassing a new Google mitigation that blocked what researchers call Delayed Tool Invocation. The fix Google had deployed was checking whether a user’s “Yes” response made logical sense given what Gemini had just said. Yair reverse-engineered this by trial and error and found the precise loophole: if Gemini itself had asked a question and the user confirmed, tools would fire. So he built attacks that made Gemini ask the right question without the user realizing it.

The first technique used a foreign language. Gemini would vocally read a question in Chinese, immediately followed by an innocuous English phrase like “Is that all you needed?” The user hears only the English, replies “Yes” assuming they’re closing out the notification summary, and the backend security check sees the Chinese question plus the “Yes” and authorizes the action.

The second technique was cleaner: hide the authorization question inside a muted hyperlink. Gemini doesn’t read hyperlink text aloud, so the screen shows “Do you want to open the window?” while the user hears something entirely different. Combined, the two techniques produced what Yair calls the Ultimate Combo: the malicious question embedded in Chinese text, hidden inside a muted link, invisible to the user and authorizing in the background.

“Notification-based attacks prove that indirect prompt injections can be reliably executed through highly trusted, everyday communication channels.” reads the report published by SafeBreach.

The actions this unlocked in demos included remotely controlling Google Home devices like windows, boilers, and lights; launching a Zoom call that streamed the victim’s video live; and poisoning Gemini’s long-term memory. That last one has legs beyond a single device.

“Using the same Fake Context Alignment technique, I successfully instructed Gemini to create a recurring task that would automatically read the user’s recent messages every day at 8 PM. Because Gemini’s long-term memory is tied to the user’s entire Google Workspace account, this opened the door for devastating multi-device propagation.” continues the report. “Poisoning the assistant through a notification on the victim’s phone could instantly compromise their interactions with Gemini on their tablet, computer, or smart speaker.”

The researchers also demonstrated scheduling a recurring task that would silently read the user’s recent messages every day at 8 PM. Persistent, automated, invisible.

The Zoom attack used a separate bypass. Google checks URLs opened by Gemini against its Safe Browsing database and blocks anything flagged as unsafe. Yair noticed that most ordinary domains pass this check automatically, including safebreach.com. He configured a trusted-looking domain to issue a 301 redirect pointing to a Zoom App Intent URI. Gemini followed the redirect without asking the user, opened Zoom, joined a meeting, and started video streaming. Safe Browsing, in this case, was essentially a rubber stamp.

The hands-free scenario is what makes all of this particularly sharp.

“AI voice assistants are uniquely susceptible to AI attacks that require user interaction because they aim to simulate normal conversational flows. When Gemini asks a question, it automatically opens the microphone, requiring a reply.” continues the report. “This mechanism allows attackers to force multiple interactions from the user, making multi-step exploits significantly easier to execute than on a text-based interface.”

Driving is a perfect scenario for this type of attack. The user can’t look at the screen, depends entirely on what Gemini says, and is likely to follow its instructions. Hidden text and suspicious links remain invisible, making it easier for the attack to succeed.

Yair reported the issue to Google’s Vulnerability Reward Program in August 2025. Google later confirmed that updates to its content classifiers blocked the prompt injection and delayed tool invocation techniques. While the specific vulnerability has been fixed, SafeBreach published the research because the broader issue remains. Whenever a voice assistant processes both user commands and untrusted external content through the same system, similar risks can still emerge.

“Organizations and vendors must move beyond localized mitigations and rethink how AI systems parse trust, context, and cross-channel permissions to ensure user safety.” concludes the report.

Below is a video PoC published by the researcher:

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

Pierluigi Paganini

(SecurityAffairs – hacking, Gemini)







Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


iPhone 17 Pro Max vs Samsung Galaxy S26 Ultra

Prakhar Khanna and Jason Hiner/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


It’s been several months since Samsung launched its Galaxy S26 series of phones, so now that the dust has settled, I’m reevaluating them against the industry’s best. That starts with the flagship Galaxy S26 Ultra

Between it and the best iPhone available, the iPhone 17 Pro Max, you might be wondering which one is the better investment. The easy answer is, “Stick with whichever OS you have now,” but in all honesty, both phones are good enough to justify a switch. If you’re going to go, go big! It doesn’t get much bigger than these two powerhouses, so let’s dive in and see which one is the winner.

Also: Google Pixel vs. Samsung Galaxy: I’ve tested both brands extensively, and there’s a clear winner

As it happens, I carry the iPhone 17 Pro Max, and also the latest Android phone, and it doesn’t get much more “latest” than the S26 Ultra, so these opinions are based on prior experience with the S25 Ultra, a good amount of hands-on review time with the S26 Ultra, and the specs we have on hand. 


You should buy the iPhone 17 Pro Max if…

iPhone 17 Pro Max in Cosmic Orange

Jason Hiner/ZDNET

1. You (or your family) are in the Apple ecosystem

Platform lock-in is a thing, and Apple has it better than most. Apple provides an entire ecosystem of devices and cross-device functionality that most other OEMs can’t match. It’s not that Samsung doesn’t have an ecosystem of its own, but Apple’s devices are designed from the ground up to work together. They’re on a level of detail that other ecosystems — including Samsung’s — can’t really compete with.

Also: I tested the iPhone Air for a week, and here’s why 17 Pro Max users shouldn’t sleep on it

Then, there’s the 800-pound gorilla in the room. If your family is also in the Apple ecosystem, there’s even more reason to stay there. One of the reasons I carry an iPhone everywhere is that my kids also have iPhones. “Dad, can you ring my phone?” is a common refrain in my house. Add iMessage and parental controls to that, and there are enough roadblocks to make not carrying an iPhone a pretty big headache.

There are software workarounds for just about everything an iPhone can do with other devices, but they’re just that — workarounds. If you want to be embedded in the Apple ecosystem, there is only one phone category you can carry.

2. You want a phone that just works

It’s a cliché, but it exists for a reason. Apple has a long history of being late to the party with a lot of features, but typically, when they get the feature, it’s very polished. Apple doesn’t take half-steps, and it rarely (though not never) treats its users like beta testers. It will take in the landscape, identify a feature that people like, and make it significantly better than the competition.

Also: I’ve tried every iPhone 17 model, and my golden rule for upgrading is changing in 2025

That philosophy extends to apps built for the platform as well. Apple maintains high standards for its App Store and approval process. I routinely encounter the same app on both platforms: it works flawlessly the first time on an iPhone but struggles on an Android phone. There’s a lot that goes into app development, especially on a platform like Android that can have multiple versions and flavors, so there’s no shade. Apple just delivers a better and more consistent experience.

3. You’re a video shooter

There are multiple reasons why the iPhone 17 Pro Max is the phone to use for video. First and foremost, it is storage. Put simply, the iPhone can get up to 2TB of onboard storage; the S26 Ultra maxes out at 1TB. A terabyte of storage seems like a lot — and it is, but if you’re shooting a ton of 8K or even 4K video, that’s going to chew up your storage in a hurry. This is also a solid argument if you’re a hardcore gamer, as they take up a lot of space these days.

Also: I’ve got one big reason to recommend a year-over-year upgrade to Apple’s iPhone 17 Pro Max

The iPhone also offers a really great video experience. From shooting in dedicated ProRes Raw mode to open gate shooting, if you’re a filmmaker, you want options, and the iPhone gives you a ton. There are also numerous apps in the App Store that you can use to capture, enhance, and edit your videos. 

Sure, there are apps in the Play Store for Android, but this combination of tools built for filmmakers makes the iPhone 17 Pro Max the phone to get for video enthusiasts.

You should buy the Samsung Galaxy S26 Ultra if…

Prakhar Khanna holding the Samsung Galaxy S26 Ultra.

Prakhar Khanna/ZDNET

1. You want the raw power

As recently as two years ago, this heading would have belonged under the iPhone category. But after Qualcomm rolled out the Snapdragon 8 Elite processor for the Galaxy, things changed. Of course, we’re talking about raw numbers here — user experience and vertical integration go a long way on Apple’s side, but Qualcomm’s processors have started to outperform Apple’s on benchmarking apps, and that’s a big deal.

Also: Samsung Galaxy S26 Ultra vs. Galaxy S25 Ultra: I’ve tried both flagships, and here’s my choice

Processing power is important in the realm of video processing/editing, gaming, and AI. If those are important categories for you, Samsung is the best game in town. The iPhone is a powerful machine, make no mistake, but the Samsung Galaxy S26 Ultra is currently the most powerful phone you can buy at the moment. 

2. You’re all-in on AI 

Samsung Galaxy S26

Prakhar Khanna/ZDNET

Unfortunately, Apple Intelligence has seen a few false starts now. Meanwhile, Samsung and Google keep rolling out AI-powered features one after another. This generation of Samsung phones is no exception, with Galaxy AI taking most of the headlines from this lineup of S26 smartphones. From editing images to the new Now Nudge feature, AI is all over this software release.

One particularly intriguing new feature is Gemini’s ability to summon an Uber with a command. Just tell Gemini where you want to go, and it’ll launch Uber, input the destination, and once you confirm, it’ll summon the car. This is the first of potentially numerous apps and services that can be further automated with AI. 

3. You value your privacy

Apple has always prided itself as a privacy-first company, and that’s fair enough. But Samsung is upping the ante with Privacy Screen, a hardware/software combination that could potentially change how people think about their phones and privacy. Samsung redesigned its screen to feature wide and narrow-angle pixels that the company can, through software, turn off individually to obscure the screen.

Also: Samsung Galaxy S26 Ultra vs. S24 Ultra: I compared both models, here’s who should upgrade

It doesn’t just block looky-loos in the airplane seat next to you from reading your texts, but because it’s software-driven, you can selectively block specific elements on your screen. So your whole screen is bright and beautiful, but a notification rolls in and only blocks the area where it appears. 

Writer’s choice

Both of these phones are downright fantastic — there’s no question. But at the end of the day, if I had to pick, I’d go with the Samsung Galaxy S26 Ultra. I have a dual-wielding phone lifestyle, but while I value the iPhone 17 Pro Max for its consistency and its comfort, Samsung and Android in general have a wider variety of fun form factors to play with, and that includes a multitude of accessories that you can buy into.

Apple works great within its ecosystem, and it’s just OK with everyone else. Android works very well with just about everything from Windows PCs to a wide variety of smartwatches and Bluetooth accessories. For everything an iPhone can connect to, an Android phone can connect to more. Plus, I didn’t even talk about the stylus here, because while I’m not a huge stylus person, I’m definitely a believer in the “it’s better to have it and not need it” philosophy.

Of course, as I mentioned before, I carry both. But I’m ultimately on Team Android, where I feel there’s more freedom. 

Specifications

iPhone 17 Pro Max

Samsung Galaxy S26

Display

6.9 AMOLED with 120Hz, 3000 nits peak

6.9″ QHD AMOLED 120Hz, TBD nits peak

Weight

233g

214g

Processor

Apple A19 Pro

Qualcomm Snapdragon 8 Elite Gen 5 for Galaxy

Storage

256GB, 512GB, 1TB, 2TB

256GB, 512GB, 1TB

Battery

5,088mAh, 25W wired charging and 25W wireless charging

5,000mAh, 60W wired charging and 25W wireless charging

Camera

48MP wide / 48MP Ultra Wide / 48MP telephoto (4xx) / 18MP front

200MP wide / 50MP telephoto (5x) / 10MP telephoto (3x) / 50 MP ultrawide / 12MP front

Price

Starting at $1,199

Starting at $1,299





Source link