Live data from Hacker News

Hacking websites via third-party JavaScript libraries

dmsec.io

1–10 of 39 posts

Re: Hacking websites via third-party JavaScript libraries

#3
I’ve come to the conclusion that the way to secure your website from third party JavaScript is to monitor everything happening on your site: https://enchantedsecurity.com/

These third party libraries are a necessary part of modern websites. It’s worth trusting but verifying their security.

Re: Hacking websites via third-party JavaScript libraries

#5
post #3

I’ve come to the conclusion that the way to secure your website from third party JavaScript is to monitor everything happening on your site: https://enchantedsecurity.com/ These third party libraries are a necessary part of modern websites. It’s worth trusting but verifying their security.

>Add Enchanted Security's JavaScript to your website to prevent data exfiltration attacks, protecting passwords, credit cards, and other sensitive information.

>Install Enchanted Security's tamper-resistant JavaScript snippet on your site. The inline snippet is designed to be small, adding only a few milliseconds to load time, and does not require active configuration on your end.

There's a lot of marketing copy on your site, but it doesn't really tell me what it's really doing, or even how Enchanted Security itself is secured.

Re: Hacking websites via third-party JavaScript libraries

#8
post #3

I’ve come to the conclusion that the way to secure your website from third party JavaScript is to monitor everything happening on your site: https://enchantedsecurity.com/ These third party libraries are a necessary part of modern websites. It’s worth trusting but verifying their security.

Hah. "Security is hard, let's go shopping (for our magic security dust)!"

Re: Hacking websites via third-party JavaScript libraries

#9

The fact that this was possible is a testament that web devs really have no concept of due diligence. Sad. Imagine if running a native app on your computer would load random DLLs from servers. It boggles the mind.

Technically applications with auto updates do load "random" DLLs from servers.

I'm pretty sure you can't make a blanket statement like this without discounting a lot of developers who do take security into account when developing. These are just some interesting holes that were reported.

Is all your code perfect?

Re: Hacking websites via third-party JavaScript libraries

#10
post #3

I’ve come to the conclusion that the way to secure your website from third party JavaScript is to monitor everything happening on your site: https://enchantedsecurity.com/ These third party libraries are a necessary part of modern websites. It’s worth trusting but verifying their security.

The other option is to reduce your attack surface by minimising the amount of JS you use.
Post reply on HN