Daniel James <dani…@me.invalid> writes:
> Druck wrote:
>> On 19/11/2026 06:51, Wanderer wrote:
>>> This happened
>>>
>>> https://arstechnica.com/security/2026/11/malicious-code-delivered-through-optimizely-hits-visitors-to-hundreds-of-sites/
>>>
>>> So this optimizely malware was loaded from hundreds of "trusted" sites.
>>> How do I check my PI5 Trixie with Firefox for this malware?
>> The article only talks about IOS, so it affects iPhones and iPads
>> rather than a Raspberry Pi running Linux.
> Read it again. Especially the bit that says:
>
> Other components skimmed payment cards, stole cookies
> and screenshots, *and*, on iPhones and iPads, delivered
> iOS exploit kits known as Coruna and DarkSword.
>
> (the emphasis is mine)
>
> With the exception of the iOS exploit kits the attack seems to have
> affected all platforms.
Follow the link to
https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/,
which describes the payload in detail. AFAICS attacks 1-3 all happen
within the infected page, the only one that escalates beyond that is #4,
and only on iOS platforms.
i.e. Pi users are probably impacted - but only using the infected pages,
and not the rest of the platform.
> The root problem here is that it is commonplace in the web design
> business for a website to include third party library code directly
> from the third parties' sites. There isn't yet a thorough mechanism to
> determine that the code on those sites functions as it did when the
> including site was designed, and hasn't been updated with a buggy,
> less functional, or incompatible version ... or replaced by an
> entirely fraudulent one.
There is a well-established mechanism for pinning external resources
down, as long as websites choose to use it:
https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Subresource_Integrity
The downside is that it ties down the exact content of the external JS
(or whatever), so updates have to be manual. That’s a soluble problem,
but TTBOMK nobody has defined a proper code-signing system for web
resources.