A poisoned ad-tech script rewrites wallet addresses on customer sites
ATG-class event27 July 2026
Two blocks appended to a tracking script that an advertising company serves to its customers’ sites replaced crypto wallet addresses in form fields and on the clipboard for every visitor on an affected page.
- Position
- A shared tracking script served from the ad-tech company’s own domain
- Reach
- Any page loading the script; number of sites not published
- Category
- Third-Party Script Injection
- Effect
- Deceive
What happened
Adform detected on 27 July 2026 that trackpoint-async.js, a tracking script served from its own domain to customer sites, had been modified. Two blocks of code had been appended to the legitimate library. The added code swapped Bitcoin, Ethereum and Tron addresses: it checked the clipboard every few seconds after a copy, and rewrote values in input fields, text areas and editable regions, including values set by the page itself. It also sent the page's hostname and path to an external server. Researcher Kevin Beaumont disclosed the compromise, and a captured copy was published. At the time, malware scanning services did not flag the file. How the attackers reached Adform's deployment path was not disclosed.
The ATG nexus
The user copied the right address and saw an address in the field. The field held the attacker's. A tracking script, loaded for an unrelated purpose, had the reach to change what the page displayed and submitted, because a script inside a page can touch anything on it. No malware scanner raised an alarm, because the file was a legitimate library with extra lines, served from the expected place.
Limits of the comparison
The swap affected crypto addresses only, and a user who compared the pasted address character by character could catch it. Adform's detection date and a researcher's report of earlier activity were not reconciled.
On this site
- Whitepaper, Chapter 8: Third-Party Script Loading
- Introduction: Swapping What You See
- Concept: Content Swapping
- Concept: Herd Trust
- Concept: The Detection Blindspot