Not when you have suffered a hack.
You could pull a code out from google, it would be safe, but certainly not from anyone.
Yes, there are people who seem never to write code, and there are others who seem endlessly to re-invent the wheel to no good purpose.
I guess I just don't understand what you're asking. So I'll give up.