Wait, from what I've heard, the programmer just uploaded a configuration file that contains the password of the database?
And oh boy, he's not the only one, Maybe GitHub can do something about it.
To the topic: This is the exact reason why I don't support any sort of system that log users personal information without user's control.
Because regardless how strong and secure you think your system is, all it takes is one careless action, then everything blows up.