Yup, it is not about awareness, it's about how the economy is structured. If people are paid for unsustainable software, they'll do it.
And that's just the attack surface when it comes to leanness mediocrity.
The "defect & deficiency surface" is much larger than the attack surface, and defects are always doing their deeds while attacks are (hopefully) relatively seldom.