مۇنازىرىلەر » ئىجادىيەت

Polyfill supply chain attack - bootcdn and staticfile

§
يوللانغان ۋاقتى: 2024-06-29

https://sansec.io/research/polyfill-supply-chain-attack

Of the domains listed as affected, Greasy Fork镜像's allowed CDN list included bootcdn.net, bootcss.com, staticfile.net, and staticfile.org. These have now been removed as allowed CDNs. If you are using these CDNs in your scripts, I suggest you modify your script immediately.

§
يوللانغان ۋاقتى: 2024-07-04

If the authors do not update the script, could you add a warning to the users that "The listed script contains malware CDNs. Do you still want to install" when the install button is clicked?

§
يوللانغان ۋاقتى: 2024-07-04

I think this would not be just a one time case. China's network is so dirty.

This will happen again and again in the future.

§
يوللانغان ۋاقتى: 2024-07-04

I don't think it's the case that every script on those CDNs is infected; it sounds like just polyfill was affected.

If that's not true, then I think the thing to do would be remove the scripts that use those CDNs entirely from Greasy Fork镜像 until the authors update them.

§
يوللانغان ۋاقتى: 2024-07-04

I think this would not be just a one time case. China's network is so dirty.

This will happen again and again in the future.

Unfortunately, many "Western" CDNs are either blocked or very slow in China, so it's not as simple as getting everyone to use the ones we're familiar with.

§
يوللانغان ۋاقتى: 2024-08-13

So I'm not sure what the current status of these domains is. Based on this overview, it sounds like some creds were leaked, which is how polyfill on these CDNs were affected. I'm not sure if the CDNs themselves did anything wrong, or did wrong by not doing anything. For what it's worth, they're still on uBlock Origin's malware list.

§
يوللانغان ۋاقتى: 2024-08-18
تەھرىرلەنگەن ۋاقتى: 2024-08-18

@JasonBarnabe

Many jsdelivr URLs are allowed, but why main patch versions aren't?

https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.min.js

woxxomMod
§
يوللانغان ۋاقتى: 2024-08-18

Because this URL doesn't have a version, the author can modify the code and add something bad. When the URL has a version (or a commit hash), it will never change.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元