Many years ago, I heard something like this: "always write your software in assumption that one of your end users will be a violent psycho who knows where you live".
Looking at e.g. NodeJS "ecosystem" I realized that, alas, there is a significant lack of such individuals from both sides of the process.