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
1
u/Joniator Jan 17 '20
Especially frameworks like react are the problem with js.
It lacks a standard library, and frameworks pull every bit of functionality from npm packages, maintained by hundreds different people. One malicious actor publishing a bad package, one maintainer not being carefull enough checking the updates, and every single updated react app is compromised