Skip to content
vetkitChecksChangelogDocumentation

vetkit.firebase.rules.any-user-full-access

A Firestore / Cloud Storage security rule gives every signed-in user write access to all data under a recursive wildcard match (if request.auth != null). With anonymous or open sign-up, anyone can read and overwrite other users' data.

Last updated:

Suite: Security

regex

A Firestore / Cloud Storage security rule gives every signed-in user write access to all data under a recursive wildcard match (if request.auth != null). With anonymous or open sign-up, anyone can read and overwrite other users' data.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Scope rules per collection and check ownership, e.g. match /users/{userId} { allow read, write: if request.auth.uid == userId; }.

References

Source: packages/engine/rules/sast/config.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.