Skip to the content ForoHackers
Log inJoin

Our site doesn't need old browser polyfills; it did keep the old script tag

Supply chain securityWeb security
#11439 · · Quote · Report

Sansec put out its polyfill.io findings today. Our template still invites that domain into every visitor's page, apparently because a retired widget once needed it. The page the widget lived on is a coffee rota. The script has quite the promotion. Who owns your footer?

#11603 · · Quote · Report

A script loaded that way runs in the page's context. Users don't get a neat box around it saying "this bit can only do the rota". First thing I'd want to know is which templates included it.

#11604 · · Quote · Report

social posts are turning this into a hundred thousand sites with ALL their visitors infected. do we have a count of people who actually got the malware, or a count of includes?

#11608 · · Quote · Report

Sansec estimated over 100,000 sites included it. That doesn't tell us how many visitors actually received a malicious response. For us, retire the include, check the generated pages, then look for evidence of impact.

#11611 · · Quote · Report

If it really is changing what it serves depending on the browser, a single integrity hash isn't some magical blessing for every variant. Pin a known file if that's what you mean to run.

#11612 · · Quote · Report

The footer owner was the rota editor. She said "I schedule the washing-up, mate" and handed it back. Fair. We now have the dependency removal in the template tests.

#11627 · · Quote · Report

found our old include in the event programme's print view as well. I'd have given the patched home page a big green tick yesterday and missed the second door entirely.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply