Insights / Blog

DebugBear DNS Hijacked: Attackers Served Malicious JavaScript and Polymarket Users Lost Funds

DebugBear’s DNS was hijacked to serve malicious JavaScript through its RUM script, and Polymarket users lost funds. Site owners should remove it.
L
Lam Nguyen - Founder
Share
DebugBear DNS Hijacked: Attackers Served Malicious JavaScript and Polymarket Users Lost Funds
ON THIS PAGE

Table of Contents

If your website uses DebugBear’s Real User Monitoring (RUM) script, remove it now. Attackers hijacked DebugBear’s DNS records (the entries that route internet traffic to the right server) on October 29 through its domain registrar. Security firm Hudson Rock found wallet-draining code at a DebugBear script URL used by Polymarket, and Polymarket’s incident report says a compromised third-party performance-monitoring script sold positions and moved funds from some users’ wallets by riding their active sessions.

1customer website the attack targeted, per DebugBear’s initial investigationDebugBear update via Search Engine Journal, Oct. 31, 2026
$3.9Mreturned to Polymarket traders, including $1.2M for losses during the trading pausePolymarket incident postmortem, Oct. 30, 2026

What exactly happened to DebugBear’s DNS?

DebugBear issued instructions to customers on October 29 to remove its Core Web Vitals monitoring script. In a follow-up update, the company said that attackers compromised its DNS records through its domain registrar. DebugBear’s initial investigation showed the attack targeted one customer’s website and found no indication that its internal systems were compromised. The company also reported it could not receive email sent to its domain at the time of that update. Customers can follow updates on DebugBear’s X account.

How did the hijacked script steal Polymarket funds?

Cybersecurity firm Hudson Rock’s analysis found malicious JavaScript at a DebugBear script URL used by Polymarket on October 29. The code sought the trading client already available in a logged-in browser. It did not need the user’s password. Polymarket’s October 30 incident report confirmed the script sold positions and moved funds from some users’ wallets using the access a signed-in visitor already had.

As Search Engine Journal noted, this raises a direct concern for any site owner: what could malicious code do with the permissions of a visitor who is already signed in to your site?

Were other DebugBear customers affected?

DebugBear’s initial investigation showed the attack targeted one customer’s website. It is not yet clear whether other customers also received malicious code. Removing the monitoring tag prevents new loads of the script. It does not reverse unauthorized actions or remove anything an attacker may already have planted.

What should site owners using DebugBear do right now?

The following steps are drawn from the response guide published by Vahan Petrosyan, Search Engine Journal’s director of technology, alongside the reporting.

  • Remove the DebugBear RUM script immediately. Check templates, plugins, and tag managers. Clear cached pages and verify the script no longer loads.
  • Invalidate sessions and reset passwords. Start with administrators and privileged users who loaded affected pages. Revoke potentially exposed API credentials (access keys used by third-party services). Changing a password may not invalidate existing sessions: verify that old sessions are rejected.
  • Check for unauthorized changes and backdoors. Review account creation, permission changes, tag-manager history, templates, plugins, and injected scripts against a known clean version. Investigate whether attackers planted a backdoor (a hidden access point for later re-entry). These are checks to perform, not confirmed findings at other customers.
  • Review logs for unusual activity during the exposure window. Look for unusual logins, new accounts, changed files, and unexpected transactions while the script was active. Use the malicious-code indicators in The Layman Security’s analysis to guide the search. Revoke unauthorized access and reverse confirmed malicious changes.
  • If you confirm a compromise, isolate the site. Put the site into maintenance mode with an HTTP 503 response (a status code that tells search engines the site is temporarily unavailable, not permanently removed). Restore a known clean backup. Verify all malicious code and backdoors are gone before bringing the site back online.

What this means for AI-search visibility

A compromised third-party script is not just a security incident. For any site that depends on search traffic or AI-generated citations, it is a visibility problem too.

In Hingewise’s view, the search side of an incident like this is mostly about the cleanup: if a site has to go offline, serving an HTTP 503, as Search Engine Journal recommends, tells search engines the outage is temporary. The bigger lesson is that SEO and performance tools are code running on your pages, with the same reach as any other script.

The incident also points toward a risk that will grow over time. The Polymarket attack worked because the malicious script could act with the full permissions of a signed-in user without needing a password. As AI agents (automated tools that act on behalf of signed-in users to book, transact, or manage tasks) become more common on websites, that same session-hijacking (stealing the active login state of a user to act as them) vector could target agent sessions that may carry broad permissions across many tasks. Today the victims were human traders. As AI agents become routine account holders, the damage from the same kind of attack could grow.

Hingewise’s assessment: the SEO and performance monitoring toolchain, which includes RUM tools, tag managers, and analytics scripts, runs on many sites at once, including high-value ones like Polymarket. That structural reach makes it an attractive target for supply chain attacks (attacks that compromise a trusted vendor in order to reach its customers at scale). The DebugBear DNS incident is a clear signal that any third-party script running in an authenticated environment deserves the same security scrutiny as your own first-party code.

What to watch next

DebugBear has pointed customers to its X account for updates. The key open question is whether malicious code reached any sites beyond Polymarket. If additional affected customers emerge, the scope of the incident will widen considerably. Watch for further updates from DebugBear.

Sources: Hackers Hijacked DebugBear’s DNS To Serve Malicious JavaScript, Search Engine Journal, October 31, 2026; Polymarket status page incident postmortem, October 30, 2026; Hudson Rock, October 29, 2026.

Lam Nguyen · Hingewise

This article was drafted with AI assistance from the sources cited above and checked against them before publishing. The "What this means for AI-search visibility" section is Hingewise's editorial analysis, built on the frameworks and positions we use in our GEO work. How we work: Editorial policy.

Keep reading

All articles →
Free · no strings

See what AI says about you, today.

Get the report showing how ChatGPT, Gemini & Perplexity answer about your brand.

Get free report →
Reply within 48 hours.