Sovryn-frontend
Sovryn-frontend copied to clipboard
Security: exposed Crypto/Blockchain Env Secret credential in .env.mainnet.local
Heads up — found an exposed credential file in .env.mainnet.local.
A Crypto/Blockchain Env Secret is committed to this repository's history and publicly visible.
Rotate this now. The credential in .env.mainnet.local is in git history, so removing the file from HEAD is not enough — it is already exposed. Revoke and regenerate any blockchain keys, RPC auth tokens, or other secrets in that file with the relevant providers.
After rotating:
- Run
git rm --cached .env.mainnet.localto stop tracking the file. - Add
.env.mainnet.localto.gitignoreif it isn't already covered.
Rewriting history (BFG or git filter-repo) reduces the exposure window but is optional once you've rotated. Let me know if I can help with anything.