App Attest
Cryptographic proof to a server that a request came from a genuine copy of the app on real Apple hardware.
In one line
Can prove its requests come from the real app on a real iPhone
Cryptographic proof to a server that a request came from a genuine copy of the app on real Apple hardware.
Cuts bots and cloned apps; per-install key kept in the Secure Enclave. Can lock out jailbroken or modified devices.
What it can and can't do
What the user does: Nothing. It happens when the app signs in, buys, or sends something it wants to protect
It can
- Create a key for this app install that stays in the phone's secure chip
- Sign requests so the server trusts they came from the genuine app
- Count each signed request to spot copies being replayed
- Check the app on Apple hardware without asking you anything
It cannot
- Work on Android; Android uses Play Integrity instead
- See who you are or identify you across other apps
- Move the key to another device or keep it after you reinstall the app
- Prove the iPhone is free of every kind of tampering
How it differs between platforms: Only iPhone has App Attest. Android offers Play Integrity for a similar job.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Not supported | Supported |
| First version | Not available | iOS 14.0 |
| Permission or entitlement | none | entitlement |
| Protection level | not-exposed | entitlement |
| How access is granted | not-exposed | none |
| What the user sees | Not listed | Not listed |
| How long it lasts | Not listed | Delete app |
| How to take it back | Not listed | App Review: used for security |
| Store policy | None listed | None listed |
| API | Use Play Integrity or Key Attestation | Per-install key; counter increments on each assertion |
| Notes | See Play Integrity entry | Until reinstall |
Data you get
What comes back: Attestation object
Shape: object
How often: On request
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
key_id | string | None | 32 bytes | exact |
Technical limits
- Not available on all device types
The story
What it is
Apple gives a server proof that a request came from your real, unmodified app on a real iPhone.
For you
You do not see it. Behind the scenes your phone makes a secret key for the app and signs important requests. The result is fewer bots and fake copies of the app, and more accounts that just work.
For makers
Makers use it to stop cloned apps, scripted bots and tampered builds from hitting their servers. It protects revenue in games and shops, and keeps free offers from being farmed. The cost is that jailbroken phones may be refused.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A multiplayer game checks that a score comes from the real app, not a cheat tool, before it goes on a leaderboard. | None named |
| shopping | A store app proves a coupon claim came from a real phone, so bots cannot drain a promo budget. | None named |
| social | A social app stops fake account farms by asking new sign ups to prove they come from the genuine app. | None named |
| banking | A bank uses it to be sure a money request was not sent by a script pretending to be the app. | None named |
| ads | An ad network checks that clicks and installs come from real devices, which cuts fraud billing. | None named |
| developer | A developer protects a paid AI feature so only the true app can call the server and run up costs. | None named |
Risks
- Locks out modified phones
- Per install key is still an identifier
Android and iPhone in short
- Android: Android has a similar service called Play Integrity, which answers the same question differently.
- iPhone: This is an Apple only service that needs a real iPhone or iPad with a Secure Enclave and a server that checks the proof.
What the platform says
- Apple: App Attest. Apple's service that lets a server check that requests come from a legitimate instance of its app on Apple hardware.
Good uses and abuse
Legitimate uses
- Block clones and bots
Known abuse
- Lock out modified devices
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2020-09, iPhone iOS 14: App Attest introduced
Related capabilities
Related
- Play Integrity verdicts. Can ask Google whether the phone and app look genuine and unmodified
Sources
How well checked: Based on official documentation.