>>FIRST MISSION//LOGS//android//the-label-says-certified-not-secure.MD
[ + ] TARGET_LOCKED200 OK
DEC 06, 2026timer 3 MIN READSYS_TAG: android STATUS: VERIFIED_WORKING

The Label Says Certified, Not Secure

Play Integrity's device verdicts measure whether Google certified the phone and its image, not whether the phone is safe. The require-check in your backend is the real policy, and the hardware attestation API the label is built on can already vouch for an OS Google never licensed.

ENGINE: KERNEL // STABLE
BASE_ARCH: x86_64
HOST: VASTORIGINS.COM
GPG: OKSIG_ID: 0x4EB27DB0

I keep a short list of APIs that quietly make a product decision for the team that calls them. Play Integrity moved to the top of that list this week, when a wiki page about it spent a day on the front page and four hundred comments argued past each other about whether Google bans alternative operating systems. Google built the gate. App developers installed it.

🔒 The label measures certification, not security

Google retired SafetyNet Attestation in January 2025 and moved everyone to Play Integrity. The overview states the purpose without flinching: it helps you check that requests are “coming from your genuine app, installed by Google Play, running on a genuine and certified Android-powered device.” Four conditions, and none of them is “this device is free of known vulnerabilities.”

“Certified” is a licensing status. The manufacturer signed Google’s compatibility agreement, passed the test suite, and ships with Play services. A phone can be certified and years behind on patches. A phone can be uncertified because its owner installed a hardened OS that closes holes the stock image left open. The label does not distinguish those cases, because it was never asked to.

The tiers make the split visible. Device integrity on Android 13 and later requires hardware-backed signals; strong integrity adds a recent security patch. Google’s troubleshooting note for a test device that fails the check is the policy in miniature: “make sure the factory ROM is installed (for example, by resetting the device) and that the bootloader is locked.” Not update it. Not find out what failed. Reflash the vendor image and relock.

So the default label answers a provenance question, and only the opt-in strong label asks about patches. Google’s own overview separates them that way. Most apps, according to GrapheneOS, enforce device integrity and stop there. If that reading is right, the most common gate in Android checks whether the OEM is on the list, not whether the phone is current.

🧾 Your if-statement is the enforcement point

The API does not deny anyone. Your server does, on a line that looks like this:

const labels = verdict.deviceIntegrity?.deviceRecognitionVerdict ?? [];
if (!labels.includes("MEETS_DEVICE_INTEGRITY")) return deny("device-not-certified");

That line is a product decision written in the language of a security check, and the EU’s digital identity wallet is the clearest example of what happens when nobody notices. In February 2025 someone opened issue 287 on the EUDI Android wallet repository asking for the Play Integrity requirement to be removed. The reporter listed who it locks out: custom ROM users, unlocked bootloaders, rooted devices, phones without recent patches, and stock devices that fail the check because of a bug.

A maintainer answered two days later that this is a reference implementation, that member states are free to use it as they see fit, and that “we do not have any control over their security implementations.” The issue was closed as completed. Then a comment in June quoted the Italian technical rules, which require the wallet provider to verify the instance “using the available OS Provider’s API and MUST do so using the securest flow allowed by the OS Provider’s API. Examples include Play Integrity API for Android and App Attest for iOS.” Both things are true: the reference team disclaims control, and a member state made the example mandatory. The ambiguity is where the lockout lives.

GrapheneOS keeps a list of apps that fail its builds. At the time I read it, it ran to twenty-five entries, and the ones that matter are not car apps: myGov in Australia, gov.br in Brazil, Singpass in Singapore, PosteID and IO in Italy, SwissID. A bank can tell you to buy a supported phone. A tax authority telling you to buy a supported phone in order to file is a different conversation, and it is the one that has not happened.

Google has been tightening the other side of this too. Developer verification began on September 30, 2026 for apps installed from participating stores in Brazil, Indonesia, Singapore and Thailand on certified devices running Android 8 or later, with a global expansion promised in 2027. Google did build a hobbyist path, limited distribution accounts for up to fifty devices with no government ID and no fee, which is more than the headline suggests.

