<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/google-s-mole-cracked-the-npm-worm-gang-openai-got-hacked-via-a-heic-bug-mkt4dkxjt" -->

---
title: Google's mole cracked the npm worm gang, OpenAI got...
description: Today's biggest story is the messy, cinematic conclusion to the Shai-Hulud npm worm saga, complete with an embedded Google analyst and a rival gang snitching...
canonical: https://daily.dev/posts/google-s-mole-cracked-the-npm-worm-gang-openai-got-hacked-via-a-heic-bug-mkt4dkxjt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Google's mole cracked the npm worm gang, OpenAI got hacked via a HEIC bug | daily.dev
og:description: Today's biggest story is the messy, cinematic conclusion to the Shai-Hulud npm worm saga, complete with an embedded Google analyst and a rival gang snitching...
og:url: https://daily.dev/posts/google-s-mole-cracked-the-npm-worm-gang-openai-got-hacked-via-a-heic-bug-mkt4dkxjt
og:image: https://api.daily.dev/og/posts/Mkt4dkXjT.png
og:image:alt: Google's mole cracked the npm worm gang, OpenAI got hacked via a HEIC bug
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.

# Google's mole cracked the npm worm gang, OpenAI got hacked via a HEIC bug

**[Security Digest](https://daily.dev/sources/security_digest)** · 4 min read · 0 upvotes · 0 comments

## Summary

Today's biggest story is the messy, cinematic conclusion to the Shai-Hulud npm worm saga, complete with an embedded Google analyst and a rival gang snitching to law enforcement. Researchers also chained a HEIC image bug with an SSO flaw to break into OpenAI's internal GitHub, and separately escaped OpenAI Codex's sandbox two different ways. A new npm supply-chain campaign is hiding its payload inside a core BTree method instead of install scripts, dodging GitHub's install-script defenses entirely. And Z.ai's coding client got caught silently uploading encrypted copies of developers' git repos with no way to verify deletion.

## Content

**TLDR:** Today's biggest story is the messy, cinematic conclusion to the Shai-Hulud npm worm saga, complete with an embedded Google analyst and a rival gang snitching to law enforcement. Researchers also chained a HEIC image bug with an SSO flaw to break into OpenAI's internal GitHub, and separately escaped OpenAI Codex's sandbox two different ways. A new npm supply-chain campaign is hiding its payload inside a core BTree method instead of install scripts, dodging GitHub's install-script defenses entirely. And Z.ai's coding client got caught silently uploading encrypted copies of developers' git repos with no way to verify deletion.

---

## Google had a mole inside the npm worm gang for a year, arrests follow

The full Shai-Hulud story is out: TeamPCP spent roughly a year poisoning npm packages and running a self-replicating worm that breached over a thousand companies, at one point running a $1,000 Monero contest to incentivize compromising popular packages. Google's Threat Intelligence Group had an analyst embedded in the group almost since it started, feeding intel to breach victims and law enforcement, and a rival crime group, ShinyHunters, apparently ratted them out too. Two alleged members were arrested in August, but the worm's source code is now public and forked, so this isn't over. [Read more](https://daily.dev/posts/r25XnT433)

## OpenAI's internal GitHub got popped via a HEIC image bug and an SSO misconfig

Hacktron chained a heap buffer overflow in libheif, reachable through Discourse's HEIC upload pipeline, with an SSO misconfiguration in OpenAI's identity infrastructure to take over employee ChatGPT and Codex accounts and reach OpenAI's internal monorepo. They used Claude Opus 4.8 and Opus 5 to build and port the exploit, going from initial RCE to internal repo access in about 72 hours. OpenAI paid a $6,500 bounty, and the same vulnerable libheif dependency was traced across Slack, Meta, GitHub Enterprise, and several JS frameworks — the researchers' real point is that AI is making it dramatically cheaper to weaponize known memory-corruption bugs. [Read more](https://daily.dev/posts/cwubEwlAQ)

## Two separate escapes get researchers out of the Codex sandbox

Oren Yomtov found two ways off OpenAI Codex's leash. Heapjack abuses a shared memory heap between trusted and untrusted JS contexts in Codex Desktop, letting an attacker steal an auth token just by having Codex analyze a malicious repo, even in strict read-only mode. Overpatch abuses the CLI's apply_patch tool to write outside the workspace via a symlink. Both were reported August 12 and patched within eight days — update to Codex Desktop 26.818.21641 and Codex CLI 0.149.0 if you haven't. [Read more](https://daily.dev/posts/Wdkcv7LCt)

## npm malware hides inside a BTree method to dodge install-script defenses

The 'indexed-btree' package impersonates the legit 'sorted-btree' library and racked up 2 million weekly downloads by hiding its loader inside BTree.prototype.set(), a function every consumer of the library actually calls, sidestepping GitHub's June 2026 crackdown on install-script malware entirely. Once triggered it exfiltrates system data via Slack and Telegram and polls an Ethereum Sepolia smart contract for C2 instructions. Checkmarx found nine related packages with combined downloads in the millions; if you've touched this package, rotate secrets and restore from clean backups. [Read more](https://daily.dev/posts/w4iQ1yY8M)

---

## Also notable

- **Z.ai's coding client silently uploaded encrypted repo backups with no deletion proof:** ZCode was uploading encrypted archives of local git repos to Alibaba cloud with a key only Z.ai holds, so users can't verify what was sent or confirm it was actually deleted after the company apologized. [Read more](https://daily.dev/posts/x49PcvaGU)
- **Kubernetes 1.37 adds storage hardening and rootless kubelet beta:** New alpha bindMountOptions can set noexec/nosuid/nodev on any volume, EmptyDir gets configurable permissions including the sticky bit, and Rootless Kubelet hits beta so a container escape lands as unprivileged rather than root. [Read more](https://daily.dev/posts/qYTXzK99K)
- **Cloudflare cuts TLS handshake retries from 52% to 3.7% with per-origin measurement:** Replacing a static X25519 assumption with active per-origin probing removed over 150ms from p90 handshake latency, though only 12.8% of measured origins currently support post-quantum key exchange. [Read more](https://daily.dev/posts/imENahndh)
- **ELEGANTBOUNCER now scans HEIC/HEIF/AVIF files for three new CVEs:** The scanner was updated to detect CVE-2026-32741, CVE-2026-32882, CVE-2026-84383, plus an additional exploit with no CVE assigned yet. [Read more](https://daily.dev/posts/VA7aDaUUZ)
- **A Dart SFTP library's default cipher choice cost 43x throughput:** dartssh2's default AES-GCM preference caps pure-Dart transfers at 1.2 MB/s versus 51 MB/s for chacha20-poly1305, tracing back to GHASH lacking a fast software path — reordering cipher preference fixed it. [Read more](https://daily.dev/posts/zsZdchVN7)

## Similar posts on daily.dev

- [Mini Shai-Hulud Strikes Again: 317 npm Packages Compromised](https://daily.dev/posts/mini-shai-hulud-strikes-again-317-npm-packages-compromised-u2ptexbxr) · Hacker News · 2 upvotes · 0 comments
- [Shai-Hulud: Here We Go Again. Mass npm Supply Chain Attack Hits the AntV Ecosystem](https://daily.dev/posts/shai-hulud-here-we-go-again-mass-npm-supply-chain-attack-hits-the-antv-ecosystem-nq51smsqn) · StepSecurity · 1 upvotes · 0 comments
- [New Shai-Hulud malware wave compromises 600 npm packages](https://daily.dev/posts/new-shai-hulud-malware-wave-compromises-600-npm-packages-fc6izpxyv) · BleepingComputer · 5 upvotes · 1 comments

---

Tags: [#security](https://daily.dev/tags/security), [#cyber](https://daily.dev/tags/cyber), [#openai](https://daily.dev/tags/openai), [#vulnerability](https://daily.dev/tags/vulnerability), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/google-s-mole-cracked-the-npm-worm-gang-openai-got-hacked-via-a-heic-bug-mkt4dkxjt)

```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":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/google-s-mole-cracked-the-npm-worm-gang-openai-got-hacked-via-a-heic-bug-mkt4dkxjt","headline":"Google's mole cracked the npm worm gang, OpenAI got hacked via a HEIC bug","text":"Today's biggest story is the messy, cinematic conclusion to the Shai-Hulud npm worm saga, complete with an embedded Google analyst and a rival gang snitching to law enforcement. Researchers also chained a HEIC image bug with an SSO flaw to break into OpenAI's internal GitHub, and separately escaped OpenAI Codex's sandbox two different ways. A new npm supply-chain campaign is hiding its payload inside a core BTree method instead of install scripts, dodging GitHub's install-script defenses entirely. And Z.ai's coding client got caught silently uploading encrypted copies of developers' git repos with no way to verify deletion.","url":"https://daily.dev/posts/google-s-mole-cracked-the-npm-worm-gang-openai-got-hacked-via-a-heic-bug-mkt4dkxjt","datePublished":"2026-09-21T04:17:42.217Z","dateModified":"2026-09-21T04:18:10.781Z","author":{"@type":"Organization","name":"Security Digest","logo":"https://media.daily.dev/image/upload/s--m4ZKB_C0--/f_auto,q_auto/v1779959612/logos/security_digest","url":"https://daily.dev/sources/security_digest"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/security_digest","name":"Security Digest"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Security Digest","item":"https://daily.dev/sources/security_digest"},{"@type":"ListItem","position":3,"name":"Google's mole cracked the npm worm gang, OpenAI got hacked via a HEIC bug"}]}
```

