FixVibe

// baas / spotlight

Firebase Security Rules

`allow read, write: if true` is somebody's production database right now.

El gancho

Firebase tutorials show open rules to keep examples short — `match /{document=**} { allow read, write: if true; }` makes the example database work, the tutorial finish, and the developer feel productive. Plenty of apps copy that rule straight into production and never update it. Public buckets full of customer data, Firestore collections readable by any visitor with the API key (which ships in the client bundle by design), Realtime Database trees writable by anyone with curl. Firebase's security model is solid when used correctly; the failure mode is operational, not architectural. Mass scanners continuously probe Firebase projects for permissive rules, and every disclosure cycle of 'company X leaked Y million records' is a permissive ruleset that nobody noticed.

Nola funtzionatzen duen

Each Firebase service — Firestore, Realtime Database, Cloud Storage — has its own rules engine, expressed in a custom DSL that runs server-side per request. Without explicit rules, the default for new projects is locked-down (since 2019). With explicitly permissive rules, the data is open to any visitor with the public API key, which ships in your client bundle by design (Firebase's security model assumes rules are the gate). The bug surfaces three ways: copy-pasted tutorial rules left in production, attempted rules that are syntactically valid but semantically broken (allow conditions that always evaluate true), and rules-as-afterthought scenarios where a developer added a new collection and forgot to add matching rules.

Las variantes

Allow-anyone-everything

Classic shape: `match /{document=**} { allow read, write: if true; }`. Tutorial code that shipped to prod. Total exposure.

Auth-but-no-ownership

Rules require auth but don't check ownership: `allow read, write: if request.auth != null;`. Any signed-up user reads everyone else's data.

Open Cloud Storage buckets

Storage rules permit reads of any path. User-uploaded files (profile pics, documents, internal attachments) are crawlable.

Wildcard-write Realtime DB

RTDB rules tree without explicit per-path rules defaults to inheriting parent permissions. One permissive parent opens the whole subtree.

El radio de impacto

Customer data leak: profiles, messages, uploaded files, internal documents, payment metadata — all readable by any visitor with the API key. Write access often comes paired (most permissive rules don't distinguish read from write), letting the attacker plant content, modify others' data, fill your storage quota with junk to drive up your bill, or replace user-visible content with phishing. For consumer apps, this is the kind of incident that makes the news. For B2B SaaS, customer disclosure obligations kick in immediately.

// what fixvibe checks

What FixVibe checks

FixVibe checks backend-as-a-service exposure through safe configuration and access-boundary signals. Reports focus on what is exposed and how to lock it down. For check-specific questions about exact detection heuristics, active payload details, or source-code rule patterns, contact support@fixvibe.app.

Defensas a prueba de balas

Never ship `allow read, write: if true` to a production project. Write rules that match your data model and authorization model — for Firestore, scope every read and write to documents the requesting user owns or has permission to access. Use Firebase's local emulator (`firebase emulators:start`) to test rules during development; emulator-based tests with `@firebase/rules-unit-testing` are the right shape for CI. Audit every collection regularly for explicit rules — the absence of rules for a new collection is a deny by default, but only if you trust your team to never write a wildcard match. For Cloud Storage, scope rules per-path: `match /users/{userId}/{allPaths=**} { allow read: if request.auth.uid == userId; }`. Move sensitive data into a dedicated project where the rules baseline is stricter. Subscribe to Firebase's Security Rules anomaly detection (Spark/Blaze plan feature) so unexpected rule changes alert before they bite.

// ejecútalo en tu propia app

Sigue lanzando mientras FixVibe vigila.

FixVibe somete la superficie pública de tu app a la misma presión que un atacante — sin agente, sin instalación, sin tarjeta. Seguimos investigando nuevos patrones de vulnerabilidad y los convertimos en checks prácticos y fixes listos para Cursor, Claude y Copilot.

Backend-as-a-Service
17
tests en esta categoría
módulos
4
checks dedicados de backend-as-a-service
cada scan
384+
tests en todas las categorías
  • Gratis — sin tarjeta, sin instalación, sin ping de Slack
  • Solo pega una URL — nosotros crawleamos, sondeamos y reportamos
  • Hallazgos clasificados por severidad, deduplicados al puro signal
  • Prompts de fix actuales, listos para Cursor, Claude, Copilot
Ejecutar un escaneo gratis

// checks actuales · fixes prácticos · lanza con confianza

Firebase Security Rules — Spotlight de Vulnerabilidad | FixVibe · FixVibe