Skip to content
vetkitChecksChangelogDocumentation

vetkit.firebase.database.public-write

A Firebase Realtime Database rule sets .write to true. Anyone with the public database URL can write, overwrite or delete this part of the database.

Last updated:

Suite: Security

json

A Firebase Realtime Database rule sets .write to true. Anyone with the public database URL can write, overwrite or delete this part of the database.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Use a condition such as "auth != null && auth.uid === $uid" and validate the data with .validate rules.

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.