Websites · Mobile Apps · Web Apps & SaaS · AI
Home / Blog / Technology

A Hijacked Analytics Script Reached Thousands of Sites: Audit Your Third-Party Scripts

Sekoia reports that a tracker script, Plerdy SEO Tracker, was compromised for a week and used to deliver phone exploits. Here is how to audit scripts on your own site.

A Hijacked Analytics Script Reached Thousands of Sites: Audit Your Third-Party Scripts
Quick answer

Sekoia reports that between 27 August and 3 September 2026 attackers compromised the Plerdy SEO Tracker script, which thousands of websites load, and used it to push a fingerprinting script that served already-patched iOS and Android exploit chains to visitors, an operation it assesses with moderate to high confidence was run by APT29. The sites that included the script did nothing wrong in their own code. Their exposure came from a third party. Website owners should list every external script they load, remove those they do not need, pin or self-host the ones they keep where possible, add a Content Security Policy and make sure staff and visitors' phones are updated.

Most website owners think about security as protecting their own server. A campaign described by security firm Sekoia is a reminder that the code a visitor runs on your page is not all yours. When a tracking or analytics script you load from someone else is compromised, your pages can deliver the attacker's code to every visitor, even though nothing on your server changed. This guide explains what Sekoia reported, why it matters for any business site that uses marketing or analytics tags, and a practical audit you can complete in an afternoon. It does not describe how to exploit anything, and we have not tested the scripts involved.

A screen showing lines of source codeEvery external script on a page runs with the same access as your own code. Photo: Martin Vorel, CC BY-SA 4.0, via Wikimedia Commons

The short answer

  • What: Sekoia reports a large watering hole campaign, which it assesses with moderate to high confidence was run by the Russian state-linked group APT29.
  • The third-party vector: between 27 August and 3 September 2026, the Plerdy SEO Tracker script was compromised. Thousands of websites load it, most of them Ukrainian, and Sekoia says hundreds of legitimate sites and their visitors were exposed for a week.
  • What visitors got: an injected fingerprinting script that profiled the device and then served an exploit chain for iOS or Android, aimed at stealing cookies and, in some cases, Wi-Fi passwords or full device data.
  • Important limit: Sekoia says every chain used already-patched flaws and does not work against fully updated devices.
  • For you: audit your external scripts, remove what you do not need, restrict what can run with a Content Security Policy and keep your own devices updated.

What Sekoia reported

Sekoia's Threat Detection and Research team says it found the campaign in mid-October 2026. It describes three ways of reaching victims: injecting JavaScript into legitimate websites, setting up lookalike domains that rewrite pages on the fly to add the same code, and compromising a Ukrainian web analytics service. All three delivered the same kind of payload, a small injected script that loads an external one to profile the visitor's browser and device. The server then picked a platform-specific exploit chain depending on the browser and operating system.

On the analytics service, Sekoia says the tracker file was altered so that visitors loaded both the legitimate Plerdy script and the attackers' script. It notes it was unclear whether the aim was specific visitors or collecting data from as many unpatched phones as possible. Sekoia also stresses that this was one vector of several, and that victims and compromised sites were spread across Ukraine, the United States and other countries.

The Hacker News, reporting on CISA's addition of one of the flaws to its exploited list, summarises the same findings. We have not been able to find a statement from Plerdy in the sources we read, so this article does not describe its response. We link our related post on CISA's listing of the Apple flaw for the device side of the story.

Why your business site is part of this story

You may not use Plerdy, and you may not target anyone interesting. The lesson is general, and it has three parts:

  1. Third-party code runs as your code. A script loaded from another company's domain has the same access to the page as a script you wrote. If it is replaced, the page does what the attacker wants.
  2. Small sites are useful too. Sekoia says it was unclear whether the aim was a broad net or specific visitors. Either way, ordinary sites that carried the tracker became delivery points.
  3. You will not see it in your own logs. Nothing on your server changes. The altered file lives on someone else's server, so your hosting dashboard and file monitors stay quiet.

Marketing and analytics tags are common on business sites in India and the USA: tag managers, heat maps, chat widgets, ad pixels and SEO trackers. Many were added by someone who has since left, and are rarely reviewed.

