Adform Supply Chain Attack Turns Advertising Script Into Crypto Wallet Hijacking Weapon + Video

Listen to this Post

Featured ImageA Silent Browser Attack That Could Redirect Cryptocurrency Payments

The cryptocurrency world has faced many threats, from exchange breaches to phishing campaigns, but one of the most dangerous attacks often happens quietly inside ordinary websites. A recent supply-chain compromise involving advertising technology company Adform shows how attackers can transform trusted web infrastructure into a weapon capable of stealing digital assets without directly attacking a victim’s wallet.

Instead of deploying traditional malware, the attackers modified a legitimate JavaScript file used by Adform’s advertising ecosystem. The altered script operated inside visitors’ browsers and secretly replaced cryptocurrency wallet addresses during payment preparation. A user could copy a Bitcoin, Ethereum, or Tron address, paste it into a transaction field, and unknowingly send funds to an attacker-controlled wallet.

The incident highlights a growing cybersecurity problem: the modern internet depends heavily on third-party scripts. A single compromised JavaScript resource can potentially affect thousands of unrelated websites, creating a supply-chain attack where criminals compromise one provider to reach many victims.

Attackers Weaponized Adform’s Trusted JavaScript Resource

Adform discovered that attackers had modified a JavaScript file named trackpoint-async.js, which was delivered through the company’s advertising infrastructure at s2.adform[.]net.

The file normally functions as part of Adform’s tracking technology, allowing websites to integrate advertising features across individual pages, specific sections, or entire websites. Because many organizations rely on external scripts from advertising and analytics providers, compromising this resource created a pathway into websites that had no direct relationship with the attackers.

This was not a traditional website breach. The attackers did not need to compromise every affected website individually. By altering a shared JavaScript library, they turned Adform’s own delivery system into a distribution mechanism.

How the Cryptocurrency Address Replacement Attack Worked

The malicious JavaScript was designed specifically for cryptocurrency theft. Instead of installing ransomware or creating long-term access, it manipulated information inside the browser session.

When a victim attempted to send cryptocurrency, the script searched for wallet addresses associated with:

Bitcoin transactions

Ethereum transfers

Tron payments

If it detected a matching address pattern, it silently replaced the legitimate destination with a malicious wallet address.

The attack could happen through multiple methods:

Clipboard monitoring after users copied wallet addresses

Direct modification of text fields

Manipulation of input boxes

Interception of browser events

This meant victims were not protected simply by copying an address manually. The malware operated directly inside the browser environment.

The Attack Continued Even After Users Re-Copied Wallet Addresses

Security researcher Kevin Beaumont analyzed the incident and warned that the malicious script could continue replacing wallet addresses even after users attempted to correct them.

According to analysis of the captured script, the malware repeatedly monitored browser activity and attempted to overwrite cryptocurrency addresses whenever matching patterns appeared.

The attackers designed the tool to remain active as long as the affected webpage stayed open. This approach reduced the need for traditional malware persistence because the browser itself became the attack platform.

Hidden Malware Blocks Added Inside a Legitimate Library

Analysis of the compromised JavaScript revealed that attackers appended two malicious sections to the legitimate tracking library.

The first malicious component focused on clipboard manipulation.

It:

Monitored copy operations

Checked clipboard content periodically

Detected cryptocurrency address formats

Replaced matching addresses with attacker-controlled values

The second component focused on webpage manipulation.

It:

Scanned visible page text

Modified input fields

Changed textarea values

Altered contenteditable elements

Intercepted copy, cut, paste, and input events

The attackers also used obfuscation techniques. Replacement wallet addresses were hidden using a six-byte XOR encryption key, making simple inspection more difficult.

Possible Data Collection Capability Raises Additional Concerns

Although Adform stated that it found no evidence that visitor IP addresses or browsing information were transmitted, technical analysis showed that the malicious script contained functionality capable of sending information externally.

The first payload attempted an HTTP request to:

84.32.102[.]230:7744

The request included information such as:

Website hostname

Current page path

Researchers have not confirmed whether this communication successfully reached the attackers’ infrastructure.

This uncertainty creates additional questions about whether the campaign was limited strictly to cryptocurrency replacement or whether the attackers were also collecting intelligence about infected visitors.

Adform Responded and Warned Users to Clear Browser Cache

After discovering the compromise on July 27, 2026, Adform removed the malicious code, notified customers, and reported the incident to authorities.

The company advised users and website operators to:

Clear browser caches

Verify cryptocurrency addresses before sending funds

Review transactions carefully

Monitor websites using Adform scripts

The cache warning is important because previously downloaded versions of the JavaScript file may remain stored locally in browsers and continue executing after the server-side fix.

The True Impact of the Attack Remains Unknown

One of the biggest unanswered questions is the actual scale of exposure.

Researchers still do not know:

How many websites loaded the compromised script

How many visitors received the malicious version

How long attackers controlled the deployment path

Whether cryptocurrency funds were successfully stolen

How attackers accessed Adform’s infrastructure

Adform has not publicly identified the threat actors behind the operation.

The lack of confirmed victim numbers makes it difficult to estimate the financial impact. A single successful wallet replacement could result in significant losses because cryptocurrency transactions are usually irreversible.

