Security researchers have identified a significant supply chain attack affecting 178 prominent websites. The hackers managed to inject malicious scripts into the websites by compromising the third-party service provider Optimizely. This service is used by many businesses to manage website experiments and content personalisation.
The malicious code is designed to capture sensitive user information. When visitors access an affected site, the script attempts to harvest credit card details entered during checkout processes. The malware targets cryptocurrency users by replacing legitimate wallet addresses with those controlled by the attackers. This technique aims to redirect digital asset transfers to the hackers during transactions.
Optimizely provides software that allows companies to test different versions of their web pages to improve user engagement. Because this software is integrated directly into the source code of client websites, it creates a pathway for attackers to reach a large number of users simultaneously. The researchers noted that the breach highlights the risks associated with relying on external scripts that run automatically in a user's browser.