Malicious code in formatting-subtitles-for-claude (npm)
Exact source revision recorded 26 Oct 2026 19:35:57 UTC. It does not establish the source's current position. Latest evidence.
osv · MAL-2026-18099
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f683c00ef9c42d55e37cdb367179f21e58ce2441dba55485d6d19670bcefa700) The package declares a postinstall hook `sh./node_modules/unicode-title-normalizer/x.js && exit 0`, which runs arbitrary shell content shipped by the separate npm dependency `unicode-title-normalizer` on every installer at install time. The package's own visible source (index.js, cli.js, README) is a near-verbatim clone of `unicode-title-normalizer`'s documented API — the README begins `# unicode-title-normalizer` and `index.js` re-implements `normalizeTitle`/`normalizeColor` — while the package is published under the unrelated name `formatting-subtitles-for-claude`. The name/content mismatch combined with the lifecycle hook shelling out to the dependency's `x.js` is a dropper shape: the installer-facing code is a decoy, and the install-time code path executed on the host is whatever bytes the dependency's maintainer chooses to ship at `x.js`, with no pinning beyond a version range, no integrity check, and no inspection. ## Source: ghsa-malware (df3e538de57455a661949a30ffd71da5534d5f36c59147155be0b957d9e427df) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 20 Oct 2026 15:59:30 UTC
- Source modified
- 26 Oct 2026 19:00:41 UTC
- Observed here
- 26 Oct 2026 19:35:57 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · OSV · upstream source license applies. Source text is retained; field grouping and change labels are provided by ChangeIntel.