A push notification is a message an app's server sends to your device through a platform push service.
This guide is for anyone who gets sign-in prompts on their phone, or who is new to app or security work. You do not need to write code to follow it.
In short
- Your phone gets a device token for each app. It works like a postal address for that app on that phone.
- The app's server sends a message to a push service, such as Apple's, which delivers it to your device.
- Sign-in approval prompts use the same path. Attackers who know your password can send many of them, hoping you tap Approve.
- Number matching and stronger sign-in methods make that much harder.
What you will learn
- Describe the path a push message takes from a server to your phone.
- Explain what a device token is and why the server needs it.
- Explain how sign-in prompts get abused through repeat pushes.
- Respond safely to a sign-in prompt you did not expect.
- Push service
- a platform service that delivers messages from app servers to devices.
- App server
- the company's computer that decides when to send a message.
- Sign-in prompt
- a push message asking you to approve a sign-in.
What is a push notification?
Think of the postal service. A company writes a letter and hands it to the post office. The post office uses your address to deliver it, and you open it at home.
Push notifications work the same way. Apple explains that its push service must know a device's address before it can send a notification there. That address is a device token, unique to both the device and the app [1].
The app gets its token when it starts and forwards it to the company's server. The server includes that token with every notification it sends [1].
Where the comparison stops working: anyone can post you a letter. Only a server holding the app's push credentials and your device token can send you a push for that app. That makes the server and its credentials worth protecting.
Why does it matter?
Many people approve sign-ins by tapping a push on their phone. That is quick and handy, but a tap on the wrong prompt can let an attacker in.
If you use sign-in prompts at work
What could happen: you get a stream of prompts late at night and tap Approve just to make them stop.
Check this: only approve a prompt you started yourself, a few seconds earlier.
If you build or run apps
What could happen: the credentials your server uses to send pushes leak, and someone sends messages as your app.
Check this: keep push credentials in a secrets store on a trusted server, not in the app itself.
If you look after IT for a team
What could happen: staff approve sign-ins with a single tap and no extra check.
Check this: find out whether your sign-in app uses number matching.
What does it look like?
Here is a made-up push message. It is the kind an app server might send.
Example only. All values are made up.
to: EXAMPLE-device-token-0000 (1) service: push service for this phone (2) title: "Approve sign-in?" (3) body: "Enter the number shown" (4) sender: app server (FAKE credential) (5)
- In a real file, this line would contain the device token. It is the address of one app on one phone.
- The service that delivers the message, such as Apple's on an iPhone.
- The short title you see on your lock screen.
- With number matching, you type a number from the screen. You do not just tap.
- In a real file, this line would contain a link to the server's push key. It proves the app's owner sent it.
Why this is risky: a plain Approve button is easy to tap by mistake. A tired person may say yes to a sign-in they did not start.
The safer way: use number matching or a stronger way to sign in. Keep the server's push keys in a secrets store.
How does it work?
- The app registers. When it starts, the app asks the platform for a device token and sends it to its server [1].
- The server builds a message. Google's Firebase documentation says message requests must be built in a trusted server environment [2].
- A push service carries it. Transport layers route the message to the device. They include Apple's push service for Apple devices and a separate transport for Android [2].
- Your device shows it. When the phone is online, the message arrives, and the app shows it or acts on it [2].

