<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-lqbdndaal" -->

---
title: The Worm That Learned Go: Breaking Down the Supply Chain...
description: A self-replicating npm worm called Shai-Hulud and its descendants (Mini Shai-Hulud, Miasma, Hades) have expanded from the JavaScript ecosystem into Go. The...
canonical: https://daily.dev/posts/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-lqbdndaal
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Worm That Learned Go: Breaking Down the Supply Chain Attack That Just Hit the Go Ecosystem | daily.dev
og:description: A self-replicating npm worm called Shai-Hulud and its descendants (Mini Shai-Hulud, Miasma, Hades) have expanded from the JavaScript ecosystem into Go. The...
og:url: https://daily.dev/posts/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-lqbdndaal
og:image: https://api.daily.dev/og/posts/LqbDNDaaL.png
og:image:alt: The Worm That Learned Go: Breaking Down the Supply Chain Attack That Just Hit the Go Ecosystem
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Worm That Learned Go: Breaking Down the Supply Chain Attack That Just Hit the Go Ecosystem

**[Medium](https://daily.dev/sources/medium_js)** · 7 min read · 0 upvotes · 0 comments

## Summary

A self-replicating npm worm called Shai-Hulud and its descendants (Mini Shai-Hulud, Miasma, Hades) have expanded from the JavaScript ecosystem into Go. The attack didn't exploit Go's toolchain directly — instead, malicious JavaScript payloads were hidden inside editor config folders (.vscode/tasks.json, .claude/) of a real Go project (verana-blockchain), triggering automatically when developers opened the project in their IDE. Once executed, the payload harvested credentials, cloud keys, SSH keys, and CI/CD secrets. The post explains the attack mechanism in beginner-friendly terms and offers practical defensive steps: auditing hidden config folders before opening repos, pinning dependencies, using short-lived scoped tokens, restricting CI/CD permissions, and using dependency-scanning tools like Socket.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@mluqman1500/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-dff9f5789103>

## Similar posts on daily.dev

- [Shai-Hulud and the npm Worm: How Speed-Optimised Dev Ecosystems Made a Self-Propagating Supply Chain Attack Inevitable](https://daily.dev/posts/shai-hulud-and-the-npm-worm-how-speed-optimised-dev-ecosystems-made-a-self-propagating-supply-chain-sqk1zcfbl) · Foojay.io · 0 upvotes · 0 comments
- [Shai-Hulud worm infects npm packages](https://daily.dev/posts/shai-hulud-worm-infects-npm-packages-mpt5bnev9) · Securelist · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#cyber](https://daily.dev/tags/cyber), [#golang](https://daily.dev/tags/golang), [#malware](https://daily.dev/tags/malware)

[View this post on daily.dev](https://daily.dev/posts/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-lqbdndaal)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Worm That Learned Go: Breaking Down the Supply Chain Attack That Just Hit the Go Ecosystem","url":"https://daily.dev/posts/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-lqbdndaal","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-lqbdndaal"},"datePublished":"2026-07-26T19:36:16.682Z","dateModified":"2026-07-26T19:37:01.743Z","description":"A self-replicating npm worm called Shai-Hulud and its descendants (Mini Shai-Hulud, Miasma, Hades) have expanded from the JavaScript ecosystem into Go. The...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-worm-that-learned-go-breaking-down-the-supply-chain-attack-that-just-hit-the-go-ecosystem-lqbdndaal","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,cyber,golang,malware","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"The Worm That Learned Go: Breaking Down the Supply Chain Attack That Just Hit the Go Ecosystem"}]}
```

