A Turkish computer science student thought he had uncovered a hacker attempting to sabotage open-source software on GitHub.