Cross-Platform Malware in Malicious Go and npm Packages Triggers Remote Data Wipes

Published:

Emerging Threat: Malicious Go Packages Targeting Developers

Discovery of Malicious Go Packages

Recent cybersecurity research has unearthed a troubling set of eleven harmful Go packages designed specifically to download and execute additional payloads on both Windows and Linux systems. These packages highlight ongoing vulnerabilities in the software supply chain and the deceptive tactics employed by malware creators.

The Technical Mechanics of the Malware

At runtime, these malicious packages initiate a covert process that silently opens a shell, downloading second-stage payloads from a rotating collection of command-and-control (C2) endpoints with .icu and .tech domains. As Socket security researcher Olivia Brown explains, these actions happen in memory and are executed without alerting users.

Here are the identified malicious Go packages:

  • github.com/stripedconsu/linker
  • github.com/agitatedleopa/stm
  • github.com/expertsandba/opt
  • github.com/wetteepee/hcloud-ip-floater
  • github.com/weightycine/replika
  • github.com/ordinarymea/tnsr_ids
  • github.com/ordinarymea/TNSR_IDS
  • github.com/cavernouskina/mcp-go
  • github.com/lastnymph/gouid
  • github.com/sinfulsky/gouid
  • github.com/briefinitia/gouid

These packages contain an obfuscated loader that fetches second-stage ELF and portable executable binaries, with capabilities to collect information from the host, access web browser data, and communicate with their C2 servers.

Cross-Platform Vulnerability

Brown emphasizes that the second-stage payload uses a bash script for Linux systems while employing certutil.exe to retrieve executables for Windows. This means both Linux build servers and Windows workstations face significant risk of compromise, highlighting the cross-platform vulnerabilities inherent in modern software development.

Challenges Posed by the Go Ecosystem

The decentralized nature of the Go ecosystem complicates matters for developers. Modules can be imported directly from GitHub repositories, leading to confusion when searching for specific packages on sites like pkg.go.dev. This confusion creates a breeding ground for malicious entities, as attackers craft module names that appear trustworthy, increasing the likelihood of accidental integration into legitimate projects.

The Role of a Single Threat Actor

Researchers believe that these packages originate from a single threat actor due to the consistent use of C2 servers and the similar coding formats seen across packages. This reinforces the notion that the Go programming language’s cross-platform capabilities can be exploited to propagate malware, posing ongoing risks to software supply chains.

Concurrent npm Threats

In a troubling parallel development, two npm packages—naya-flore and nvlore-hsc—have been uncovered. These packages misrepresent themselves as WhatsApp socket libraries but embed a phone number-based kill switch capable of remotely wiping developer systems. Published by a user named "nayflore" in July 2025, these packages have already garnered over 1,110 downloads and remain available on the npm registry.

Dangerous Functionalities of npm Packages

These npm packages can retrieve a database of Indonesian phone numbers from a GitHub repository. Upon execution, they first check if the device’s phone number exists in the database. If not, they proceed to delete all files using the command rm -rf * after pairing with WhatsApp.

Moreover, these libraries contain functions for exfiltrating device information to an external endpoint, although those calls are currently commented out, indicating that the threat actor may have ongoing plans for development.

Security Risks from GitHub Tokens

The naya-flore package also includes a hardcoded GitHub Personal Access Token, which raises concerns about unauthorized access to private repositories. Security researchers are investigating the implications of this token, as its role remains unclear.

The Broader Implications for Open Source Security

The ongoing trend of using open-source repositories for malware distribution emphasizes the need for enhanced security measures in software supply chains. These malicious packages are designed primarily to steal sensitive data, including targeting cryptocurrency wallets.

Conclusion on Malware Trends

Cybersecurity experts note that, while attackers have not significantly changed their methodologies, they continue to employ established strategies such as minimizing file counts and utilizing discreet data exfiltration methods. The rise in obfuscation tactics further underscores the need for increased vigilance and monitoring among users of these platforms. As open-source software continues to grow, so does its attack surface, posing ever-evolving risks to developers and organizations alike.

CHAPTER X // CYBER AWARENESS CAMPAIGN
BEYOND THE BALLROOM
[C://ME] // CHAPTER X

REQUEST THE MEDIA KIT

Tell us where to send the Beyond the Ballroom media deck. Every field is required.

We will use these details to respond to your media-kit request. Privacy Policy

Cyber Warriors Conclave Chapter X — Beyond the Ballroom

Related articles

Recent articles

CVE-2026-123007: Critical nginx HTTP/2 integer underflow leads to RCE, fixed

Rapid7 has disclosed a critical vulnerability, CVE-2026-123007, affecting nginx's HTTP/2 implementation, which could allow unauthenticated remote code execution (RCE) under specific conditions. This vulnerability...

Man charged with espionage for spying on US tech firm for Russia

A man identified as D’iu has been charged with espionage for allegedly spying on a Silicon Valley technology and defense company on behalf of...

Kaspersky reports 198% increase in phishing attacks targeting online shoppers during Black Friday 2026

Kaspersky's latest report reveals a staggering 198% increase in phishing attacks targeting online shoppers during the first ten months of 2026, highlighting the growing...

Com-affiliated threat actors escalate vishing attacks targeting healthcare and financial sectors, leading to data theft and extortion claims

Recent investigations by Palo Alto Networks' Unit 42 have revealed a significant escalation in vishing attacks attributed to Com-affiliated threat actors, particularly targeting the...