The NSA and other intelligence organizations routinely buy exploits for big bucks. A programmer could make a nice living devising hard to spot exploits, putting them in their projects, and then discretely selling them to their home country's intelligence agency. When and if the exploit is detected the programmer can…