What actually reduces the risk
You cannot make a store immune, but you can make it a much harder target than the one next door. Attackers go for easy.
Three habits do most of the work. Apply security patches quickly instead of letting them stack up. Treat every extension as a liability until proven otherwise: install less, remove what you no longer use, and stick to vendors with a real track record. And keep an eye on your checkout for unauthorized changes, so that if something does slip in, you catch it in hours rather than the months these attacks usually run.
That last habit matters more than it sounds. A tool called Content Security Policy can limit which scripts are even allowed to run on your checkout, which shrinks the damage if an attacker does get a foot in. Setting it up properly takes some care, but it is the kind of quiet control that earns its keep on exactly the day you would otherwise never have known.
For a lot of owners the honest answer is that nobody currently owns this. The store got built, it works, and security became everyone's job and therefore no one's. Folding patching, extension hygiene, and monitoring into an ongoing Magento maintenance and security plan is almost always cheaper than the first incident.