Hacked Online Stores: Can a Real Shop Infect You?

By George Bailey   Published: 12/04/26   5 min read

Context: Sansec published this research on October 24, 2026. It drew fresh coverage in early December as holiday shopping ramped up, and F-Secure’s December 2026 threat bulletin highlights it. Sansec said it had not yet captured the final payload, so this page describes what researchers have confirmed, not what the code ultimately does.

Can a real online store infect you?

Yes. Researchers at Sansec report that a criminal group has planted loader code on 953 online stores since July 2025, mostly on the Magento platform. The code runs in visitors’ browsers and checks whether the visitor is a real shopper or a security scanner. A site that looks genuine can still carry hidden malicious code (Sansec).

This is different from a fake shop built to steal your card. These are genuine retailers whose own pages were modified by attackers. F-Secure’s bulletin makes the same point: checking whether a store is real is still worthwhile, but it will not reveal malicious code hidden inside a compromised retailer’s site (F-Secure).

What the researchers found

F-Secure adds that some stores were infected again even after installing security updates because attackers left hidden ways back in (F-Secure).

Why you cannot tell from the outside

According to Sansec, the attacker’s server picks its response from the visitor’s browser fingerprint, and scanners got nothing. That is why you should not expect an obvious visual clue such as a misspelled brand or a strange layout. The page you see can look exactly right.

What shoppers can do

F-Secure’s head of scam research recommends using payment methods with strong dispute protections or a tokenized payment method such as Apple Pay, checking statements regularly, and keeping the browser and security software updated (F-Secure). In practice:

  1. Pay with a credit card or a tokenized wallet rather than a debit card or bank transfer, so you have dispute options if something goes wrong.
  2. Keep your browser and operating system updated. See our guide to updating Chrome.
  3. Use browsing protection and a reputable security tool so known malicious domains are blocked.
  4. Check statements for charges you do not recognize, and report them to your card issuer right away.
  5. Do not reuse passwords for shopping accounts. A password manager and multi-factor authentication limit the damage if one is stolen.
  6. Stay alert to fake shops and delivery texts too. See holiday shopping scams.

If you run an online store

Sansec says that if your store loads any domain from its published indicators of compromise, the attacker can write to your database, and removing the script is not enough. It publishes steps to check a store (Sansec report). Patch your platform, review admin accounts and uploaded files, and rotate credentials. Our earlier coverage of the related Magento flaw is in the PolyShell advisory, and our e-commerce security tips list baseline controls.

Frequently asked questions

How many online stores were infected?

Sansec says 953 stores since July 2025, mostly running Magento. Source: Sansec.

Can a legitimate website still infect me?

Yes. In this campaign the infected sites are genuine retailers whose pages were modified by attackers, so a real-looking store is not proof of safety. Source: F-Secure.

What does the malware do?

Sansec had not captured the final payload when it published. The loader fingerprints the visitor and the attacker’s server decides what to send. Earlier stages served crypto-themed scripts. Source: Sansec.

How can I protect my payment details?

F-Secure recommends payment methods with strong dispute protection or tokenized options such as Apple Pay, regular statement checks, and updated browser and security software. Source: F-Secure.

Is my favorite store on the list?

Sansec did not publish a list of victim stores in the report we reviewed, and neither do we. If you are worried about a particular store, watch your statements and consider a different payment method until you hear otherwise.

What should store owners do?

Check the store against Sansec’s indicators, remember that deleting the script does not remove the attacker’s access, patch, and rotate credentials. Source: Sansec.

Sources

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].