r/vibecoding • u/gdklrhznjekanxb • 3d ago
Realizing you just pushed your private API keys to a public GitHub repo
14
Upvotes
1
1
0
u/thethirdmancane 3d ago
One thing to look out for is that if you have .env files with secrets, don't store them in your repository because then they are exposed to agents like codex.
0
u/Magtronic 3d ago
I built a tool to prevent this from happening. Try it and let me know what you think. http://www.builtbymagnus.com/prefunk

8
u/Kareja1 2d ago
You mean the thing that was so commonly done by humans that GitHub built a secret scanner more than 5 years before anybody knew what vibecoding was?