Hacker News new | past | comments | ask | show | jobs | submit login

Probably preaching to the choir here, but for those who are unaware, be sure that .git directories are not accessible by web clients. It will lead to source code disclosure, and if you've checked in any secrets, credential exposure as well.



That and if the webserver can write to .git it can also invisibly modify the history to ensure that you continue to check out the backdoored code no matter how far you go back.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: