Tuesday, August 25, 2026

New Magecart Attack Injects Malicious JavaScript to Steal Payment Data

A new Magecart-style campaign has emerged that leverages malicious JavaScript injections to skim payment data from online checkout forms.

The threat surfaced after security researcher sdcyberresearch posted a cryptic tweet hinting at an active campaign hosted on cc-analytics[.]com.

Subsequent analysis revealed a heavily obfuscated script that hooks into checkout fields, collects credit card and billing information, and exfiltrates stolen data to an attacker-controlled domain.

At its core, the code defines an _0x1B3A1 function that decodes hex-encoded strings via repeated regex replaces and a custom base conversion routine, before immediately evaluating them with eval().

Analysts quickly unraveled the obfuscation by prepending debugger; in browser developer tools and by printing the original payload string in Python. Automated deobfuscation services like Obf-IO further simplified the process, revealing clear JavaScript logic.

After cleanup, the script consists of two main components: a data collection function that listens for changes on payment form elements (checkout__input) and clicks on credit-card selection buttons, and a data exfiltration function named sendStolenData().

When a user enters a card number longer than 14 digits, the skimmer packages the cardNumber and billingInfo fields into a FormData object and sends them via POST to https://www.pstatics.com/i.

This simple yet effective approach mirrors classic Magecart tactics, but the injection mechanism and domain naming patterns have evolved.

Infrastructure and Pivoting

Pivoting from the initial cc-analytics[.]com domain revealed a broader infrastructure footprint. URLScan.io searches for cc-analytics.com uncovered dozens of compromised e-commerce sites containing <script src="https://www.cc-analytics.com/app.js"></script> references, confirming widespread deployment.

Network logs identified the hosting IP address 45.61.136.141, whose WHOIS record ties back to a bulletproof hosting provider.

Further passive DNS and URLScan pivots exposed additional domains serving nearly identical payloads: jgetjs.com, getnjs.com, getvjs.com, getejs.com, and utilanalytics.com.

The shared IP and similar directory structures suggest a single threat actor re-using naming conventions (“get*js” and “*analytics”) across multiple campaigns.

A comprehensive list of associated domains also includes cc-analytis.com (typo variant), youtuber-dashboardwme.pro, secfw03secur.com, and even subdomains of 45-61-136-141.cprapid.com.

These domains have been active for at least a year, indicating a long-running infrastructure that periodically rotates domains to evade takedown efforts.

Implications and Detection

This campaign underscores the enduring threat posed by Magecart skimmers: small, public signals—like a single tweet—can reveal large, covert networks of malicious scripts.

Security teams should monitor web pages for unauthorized <script> tags referencing suspicious domains, especially those matching patterns such as “analytics.com” or “getjs.com.” Tools like URLScan, publicWWW, and passive DNS lookups are invaluable for threat hunting and domain attribution.

Detection strategies include implementing Content Security Policy (CSP) rules that restrict script sources to known, vetted domains; deploying runtime application self-protection (RASP) to block unauthorized DOM modifications; and scanning web assets periodically for unexpected external script inclusions.

Integrating threat intelligence feeds that list these related domains can automate alerts when new compromised sites appear.

Organizations should not simply block all identified domains—false positives can disrupt business continuity—but should validate domain reputation and script behavior before enforcement.

Regular reviews of web server logs and client-side error reports can catch late-stage exfiltration attempts. Finally, engaging in information sharing via security communities ensures that new infrastructure discoveries propagate quickly, reducing the window of exposure.

This investigation illustrates that proactive threat hunting, combined with accessible tools and public signals, can map attacker infrastructure before significant customer loss. Security teams armed with these insights can strengthen defenses and disrupt Magecart-style campaigns at scale.

Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant Updates.

Mayura Kathir
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

AI-Assisted ToxNetV2 Linux Botnet Uses LLM to Generate Shell and SSH Commands

ToxNetV2, an AArch64 Linux peer-to-peer botnet, integrates a large...

Multi-Agent AI Framework Compromises Government Systems and Steals Thousands of Records

A multi-agent AI framework, utilizing Hermes and OpenClaw agents,...

Scammers Impersonate Microsoft to Push Fake Security Scans and Refund Fraud

A cluster of fraudulent websites impersonating Microsoft is using...

Multiple Zscaler Client Connector Flaws Enable Remote Code Execution

Zscaler has addressed several vulnerabilities in its Client Connector...

91 Spring CVEs Impact Over 209,000 Software Components Across the Supply Chain

Broadcom has disclosed 91 Common Vulnerabilities and Exposures (CVEs)...

PavinLoader Uses ClickFix and Fake Downloads to Deploy Amatera Stealer via Blockchain C2

PavinLoader, a multi-stage .NET malware loader, operating across ClickFix,...

Anthropic Expands Claude MCP Security With Enterprise-Managed Identity Controls

Anthropic has expanded Claude Enterprise’s Model Context Protocol (MCP)...

Related Articles

Recent News