901
submitted 4 months ago* (last edited 4 months ago) by 0x815@feddit.org to c/technology@lemmy.world

Archived link

The polyfill.js is a popular open source library to support older browsers. 100K+ sites embed it using the cdn.polyfill.io domain. Notable users are JSTOR, Intuit and World Economic Forum. However, in February this year, a Chinese company bought the domain and the Github account. Since then, this domain was caught injecting malware on mobile devices via any site that embeds cdn.polyfill.io. Any complaints were quickly removed (archive here) from the Github repository.

you are viewing a single comment's thread
view the rest of the comments
[-] Supermariofan67@programming.dev 142 points 4 months ago

This is why ublock origin is an essential security tool.

[-] letsgo@lemm.ee 19 points 4 months ago

What rules can we add that solve this problem? (I've tried DDG but didn't find any results)

[-] Supermariofan67@programming.dev 67 points 4 months ago

This one is already in the default uBlock filters - Badware risks

I also strongly suggest adding https://big.oisd.nl/ as a filter list. It's a large and well maintained domain blocklist (sourced from combining lots of other blocklists) that usually adds lots of these sorts of domains quickly and has very few false positives.

If you want to take it even further, check out the Pro list and Thread Intelligence Feeds list here https://github.com/hagezi/dns-blocklists

These can all be added to a pihole too if you use one.

[-] sugar_in_your_tea@sh.itjust.works 5 points 4 months ago

Looks like I'll need to set up pihole then. Thanks for the info!

[-] ChilledPeppers@lemmy.world 5 points 4 months ago

cdn.polyfill.io^ ? By now it was probably already added to the default lista tho...

(I dont really understant these things tho, so correct me if I'm wrong)

load more comments (1 replies)
this post was submitted on 26 Jun 2024
901 points (98.9% liked)

Technology

59081 readers
3563 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS