A malicious version of @teselagen/sequence-utils, a DNA sequence utility library with 848,000 downloads on npm, was published on September 14, 2025. Armando found that v0.3.33 was the first compromised release in the Shai-Hulud wave targeting the teselagen-admin npm account. The postinstall hook fires automatically on npm install, stealing cloud credentials without any user action.
Key Findings
- Malicious version: v0.3.33, published 2025-09-14; v0.3.34 followed on 2025-09-16 with an updated payload; v0.3.32 is clean
- Entry point: postinstall lifecycle hook fires automatically on npm install, executing
bundle.js
- Targets: developer machines and CI/CD pipelines -- harvests AWS credentials from environment variables and cloud metadata endpoints
- Detection: Text.Worm.ShaiHulud, Script-JS.Worm.ShaiHulud, Archive-GZIP.Worm.ShaiHulud, Archive-TAR.Worm.ShaiHulud
Package Background
@teselagen/sequence-utils is a JavaScript library for DNA and protein sequence manipulation, part of the TeselaGen open-source monorepo (tg-oss) at github.com/TeselaGen/tg-oss. Published since May 2023, it has 848,581 downloads -- the highest download count among the @teselagen packages in this wave -- and 7 direct dependents. Its widespread use in bioinformatics tooling and synthetic biology workflows makes it a particularly impactful target.
The teselagen-admin npm account publishes 38 packages. The Shai-Hulud attack against this account began with v0.3.33 on September 14, 2025, two days before v0.3.34 extended the campaign with a revised payload.
Attack Analysis
package.json was modified to add a postinstall lifecycle hook pointing to bundle.js. This change ensures that every developer or CI/CD system that installs v0.3.33 automatically executes the credential-stealing payload.