🔑 The same hardware can vouch for a different OS

The part that gets lost is that the check most apps want already exists, and it does not require Google in the trust path.

Android’s hardware key attestation API is a platform feature. The phone’s secure element signs a statement about its own state, including verifiedBootState, which comes back Verified for a locked bootloader running a signed image, and SelfSigned when the device runs an OS with its own verified boot key. The second case is the interesting one, because it is exactly what a properly relocked GrapheneOS install looks like, and the app’s server can decide to trust that key.

GrapheneOS publishes what you need: twenty-one Pixel verified boot fingerprints at the time I read the guide, a signed JSON file at grapheneos.org/attestation.json, an OpenSSH signature beside it, and the allowed_signers file to check it with. The check is one command:

ssh-keygen -Y verify -f allowed_signers -I [email protected] \
  -n "attestation keys" -s attestation.json.sig < attestation.json

Then the receiver logic: accept the attestation chain, require verifiedBootState to be Verified or SelfSigned, and when it is SelfSigned, require verifiedBootKey to be in that set. Devices have shipped with hardware attestation since Android 8, so anything older can keep falling back to Play Integrity. GrapheneOS recommends that order: hardware attestation first, Play Integrity for devices with broken or missing implementations. Bind the whole thing to a server-issued challenge, or you have built a token an emulator can replay.

The difference from Play Integrity is who is allowed to decide. Play Integrity asks Google’s servers to combine signals and return a label, and the developer cannot add a root of trust to that answer. Direct attestation lets your server read the certificate chain itself, which is why it can accept a second OS without asking anyone’s permission. Google’s key attestation library and samples are public, so the receiver code is not exotic.

One signed file to fetch and a few dozen lines of verification. That is a sprint, not a rewrite, which is why “we can’t support that” is hard to take at face value.

⚖️ Where the argument gets weaker

Four things keep the story from being a clean villain.

The strongest counterargument on the thread was that developers pick operating systems all the time and always have. An app that ships only for iOS is not a conspiracy, and an OS with a tiny install base has to earn support like any other platform. That is fair as a general point, but it explains market share, not the specific case where the same hardware can prove a stronger state and the app chooses not to look.

The Volkswagen reports are messier than the wiki makes them sound. RuntimeWire, covering it on December 5, found forum reports of a successful GrapheneOS login on November 3, 2026 alongside the support email. A support agent saying custom ROMs are unsupported is data, not a policy document.

Unified Attestation, the Volla-led open source alternative, does not fix the structure. It replaces Google’s allow-list with a federation of vendor allow-lists, and GrapheneOS has asked developers to boycott it for that reason. A second gatekeeper is still a gatekeeper.

And Google has not said anything publicly. Android Authority asked in May and got no response. The silence matters: the policy is being set by default, through documentation, by a company that has not had to defend it.

🛠️ What to do with your own gate

Google’s own guidance is more cautious than the code most teams ship. It says the API works best alongside other signals and not as a sole anti-abuse mechanism, and it suggests implementing the check without enforcing it first, so you can see what verdicts your install base actually returns before you cut anyone off. If you have never looked at that distribution, you do not know what your require-check does.

Then decide per action. A login screen and a payment transfer do not deserve the same bar. Google’s tiered model exists for this: allow, allow with limits, allow after a challenge, deny. Most of the lockouts I have read about come from one boolean applied to everything.

If you want the anti-tampering signal, add the hardware attestation path. If you do not, say plainly that you restrict installs to Google-certified devices, because that is the decision your if-statement makes. Calling it security when it is a licensing check is the part that deserves the criticism.

🧠 Final Thoughts

None of this requires Google to change. The verdict is a fact about certification, your server decides what to do with it, and the same secure element that produces the verdict can vouch for an OS Google never licensed. The uncomfortable part is that the policy is already written, in every backend that checks one label and denies everything else, and most of us wrote it without noticing.

Thanks for reading.

[ SIGNATURE VERIFIED // GPG 0x4EB27DB0 // PROVENANCE SECURE ]
➔ RETURN TO LOGS