When a third-party script inside customers’ logged-in sessions is compromised twice in four months, the clean-up story can be accurate and still miss the point. The exposure is recurring, and it belongs in the valuation rather than in an add-back.
On 29 October 2026, BleepingComputer reported that the prediction market platform Polymarket had temporarily suspended trading after hackers compromised a third-party service and used it to distribute cryptocurrency-draining JavaScript. About $2.5 million in assets was traced to a suspected attacker wallet. That is the wallet figure, not a confirmed loss: the company has not disclosed how many users were affected, how much was stolen or how reimbursement will work. It said one of its third-party providers had been compromised, and that “anyone who has been impacted will be made whole.”
Four months earlier, BleepingComputer had reported that the same platform would fully reimburse customers who lost an estimated $3 million after a malicious script was injected into its website frontend following a breach at a third-party vendor. Two incidents of the same class, each followed by the same remedy. For a deal team looking at any business built this way, the repetition is the signal.
The script acts with the customer’s authority
According to BleepingComputer’s analysis, the October script checked whether a visitor was logged in, then used the existing trading session and the platform’s own trading functions to sell positions, transfer tokens and convert holdings into assets sent to the attacker. It did not need to break into the platform’s servers. It used the session the customer had already opened.
That is the structural point. For a target whose revenue runs through customers’ logged-in browser sessions, a third-party script loaded directly into those pages can do what the customer can do. A performance-monitoring tool, an analytics tag, a support widget: each is code running inside the session where value moves.
Researchers at Hudson Rock found that the October script was served from the infrastructure of DebugBear, a website performance-monitoring service. Its Real User Monitoring product works through JavaScript embedded in customers’ websites that collects performance metrics from visitors’ browsers. The product looks harmless because its purpose is measurement. Its placement gives it the same reach as the application itself.
DebugBear confirmed it was investigating an ongoing security incident and told customers: “If you use our RUM product, please remove the embed code from your website.” That instruction was addressed to every customer of the product. In FAIR terms, one upstream compromise becomes a primary loss at each downstream business that loaded the code.
The clean-up fixes the instance, not the class
The October timeline shows a team in control of its own front end. The suspected attacker wallet transacted with the platform’s token contract between 1:50 and 1:56 p.m. US Eastern. Build metadata with the commit message “remove debugbear rum script” was stamped 1:59 p.m. The exchange went into cancel-only mode at 2:05 p.m., and trading resumed about an hour after the suspension. Being able to pull a third-party script from production within minutes is evidence worth asking for in diligence, together with the harder question of who can add one in the first place.
The remediation account, though, takes a familiar shape: vendor removed, incident contained, customers reimbursed. Each part of it can be true, and each part fixes the instance. None of it says why a third-party script held customer-level authority on revenue pages, or how many other scripts hold that authority today. A seller will present that account in good faith. A buyer who accepts it as the end of the matter is underwriting the next incident without knowing it.
The vendor register will not surface this
A vendor register is built from contracts and spend. A monitoring or analytics script can be added by an engineering or marketing team on a small subscription and never pass through vendor assessment. The diligence question is authority, meaning what the code can do in a customer’s session, not what the supplier is paid.
A vendor questionnaire asks a supplier about its own controls. It does not tell the buyer what that supplier’s code is allowed to do inside the target’s customer sessions, and it is the second question that shapes the loss.
Part of this can be screened before the target grants any access. Which scripts load on a target’s public pages and login page is visible to anyone who visits the site, so it fits the kind of outside-in screening worth doing before the LOI. The rest needs the target: a map of each script on authenticated pages, its owner, its purpose, what it can do in a session and how it would be removed.
A PCI attestation does not answer it
PCI DSS v4.0.1 requirement 6.4.3 requires that every script loaded and executed in the consumer’s browser on a payment page is authorised, has its integrity assured, and is held in an inventory with a written business or technical justification. Requirement 11.6.1 requires a change- and tamper-detection mechanism for payment pages. Both became mandatory when the transition period ended on 31 March 2025.
Their scope is the payment page. A script that acts inside a logged-in session on pages that are not card payment pages sits outside it, so a target’s PCI attestation, where it has one, does not speak to this exposure. Content Security Policy and Subresource Integrity can enforce script integrity on any page. Whether they are in place on authenticated pages is a specific diligence question, not something to infer from a compliance certificate.
The repeat moves the cost into the run-rate
In quality-of-earnings work, incident costs and customer reimbursements are commonly presented as non-recurring adjustments, added back to lift the earnings base. One contained event can support that treatment. A second incident of the same class within months, through a vendor whose product looks harmless, undermines the label. The exposure is structural and recurring, and it belongs in the run-rate view and in price, not in an add-back.
This is where the finance and cyber workstreams need to read the same incident history together. The financial adviser sees a reimbursement line in the accounts. The cyber team sees a script on an authenticated page. Neither on its own sees a recurring cost with a known mechanism, and the add-back schedule is usually settled before anyone puts the two side by side.
The reimbursement promise sharpens the point. When a platform commits to make customers whole, the platform carries the loss, not the vendor, and a supplier contract for a monitoring tool is rarely written with liability sized to customers’ losses. Customer terms or public commitments that promise reimbursement make the target the insurer of its vendors’ security, and they should be read with that in mind.
Where it lands depends on timing. Reimbursements still in progress at signing, with their population and mechanism undisclosed, can be covered by a specific indemnity. Integrity controls on authenticated pages can be a pre-closing condition or a first-100-days item. The recurring exposure itself belongs in the model.
What the investment committee should see answered
- Which third-party scripts run on the target’s authenticated pages, who approved each one, and what can each do inside a live customer session?
- Are past incident costs and customer reimbursements presented as non-recurring add-backs, and does the incident history support that treatment?
- Do customer terms or public statements commit the target to reimbursing losses caused by a vendor’s compromise, and what reimbursement obligations are still outstanding?
- What script integrity controls (Content Security Policy, Subresource Integrity, inventory, change detection) exist on authenticated pages, given that PCI DSS covers payment pages only?
- Who can add a third-party script to production, through what approval path, and how quickly can one be removed when a supplier reports a compromise?
