Article Details
Scrape Timestamp (UTC): 2025-07-15 07:25:08.664
Source: https://thehackernews.com/2025/07/north-korean-hackers-flood-npm-registry.html
Original Article Text
Click to Toggle View
North Korean Hackers Flood npm Registry with XORIndex Malware in Ongoing Attack Campaign. The North Korean threat actors linked to the Contagious Interview campaign have been observed publishing another set of 67 malicious packages to the npm registry, underscoring ongoing attempts to poison the open-source ecosystem via software supply chain attacks. The packages, per Socket, have attracted more than 17,000 downloads, and incorporate a previously undocumented version of a malware loader codenamed XORIndex. The activity is an expansion of an attack wave spotted last month that involved the distribution of 35 npm packages that deployed another loader referred to as HexEval. "The Contagious Interview operation continues to follow a whack-a-mole dynamic, where defenders detect and report malicious packages, and North Korean threat actors quickly respond by uploading new variants using the same, similar, or slightly evolved playbooks," Socket researcher Kirill Boychenko said. Contagious Interview is the name assigned to a long-running campaign that seeks to entice developers into downloading and executing an open-source project as part of a purported coding assignment. First publicly disclosed in late 2023, the threat cluster is also tracked as DeceptiveDevelopment, Famous Chollima, Gwisin Gang, Tenacious Pungsan, UNC5342, and Void Dokkaebi. The activity is believed to be complementary to Pyongyang's infamous remote information technology (IT) worker scheme, adopting the strategy of targeting developers already employed in companies of interest rather than applying for a job. The attack chains using malicious npm packages are fairly straightforward in that they serve as a conduit for a known JavaScript loader and stealer called BeaverTail, which is subsequently used to extract data from web browsers and cryptocurrency wallets, as well as deploy a Python backdoor referred to as InvisibleFerret. "The two campaigns now operate in parallel. XORIndex has accumulated over 9,000 downloads in a short window (June to July 2025), while HexEval continues at a steady pace, with more than 8,000 additional downloads across the newly discovered packages," Boychenko said. The XORIndex Loader, like HexEval, profiles the compromised machine and uses endpoints associated with hard-coded command-and-control (C2) infrastructure to obtain the external IP address of the host. The collected information is then beaconed to a remote server, after which BeaverTail is launched. Further analysis of these packages has uncovered a steady evolution of the loader, progressing from a bare-bones prototype to a sophisticated, stealthier malware. Early iterations have been found to lack in obfuscation and reconnaissance capabilities, while keeping their core functionality intact, with second and third-generation versions introducing rudimentary system reconnaissance capabilities. "Contagious Interview threat actors will continue to diversify their malware portfolio, rotating through new npm maintainer aliases, reusing loaders such as HexEval Loader and malware families like BeaverTail and InvisibleFerret, and actively deploying newly observed variants including XORIndex Loader," Boychenko said.
Daily Brief Summary
North Korean hackers released 67 malicious packages into the npm registry, marking an ongoing software supply chain attack linked to the Contagious Interview campaign.
These packages have collectively garnered over 17,000 downloads and introduce a new malware loader variant named XORIndex.
Earlier, 35 npm packages were discovered deploying different loaders like HexEval, totaling over 8,000 downloads.
The hackers have adopted a rapid replacement strategy for detected malicious packages, uploading new or modified versions to evade security measures.
Their operation, Contagious Interview, entices developers to download malicious open-source projects under the guise of coding tasks, potentially bypassing formal employment processes.
The malware serves dual purposes: extracting sensitive data from web browsers and cryptocurrency wallets, and deploying a Python backdoor called InvisibleFerret.
Over time, the potency and stealth of the loaders have evolved, with newer versions showing enhanced capabilities in system reconnaissance and obfuscation.
Socket researcher Kirill Boychenko predicts continued diversification and deployment of new malware variants by the attackers, signifying a persistent threat.