Been through many tech layoffs as both the kept and let go but have never seen intentional sabotage. Besides being grossly unethical and unprofessional it would open up a developer to nasty legal problems. And who the heck would trust them afterward?
You’re assuming that they keep the audit trails and normal controls functioning.
It would be pretty simple for a few radicals at the top to turn off versioning/verification/protection.
Just don’t check the return codes.