I don't think I'm a great programmer but if this is what a "bad programmer" is maybe I can breathe a little.
"Bad programmer" is a big range, but the low end is so much lower than we tend to remember.
In an interview, I gave a problem to a candidate and asked him how he'd tackle it. He said he'd google for a solution first. At that moment, I recall having a dilemma of choosing between "smart guy" and "no good as a problem solver". He turned out to be the latter, but it was a conceivable answer from a smart and capable candidate too.
Not really - if you aren't authorized to do that as a developer, it's likely because of IP issues, etc; IOW, you have access to privileged info (the code and IP) - and you are supplying it to an outside 3rd party without permission from your employer.
If all that happens is you get fired - you are lucky. A very expensive lawsuit would be a more likely outcome, depending on the company and their resources, and whether they want to "make an example". It's not much different than taking their code and handing it to a competitor.
It might land you a job, but then you have to keep the lies going indefinitely, living in fear of being found out.
Is it worth it ?
If the biggest threat is that you lose your job, you don't have much to lose. After all, that is the same place you would be if you didn't try at all. And if you can gain something in the process, which seems quite likely here, you're already well ahead of the game.
So yes, the only reasonably foreseeable risk is losing your job.
http://money.cnn.com/2012/05/13/technology/yahoo-ceo-out/
https://panampost.com/sabrina-martin/2016/02/25/uruguay-vp-a...
http://www.nbcnews.com/id/40630166/ns/health-health_care/t/f...
However, there are many more that aren't (I personally know a few cases, including a CEO, but I'm not going to out them).