A one-afternoon script audit

  1. Make the list. Load your main pages in a browser, open the developer tools network tab and filter by JavaScript. Write down every script that comes from a domain that is not yours. Also check your tag manager for tags that fire on every page.
  2. Match each script to a purpose and an owner. If you cannot say why it is there or who asked for it, mark it for removal.
  3. Remove the unused. Old trackers, abandoned A/B testing tools and finished campaigns are the first to go. Remove them from the tag manager, not just the page.
  4. Prefer fewer vendors. Each extra vendor adds a link in the chain.
  5. Self-host or pin where you can. For libraries that rarely change, download a vetted copy and serve it from your own domain, or pin an exact version.
  6. Use Subresource Integrity for static files. The integrity attribute makes the browser reject a file whose hash does not match. It suits fixed files and not tags a vendor updates constantly.
  7. Add a Content Security Policy. A policy that lists the hosts allowed to run scripts limits where injected code can load from and can report violations. Start in report-only mode to see what breaks.
  8. Limit what tags can do. Do not load third-party scripts on login, checkout or admin pages unless essential.
  9. Watch for changes. Re-run the list monthly. Subscribe to vendor status or security notices where they exist.
  10. Keep devices updated. Sekoia's chains fail on fully patched devices, so phone and browser updates for your staff are real protection.

If you want help with this, our website development service includes a script and security-header review, and you can talk to our team.

A decision guide

Situation What to do
A script you do not recognise on your site Find who added it. Remove it unless there is a clear owner and purpose.
Static library from a CDN Add Subresource Integrity or self-host a pinned copy.
Marketing tag that updates often Keep it only if needed, restrict it with a Content Security Policy and review it each month.
Checkout, login or admin pages Remove third-party tags unless essential.
A vendor reports a compromise Remove the tag immediately, then review the vendor's notice and your logs before re-adding it.

Common mistakes to avoid

  • Assuming your own server is the whole attack surface. The weak link here was elsewhere.
  • Loading tags "just in case". Every unused tag is risk with no benefit.
  • Adding Subresource Integrity to a script that changes. It will break the script and then be removed, leaving you worse off.
  • Skipping the Content Security Policy because it is hard. Start with report-only mode and tighten over time.
  • Forgetting tag managers. One container can load dozens of scripts you never reviewed.
  • Treating device updates as someone else's problem. Updated phones blunt this kind of attack, so keep your team's devices current.

Checklist for your team

  • List every external script and tag on your main pages.
  • Record the owner and purpose of each one.
  • Remove unused tags from pages and the tag manager.
  • Self-host or pin libraries that rarely change.
  • Add Subresource Integrity to static third-party files.
  • Introduce a Content Security Policy, starting in report-only mode.
  • Remove third-party tags from login, checkout and admin pages.
  • Review the list again each month.
  • Confirm staff phones and browsers are updated.
  • Note a contact at each vendor for security notices.

Key takeaways

  • Sekoia reports that the Plerdy SEO Tracker script was compromised from 27 August to 3 September 2026 and used to deliver exploit chains to visitors.
  • The chains relied on already-patched flaws and, per Sekoia, do not work on fully updated devices.
  • Your site can carry an attack without your server changing at all.
  • A short script list, a Content Security Policy and pinned files reduce your exposure.
  • Treat third-party tags as code you are responsible for.

Sources

Frequently asked questions

What happened with Plerdy SEO Tracker?

Sekoia's threat research team reports that between 27 August and 3 September 2026 an intrusion set it assesses to be APT29 compromised the Plerdy tracker, which is hosted under a Plerdy domain and loaded by thousands of websites, mostly Ukrainian. The attackers injected code into the tracker file so that visitors also loaded the attackers' own fingerprinting script. Sekoia says this exposed hundreds of legitimate websites and their visitors for one week.

Were the websites that used the script hacked?

According to Sekoia, the websites themselves were not the ones modified in this vector. The tracker file served from the third party was changed, so any page that loaded it would have run the extra code. That is the nature of a supply chain attack: your site can be a delivery point even if your own server is secure.

Could visitors with up-to-date phones be affected?

Sekoia says the exploit chains it recovered relied entirely on known, already-patched vulnerabilities and do not work against fully updated devices. That makes visitor device updates an important protection, though you cannot control your visitors' phones.

What can a small business do about third-party scripts?

List every external script and tag on your site, remove any you no longer use, load only from vendors you trust, self-host or pin versions where a vendor allows it, use Subresource Integrity for static files, set a Content Security Policy that limits which hosts can run code, and monitor for unexpected changes.

Does Subresource Integrity solve this?

It helps for scripts that never change, because the browser refuses a file whose hash does not match. It does not work for tag scripts that a vendor updates often, since every update would break the hash. For those, use a Content Security Policy, vendor change notices and a reduced list of tags.

Written by the Susraj Tech team

We design and build websites, mobile apps, SaaS products and AI solutions. Have a project in mind? Tell us about it and we’ll send a clear, written quote.

Have an idea? Let’s build it.

Tell us what you need and we’ll reply with a clear, written quote. No pressure, no jargon.