Firebase App Check: what it actually protects (and what it doesn't)

App Check attaches a short-lived attestation token to each request, proving it came from a genuine, unmodified build of your app on a real device. Added in front of a proxy, it raises the bar on API abuse — but only if you understand exactly what it does.

What it stops

The common attack on a mobile backend is cheap and scripted: extract a token or key, then replay raw HTTP calls from a server, bypassing the app entirely. App Check breaks that. A bare curl has no valid attestation, so the proxy rejects it with a 401. Scripts that hold only a stolen user token or key stop working. A valid App Check token that is captured can still be replayed until it expires, unless replay protection is also enforced.

What it doesn't

App Check is attestation, not authentication or authorization:

Use it in layers

Treat App Check as one layer: short-lived per-user tokens for identity and revocation, per-user rate limits for volume, and App Check to cut off the cheap script-replay attacks. One important detail — enter explicit app IDs when you enable it. An empty allow-list accepts tokens from any app in your Firebase project, which is wider than you want. Read more: Why client-side rate limiting can't stop API abuse. Read more: Short-lived tokens beat API keys for mobile apps.

The proxy verifies the App Check token server-side before forwarding. See the docs.

Stop shipping your API key inside your app.

Swap the base URL, keep the provider's native API, and let the proxy inject your key server-side.

Start free