Supply chain
openapi-react-query-codegen published with a worm through a comment-triggered release workflow
What was reported
Socket reported on 28 August 2026 that ten malicious versions of @7nohe/openapi-react-query-codegen, a package with about 150,000 weekly downloads, were published that day across every maintained release line, all with valid npm provenance. The release workflow ran when any GitHub account commented 'npm publish' on a pull request and published the fork's code without checking who commented. The payload ran through binding.gyp, harvested cloud, registry and GitHub Actions credentials, modified AI coding agent configuration, spread to other writable packages, and sent encrypted data to attacker-created public GitHub repositories.
What is not known
- Socket describes this as a Mini Shai-Hulud compromise; its investigation was ongoing at publication.
- Whether all ten versions have since been removed is not stated in the source.
- No ATT&CK technique is asserted until a separate sourced mapping review.
Sources (1)
Socket · Security research
Published 28 Aug 2026 · Reviewed 26 Nov 2026
Rights: Citation and short paraphrase only; check publisher terms before reuse.
Open source from Socket (external site) ↗
Classification
- MITRE ATT&CK
- Not evaluated
- Ecosystems
- npm, GitHub Actions, CI/CD
- Industry
- Technology
- Secret type
- Not stated
- Where it was exposed
- Not stated
- Packages
- None linked
Secret type and location are only what the sources state; “Not stated” means the sources don’t say. Location is where the first exposed secret sat. Techniques are listed only after a sourced mapping review. “Not evaluated” means nobody has reviewed it yet, not that the technique was absent.
Related market categories
- Software supply chain
Malicious versions were published through the package's own release workflow.
Does not imply: That any software supply chain security product detected or would have prevented this incident.
Reviewed 28 Nov 2026