Security Issue: Hardcoded Firebase Secrets in Codebase #91
revolutionarybukhari
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I have discovered a security issue in our codebase: our Firebase API key and other sensitive configuration values were hardcoded in
src/common/services/firebaseClient.js. Storing secrets in source code is a security risk, as it can lead to accidental exposure and unauthorized access if the repository is ever shared or made public.What I’ve Done
.gitignoreto ensure.envand all.env.*files are excluded from version control.Actions Required
.envfile with the new Firebase credentials after rotation.Example
.envfile:Please let me know if you have any questions, concerns, or suggestions regarding this security update.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions