firebase-apk-scanner

Scans Android APKs for Firebase misconfigurations and tests exposed endpoints for vulnerabilities.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/TECH-HY/SKILLS --skill firebase-apk-scanner-tech-hy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-apk-scanner
Source: https://github.com/TECH-HY/SKILLS/tree/main/skills/firebase-apk-scanner
Command: npx skills add https://github.com/TECH-HY/SKILLS --skill firebase-apk-scanner-tech-hy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires apktool, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve? Firebase backends in Android apps frequently ship with insecure configurations—open databases, writable storage buckets, and unrestricted authentication—that manual review often misses. This Skill automates the extraction of Firebase configuration from APKs and actively tests every endpoint for exploitable weaknesses. ## Core Features & Use Cases - Automated APK Analysis: Decompiles APKs with apktool and extracts Firebase configuration from google-services.json, XML resources, assets, smali code, and DEX strings. - Endpoint Security Testing: Tests Realtime Database, Firestore, Storage buckets, Cloud Functions, Remote Config, and authentication endpoints for unauthenticated access, open signup, anonymous auth, and email enumeration. - Structured Reporting: Generates text and JSON reports with severity-classified findings (CRITICAL to LOW) plus remediation guidance from a detailed vulnerability patterns reference. - Use Case: During an authorized mobile app penetration test, point the scanner at a client's APK to discover that their Realtime Database allows unauthenticated reads, exposing user PII, then deliver a remediation report with secure rules examples. ## Quick Start Scan the APK file at the provided path for Firebase security misconfigurations and summarize the findings with remediation steps.

Frequently Asked Questions about firebase-apk-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan an Android APK for Firebase vulnerabilities?

Run the bundled scanner script against the APK file or directory. It decompiles the APK with apktool, extracts Firebase configuration from all sources, tests authentication, database, storage, and function endpoints, then generates text and JSON reports.

What Firebase misconfigurations can be detected in an APK?

The scanner detects open email/password signup, anonymous authentication, email enumeration, unauthenticated Realtime Database read/write, open Firestore collections, storage bucket listing and upload, unauthenticated Cloud Functions, and Remote Config exposure.

Can I test Firebase security without the scanner script?

Yes, manual testing is documented as a fallback. Decompile with apktool, grep for firebaseio.com and AIza API keys, then use curl against Identity Toolkit, Realtime Database, Firestore, Storage, and Remote Config endpoints.

Is it legal to scan APKs for Firebase vulnerabilities?

Only scan applications you have explicit written authorization to test. The skill is intended for authorized security research and penetration testing; scanning production Firebase projects without permission is prohibited.

Does the Firebase scanner work on iOS or web apps?

No, this skill is APK-specific and only supports Android application packages. For iOS or web targets, you would need different extraction and testing approaches not covered by this skill.

Why does anonymous Firebase authentication count as a vulnerability?

Anonymous auth issues valid Firebase tokens that pass auth != null security rules, granting access to resources intended for authenticated users only. Rules must explicitly exclude anonymous providers to be secure.