But that's just a question of due diligence. Anyone who pulls random code from unknown sources with no evidence of testing or competence gets what they deserve.
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.