r/shittyprogramming • u/mikaey00 • Jan 16 '20
JavaScript: it's a security risk
Overheard on a call one of my colleagues just got off of:
Colleague: "So why aren't you able to add our JavaScript to your checkout page?"
Client: "Oh, we disable JavaScript on our entire checkout page."
Colleague: "...why?"
Client: "It's a security risk."
Colleague: <head explodes>
136
Upvotes
View all comments
Show parent comment
2
u/pulpyoj28 Jan 18 '20 edited Jan 18 '20
At my company, all our users are internal, and the data at risk is the company’s. The liability is solely ours. And we made a fair tradeoff long ago that JS and React’s usefulness outweigh their risk.
Security teams signed off on this. You’re not an effective security team if you say no to everything that increases risk, because everything does increase risk. Security teams still need to allow the company to accomplish work.