Skip to Content
Platform.Ontology

App Attest

Cryptographic proof to a server that a request came from a genuine copy of the app on real Apple hardware.

Works without askingSign in and identityAttestationAndroid and iPhoneWhen you are signed in

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

AndroidiPhone
StatusNot supportedSupported
First versionNot availableiOS 14.0
Permission or entitlementnoneentitlement
Protection levelnot-exposedentitlement
How access is grantednot-exposednone
What the user seesNot listedNot listed
How long it lastsNot listedDelete app
How to take it backNot listedApp Review: used for security
Store policyNone listedNone listed
APIUse Play Integrity or Key AttestationPer-install key; counter increments on each assertion
NotesSee Play Integrity entryUntil reinstall

Data you get

What comes back: Attestation object
Shape: object
How often: On request

FieldTypeUnitRangePrecision
key_idstringNone32 bytesexact

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

TypeExampleApps
gamesA multiplayer game checks that a score comes from the real app, not a cheat tool, before it goes on a leaderboard.None named
shoppingA store app proves a coupon claim came from a real phone, so bots cannot drain a promo budget.None named
socialA social app stops fake account farms by asking new sign ups to prove they come from the genuine app.None named
bankingA bank uses it to be sure a money request was not sent by a script pretending to be the app.None named
adsAn ad network checks that clicks and installs come from real devices, which cuts fraud billing.None named
developerA 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

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction3 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2020-09, iPhone iOS 14: App Attest introduced

Sources

How well checked: Based on official documentation.

On this page