A Supply Chain Warning for the Entire Web Industry

The Adform incident demonstrates a major weakness in modern web architecture.

Thousands of websites depend on external JavaScript resources for:

Advertising

Analytics

Authentication

Payments

Customer support tools

Every external dependency represents a potential security risk.

A company may maintain strong internal defenses, but a compromised third-party script can bypass those protections and execute directly in visitors’ browsers.

This attack follows a pattern seen in previous supply-chain compromises where attackers target trusted vendors instead of individual victims.

What Undercode Say:

The Adform incident represents a dangerous evolution in browser-based cyberattacks.

Attackers no longer need to deploy obvious malware files.

They can simply modify trusted code.

A JavaScript file loaded by millions of browsers becomes an invisible attack platform.

The browser has become one of the most valuable targets in modern cybersecurity.

Users trust websites they visit.

They trust payment pages.

They trust copied wallet addresses.

Attackers exploit that trust.

Cryptocurrency transactions are especially attractive because blockchain transfers cannot normally be reversed.

A few seconds of browser manipulation can create permanent financial damage.

The attack also shows why third-party software dependency management is becoming critical.

Organizations often focus on their own servers.

However, external scripts can create hidden pathways into customer environments.

Advertising technology companies manage enormous digital ecosystems.

A compromise at this level can create a multiplier effect.

One infected script can reach thousands of websites.

One malicious modification can impact millions of browser sessions.

Security teams should treat external JavaScript like third-party software supply chains.

They should monitor script integrity.

They should use Subresource Integrity (SRI) where possible.

They should review all external resources regularly.

Cryptocurrency users should never rely only on copy and paste.

Always compare the first and last characters of wallet addresses.

Use transaction previews.

Avoid sending large amounts without verification.

Browser security is becoming as important as endpoint security.

The Adform attack also demonstrates the importance of visibility.

Organizations need to know:

Which external scripts are running?

Who controls those scripts?

When were they changed?

Did the content change unexpectedly?

Without monitoring, malicious modifications can remain invisible.

The future of cybercrime will likely include more browser manipulation campaigns.

Attackers understand that browsers are trusted environments.

They know users rarely inspect JavaScript behavior.

They know cryptocurrency payments create high-value targets.

The security industry must adapt by treating browser execution environments as critical infrastructure.

Supply-chain security is no longer optional.

It is a requirement for every company connected to the internet.

Deep Analysis: Detecting Malicious JavaScript Supply Chain Attacks

Check External JavaScript Integrity

Linux administrators can monitor downloaded scripts:

sha256sum trackpoint-async.js

Compare hashes regularly to detect unauthorized modifications.

Monitor Suspicious Network Connections

Check active connections:

netstat -tunap

or:

ss -tunap

Look for unexpected outbound connections from browsers or servers.

Analyze JavaScript Files

Search suspicious strings:

grep -R "clipboard" script.js

Detect event interception:

grep -R "paste|copy|input" script.js

Identify Obfuscated Code

Search for XOR-style patterns:

grep -R "charCodeAt" script.js

Attackers often hide malicious strings using encoding functions.

Monitor Web Integrity

Organizations can automate website checks:

curl -I https://example.com/script.js

Compare downloaded content against approved versions.

Review DNS Activity

Investigate suspicious domains:

dig suspicious-domain.com

Check historical DNS changes:

whois suspicious-domain.com

Browser Security Recommendations

Users should:

Verify cryptocurrency wallet addresses manually

Disable unnecessary browser extensions

Keep browsers updated

Avoid unknown payment websites

✅ Adform confirmed a compromised JavaScript resource was discovered and removed.

✅ The malicious script was capable of replacing cryptocurrency wallet addresses inside browsers.

✅ Researchers identified clipboard manipulation and webpage input modification behavior in captured samples.

Prediction

(+1)

Browser-based cryptocurrency theft campaigns will likely increase as attackers search for methods that avoid traditional malware detection.

Third-party JavaScript security monitoring will become a standard requirement for large websites.

Companies will increasingly adopt script integrity monitoring and supply-chain security controls.

Attackers may continue targeting advertising and analytics providers because they provide access to many downstream websites.

Cryptocurrency users remain vulnerable because blockchain transactions are difficult or impossible to reverse after theft.

Without stronger browser defenses, malicious scripts may become one of the most effective tools for digital asset theft.

The Bigger Lesson From the Adform Incident

The Adform compromise is a reminder that cybersecurity is no longer only about protecting servers and devices. Modern attacks increasingly target the connections between trusted services.

A single modified JavaScript file demonstrated how attackers can transform everyday browsing into a financial risk.

As organizations continue relying on third-party platforms, the security of external code must become a central priority.

The future of cybersecurity will depend not only on stopping malware, but also on protecting trust itself.

▶️ Related Video (84% Match):

🕵️‍📝Let’s dive deep and fact‑check.

🎓 Live Courses & Certifications:

Join Undercode Academy for Verified Certifications

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

References:

Reported By: thehackernews.com
Extra Source Hub (Possible Sources for article):
https://www.discord.com
Wikipedia
OpenAi & Undercode AI

Image Source:

Unsplash
Undercode AI DI v2

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky | 🐘Mastodon | 📺Youtube