Just stop using JS... If you control the server why not have the vendor have a server level integtration that way you are not serving any remote scripts. It would be interesting to do a study on how many of these compromise emnate from third party scripts and I am willing to bet it is over 90%
Yes, AI is making it much easier to hack - you can just spin up a bunch of instances to look for vulnerabilities, you don't even need to do much manual work
Somehow this sentence immediately flags this article as AI slop.