Go-Driven Supply Chain Attack Unleashes Destructive Linux Disk-Wiping Malware
- The attack: Three malicious Go modules hid code that wipes Linux systems.
- How it worked: Obfuscated code in the modules downloaded a script that overwrote the main disk.
- Who found it: Researchers at the supply chain security firm Socket disclosed the modules in May 2025.
- What to do: Vet third-party modules before use and watch for unexpected downloads during builds.
Three Go modules with a wiper inside
Researchers at Socket found three malicious modules for the Go programming language that destroy data on the Linux systems they run on. The modules were published on GitHub under names meant to look useful to developers: prototransform, go-mcp and tlsproxy. They have since been taken down. Any system that already ran one is another matter.
A supply chain attack aimed at developers
Go is popular for cloud tools and infrastructure software, which makes Go developers an attractive target. Unlike the central registries of some other languages, Go fetches modules directly from source repositories such as GitHub. That makes it easier for attackers to publish look-alike packages that developers may pull in by mistake.
Why Go?
Go’s decentralized module system is part of the problem. Anyone can publish a module. Similar names make typosquatting easy, and a malicious module that gets built into a project can reach every server, laptop and CI runner where that software later runs.
Know what matters before your first meeting.
Weekday mornings. Five minutes. What changed in security, why it matters.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
How the wiper works
According to Socket, each module contained heavily obfuscated code that ran automatically. It checked that it was on Linux, then used wget to download a shell script from a remote server and executed it. The script overwrote the primary disk (/dev/sda) with zeros using dd, destroying the data and leaving the machine unable to boot.
Why it is so destructive
There is no ransom note. There is no decryption key to buy either, because nothing was encrypted. The only fix is to restore from backups. Socket said the obfuscation helped the code avoid quick detection by developers and basic scanners. The modules were removed from GitHub after the report.
What developers and security teams should do
Check your Go dependencies for the three module names, and look in build logs for unexpected wget or curl calls. More broadly, vet new third-party modules before adding them, especially ones with few users or recent creation dates.
Building Defensive Strategies
Dependency scanning that inspects what code actually does, not just known-bad versions, catches more of these attacks. Building in isolated environments limits the damage if a malicious module runs.
Know what matters before your first meeting.
Weekday mornings. Five minutes. What changed in security, why it matters.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
The lesson
Open-source registries are now a regular attack route. Treat every new dependency as code you are choosing to run. Keep offline backups.
Newer CyberExperts coverage on this topic
This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.
Citrix NetScaler CVE-2026-19490: The Auth Bypass That Went From PoC to Probes in a Day
CVE-2026-19490 is a CVSS 9.3 NetScaler Gateway/AAA auth bypass. A public PoC on Sept 2 was followed by live probes within a...
PaperCut NG/MF: The Print Server That Learned Remote Code Execution Again
CVE-2026-81578 and CVE-2026-82078 chain to pre-auth RCE on PaperCut Application Server. Confirm Emergency Patch Release 2, restrict admin exposure, and hunt like...
JFrog Artifactory CVE-2026-82329: Empty Join Key, Full Admin Token, Busy Scanners
CVE-2026-82329 lets attackers forge Artifactory admin tokens via a deterministic empty join key. Mass scanning peaked near 406,000 attempts; patch fixed builds...
Friday’s brief: Cisco VPN firewalls under attack, then GitLab, Synology NAS ransomware and Cisco SD-WAN spyware
The fastest way to catch up on what changed after this article was published.
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
Free. Weekdays. Built for operators.