Tokens change. Apple issues a new token when a phone is restored from backup or the system is reinstalled. Moving the app to a new phone also gives a new token [1]. Apple also asks developers to store tokens in a secure place on the server [1].
How sign-in prompts get abused. If an attacker already has your password, each attempt to sign in sends a prompt to your phone. The US cyber agency CISA calls this push bombing: attackers send prompt after prompt until the user presses Accept [3].
CISA rates simple push prompts as open to push bombing, and push with number matching as resistant to it [3]. With number matching, you see a number on the sign-in screen and type it into the app to approve [4]. CISA still calls phishing-resistant MFA the gold standard [3].
A worked example
This story is made up to show the idea.
Zane Marlow works in sales for a small software firm. One evening his phone buzzes with a sign-in prompt for his work account. He is watching a film and has not tried to sign in to anything.
He taps Deny. A minute later, another prompt arrives, then another. Zane is tempted to tap Approve so the buzzing stops. Instead, he remembers the rule from his security training: only approve what you started.
He calls the firm's IT lead, Idris Brandt. Idris checks the sign-in logs and sees many failed attempts from a country where the firm has no staff. Someone has Zane's password.
Idris resets Zane's password and signs him out of all sessions. He then checks the firm's sign-in settings. Number matching is already on for most staff, but a few older accounts were still using simple Approve prompts.
He switches those accounts to number matching and starts a plan to move key staff to security keys. He also asks Zane where else he used the same password, and Zane changes it there too.
The next week, Idris shares the story, without names, at the team meeting. The message is simple: a prompt you did not expect means someone else has your password.
Myths and mistakes
| What people think | What is true |
|---|---|
| A sign-in prompt means my account is safe. | A prompt you did not start means someone may already have your password. |
| Tapping Approve once to stop the buzzing is harmless. | One tap can let the attacker in. That is what push bombing relies on.[3] |
| Number matching stops every attack. | It resists push bombing but can still be phished. Phishing-resistant methods are stronger.[3] |
| A device token is a password. | It is an address for delivering messages. The server still needs its own push credentials to send. |
| Push messages come straight from the app company. | They pass through a platform push service on the way to your device.[2] |
What can I do this week?
- Check whether your work sign-in app asks you to type a number.
- Agree a rule with your team: report any prompt you did not start.
- Turn off notifications from apps you no longer use.
- Read MFA Fatigue Attacks for Beginners for more on prompt abuse.
Checklist
- I know push messages travel from an app server through a push service to my device.
- I know a device token is the address of one app on one device.
- I only approve sign-in prompts I started myself.
- I report unexpected prompts and change my password.
- I use number matching or a stronger sign-in method where I can.
- If I build apps, I keep push credentials on a trusted server, not in the app.
- If I build apps, I store device tokens securely and expect them to change.
Common questions
Why does my phone get notifications when the app is closed?
The phone keeps a link to the platform push service, not to each app. The service delivers the message, and the phone shows it for the app. That is why the app's server needs your device token, the address for that app on your phone.
What should I do if I get a sign-in prompt I did not start?
Tap Deny and do not approve any repeat prompts. Change your password, because someone likely has it. Then tell your IT team, so they can check for other sign-in attempts and sign you out of sessions.
What is number matching?
It is an extra step for push sign-ins. The sign-in screen shows a number, and you type it into your phone app to approve. An attacker sending prompts from far away cannot easily make you type the right number.
Are push credentials a security risk?
Yes, if they leak. The server uses them to prove it may send messages as the app. Like any machine credential, they belong in a secrets store with an owner, and should be rotated if they are ever exposed.
Is a security key better than a push prompt?
For resisting phishing, yes. CISA calls phishing-resistant MFA the gold standard. Push with number matching is a good step for teams that cannot move to security keys or passkeys yet.
Where next?
Ready for the detail? Read the practitioner guide: Mobile Push Notification Security Guide. It covers push credentials, token handling and message content for app teams.
Also useful:
- MFA Fatigue Attacks for Beginners
- MFA Fatigue and Bypass Guide
- Browser Notification Scams for Beginners
- 2FA vs Two-Step Verification vs MFA
Related NHI Mgmt Group resources: Firebase Credentials Security Guide, Secrets Management for Beginners and MFA Coverage Measurement.
Key terms
- Push notifications
- Messages an app's server sends to a device through a platform push service.
- Device token
- A unique value that works as the address of one app on one device for push messages.
- Apple Push Notification service
- Apple's service that delivers push messages to Apple devices.
- Push notification MFA
- A sign-in check where you approve a prompt sent to your phone.
- Push bombing
- Sending many sign-in prompts until the user approves one.
- Number matching
- A sign-in check where you type a number shown on the sign-in screen into your phone app.
- Phishing-resistant MFA
- Sign-in methods, such as security keys and passkeys, that a fake website cannot trick into working.
Sources and further reading
- Apple Developer, "Registering your app with APNs", User Notifications documentation. https://developer.apple.com/documentation/usernotifications/registering-your-app-with-apns (accessed 1 Dec 2026).
- Google Firebase, "FCM architectural overview", Firebase Cloud Messaging documentation. https://firebase.google.com/docs/cloud-messaging/fcm-architecture (accessed 1 Dec 2026).
- CISA, "Implementing Phishing-Resistant MFA", fact sheet, October 2022. https://www.cisa.gov/sites/default/files/publications/fact-sheet-implementing-phishing-resistant-mfa-508c.pdf (accessed 1 Dec 2026).
- Microsoft Learn, "How number matching works in MFA push notifications for Authenticator". https://learn.microsoft.com/en-us/entra/identity/authentication/how-to-mfa-number-match (accessed 1 Dec 2026).