firebase-app-check
Skill by evanca
Explains how to add Firebase App Check to Flutter apps, covering attestation providers, debug tokens, token refresh and enforcement rollout. It is for developers who want to block requests from unverified apps.
Install firebase-app-check
Built from the published package, never by AI.
git clone --depth 1 https://github.com/evanca/flutter-ai-rules /tmp/flutter-ai-rules && mkdir -p ~/.claude/skills && cp -r /tmp/flutter-ai-rules/skills/firebase-app-check ~/.claude/skills/firebase-app-checkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/evanca/flutter-ai-rules /tmp/flutter-ai-rules && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/flutter-ai-rules/skills/firebase-app-check ~/.gemini/antigravity-cli/skills/firebase-app-checkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The firebase-app-check skill gives an AI assistant guidance for adding Firebase App Check to Flutter applications. It covers installing the firebase_app_check package, initializing App Check after Firebase.initializeApp(), and choosing an attestation provider for Android, Apple and web. It also explains debug providers and debug tokens for development and CI.
The skill describes a staged enforcement rollout, token refresh behavior and security practices such as avoiding debug providers in production. It also shows how to verify App Check tokens on a backend with the Firebase Admin SDK. It is aimed at developers building Flutter apps on Firebase who want to limit access to backend resources to verified apps.
Written from the project's SKILL.md and checked against it.
What it can do
- Setup and activationShows how to initialize App Check after Firebase.initializeApp() and before other Firebase calls.
- Provider selectionLists Android, Apple and web attestation providers and their use cases.
- Debug configurationCovers debug providers, registering debug tokens and platform-specific debug setup.
- Enforcement rolloutDescribes a staged sequence for enabling enforcement without disrupting legitimate users.
- Token refresh handlingExplains automatic token refresh and a token listener for custom backends.
- Server-side verificationShows how to verify App Check tokens with the Firebase Admin SDK.
What you need
- Flutter project using Firebase
- Apps registered in the Firebase console under App Check
- reCAPTCHA v3 site key for web
- Firebase Admin SDK for server-side verification
Try asking
- Set up Firebase App Check in my Flutter app with the right providers
- Configure App Check debug tokens for my CI pipeline
- Plan an App Check enforcement rollout for Firestore and Storage
Good to know
- On physical Apple devices, AppleDebugProvider is ignored if AppDelegate calls FirebaseApp.configure() natively.
- Debug providers must not be used or shared in production builds.
- Some Android devices need Meets basic device integrity enabled in the Google Play console.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/firebase-app-check/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to firebase-app-check
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
firebase-app-check: common questions
Which App Check provider should I use in production?
The source lists AndroidPlayIntegrityProvider for Android and AppleDeviceCheckProvider as the production default for Apple. AppleAppAttestProvider is listed for enhanced security on newer OS versions.
Why is my debug provider ignored on an iPhone?
If AppDelegate calls FirebaseApp.configure() natively, the Apple SDK locks in DeviceCheck on physical devices. The source says to install the AppCheckProviderFactory before configure() to avoid this.
Should I enable enforcement on all services at once?
No. The source recommends enabling enforcement gradually, starting with non-critical services such as Cloud Storage before Firestore, after unverified traffic drops to near zero.
How do I install firebase-app-check?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is firebase-app-check free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is firebase-app-check safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to firebase-app-check?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
