• News/
  • https://www.bleepingcomputer.com/news/security/linux-wiper-malware-hidden-in-malicious-go-modules-on-github/

Linux wiper malware hidden in malicious Go modules on GitHub

BleepingComputer
·
Ionut Ilascu
·
Published May 6, 2025
·
Updated

A supply-chain attack targets Linux servers with disk-wiping malware hidden in Golang modules published on GitHub. The campaign was detected last month and relied on three malicious Go modules that included “highly obfuscated code” for retrieving remote payloads and executing them. The attack appears designed specifically for Linux-based servers and developer environments, as the destructive payload - a Bash script named done.sh, runs a ‘dd’ command for the file-wiping activity. Furthermore, the payload verifies that it runs in a Linux environment (runtime.GOOS == "linux") before trying to execute. An analysis from supply-chain security company Socket shows that the command overwrites with zeroes every byte of data, leading to irreversible data loss and system failure. The target is the primary storage volume, /dev/sda, that holds critical system data, user files, databases, and configurations. “By populating the entire disk with zeros, the script completely destroys the file system structure, operating system, and all user data, rendering the system unbootable and unrecoverable” - Socket The researchers discovered the attack in April and identified three Go modules on GitHub, that have since been removed from the platform: All three modules contained obfuscated code that decodes into commands that use ‘wget’ to download the malicious data-wiping script (/bin/bash or /bin/sh). According to Socket researchers, the payloads are executed immediately after download, “leaving vir...

Read full article

Affected Software

5 affected components
Golang Prototransform
Golang go-mcp
Golang tlsproxy
go modules
Linux servers
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the main topic of this article?

The article discusses a supply chain attack that targets Linux servers with disk-wiping malware hidden in malicious Go modules on GitHub.

2

What security implications are discussed?

The article highlights the risk of disk-wiping malware that can lead to data loss and operational disruption for targeted Linux servers.

3

What products or software are affected by the malware?

The affected software includes malicious Go modules related to Golang's Prototransform, go-mcp, and tlsproxy.

4

How was the malicious code hidden within the Go modules?

The malicious code was included in the Go modules as highly obfuscated code, making it difficult to detect.

5

When was the campaign that discovered this malware detected?

The campaign was detected last month, indicating recent activity targeting Linux systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203