Edit: I love downvotes without rebuttal.
That would fall under criminal negligence then.
Claiming ignorance, incompetence or other factors that might lead to unintentional harm does not get you off scot free.
Also, I would wager that about 75% of bugs come from the seems of integrations where two peoples duties overlap. In that case who's fault is it if they both built half a bridge that doesn't line up?
Doctors should be punished if their patient dies for reasons caused by doctor's own fault or by some unintentional action or inaction. That's why malpractice insurance is a thriving industry.
> In that case who's fault is it if they both built half a bridge that doesn't line up?
The chief engineer or the architect, the ones who signed off on the project. And again, that's why those industries have professional liability insurance.
You can't do this without a lot of ethical backing, supportive law resources, whistleblower protections, and better controls on letting people into the industry.
It will be an utter disaster if you don't have those protections.