r/programming • • May 08 '18

Excel adds JavaScript support

https://dev.office.com/blogs/azure-machine-learning-javascript-custom-functions-and-power-bi-custom-visuals-further-expand-developers-capabilities-with-excel
2.4k Upvotes

585 comments sorted by

View all comments

853

u/Caraes_Naur May 08 '18

Great, now all the malware-laden npm packages can be distributed throughout corporate networks just like macros in the old days.

340

u/joesb May 08 '18

If MS cannot sandbox their scripting runtime properly, they are fucked regardless of whatever scripting language they choose.

22

u/funbike May 08 '18

Sandbox or not, scripting languages are a huge attack surface. There are all sorts of corner cases that implementors miss which allow exploits, even with a properly designed Sandbox. I assume it is inevitable for any high-profile sandboxed scripting language to eventually get owned.

33

u/joesb May 08 '18

Sure. But Excel has been supporting Scripting for decades. What's the point of complaining now just because Javascript support is added?

→ More replies (1)