What Is Device Attestation?
Device attestation, also called platform attestation, is a mechanism in which a device or its operating system vouches for the integrity of the software making a request. A key held in secure hardware signs a statement about the environment, typically that the device is genuine, runs a vendor-approved operating system and hosts an unaltered app, and the platform vendor certifies that key. The receiving server verifies the signature instead of inferring trust from how the client behaves, so a guess becomes a cryptographic claim backed by Apple or Google.
The Main Implementations
On Android, Google's Play Integrity API tells an app's server whether it is talking to the unmodified app from Google Play on a genuine, certified device; from Android 13 on, the device verdict rests on hardware-backed proof of a locked bootloader and a certified manufacturer image. It replaced the SafetyNet Attestation API, which Google switched off in January 2025. Apple's App Attest generates a key in the Secure Enclave and has Apple's servers certify that it belongs to a legitimate instance of the app. On the web, Apple's Private Access Tokens wrap an attestation in a privacy-preserving token that lets a site skip a CAPTCHA. Google's Web Environment Integrity proposal would have let any website request such a token for the browser environment; after critical feedback, Chrome dropped it in November 2023. Most recently, Google Cloud Fraud Defense, the successor to reCAPTCHA Enterprise, added a QR code challenge, still in preview, that Google describes as a high-assurance attestation that a unique human is present: the visitor completes it in the trusted execution environment of a phone running Google Play services or a recent iOS version.
Why It Matters for Bot Detection
Most bot detection infers trust from indirect evidence such as fingerprints, behavior and network reputation. Attestation adds direct evidence: emulators, rooted devices and tampered app builds fail the integrity checks, and a private key in secure hardware can't be read out and copied to a server farm. Both vendors still treat the result as one input among several. Apple notes that App Attest can't definitively pinpoint a device with a compromised operating system, and Google documents the main workaround: abusers generate valid attestations on real devices and hand them to bots.
The Trade-offs
Attestation only works where a vendor vouches, and on the vendor's terms. Devices without Google Play services get no Play Integrity verdict, and alternative Android systems such as GrapheneOS, CalyxOS or LineageOS can't earn the device integrity label on current Android versions because they aren't certified manufacturer images. A site that requires attestation also hands part of its admission decision to Apple or Google, a concentration of gatekeeping power that Google's own Web Environment Integrity explainer acknowledged when it warned that sites might deny service to browsers they disfavor. Privacy is the third concern: attestation runs through the vendor's servers, and Play Integrity's device recall lets an app recognize a device even after a reset. For websites, attestation therefore works best as an optional bonus signal. Services such as CaptchaFox require no device attestation and rely on environment checks, behavioral analysis and proof of work, so verification doesn't depend on who made the visitor's phone or operating system.
Informazioni su CaptchaFox
CaptchaFox è una soluzione conforme al GDPR con sede in Germania che protegge siti web e applicazioni da abusi automatizzati, come bot e spam. Il suo approccio distintivo e multilivello utilizza segnali di rischio e sfide crittografiche per facilitare un processo di verifica robusto. CaptchaFox consente ai clienti di essere operativi in pochi minuti, non richiede gestione continua e offre alle aziende una protezione duratura.
Per saperne di più su CaptchaFox, contattaci o inizia a integrare la nostra soluzione con una prova gratuita.