{"id":"GHSA-xxr7-33gg-pcg6","kind":"package","aliases":["GHSA-xxr7-33gg-pcg6","MAL-2026-18099"],"related":[],"title":"Malicious code in formatting-subtitles-for-claude (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f683c00ef9c42d55e37cdb367179f21e58ce2441dba55485d6d19670bcefa700)\nThe 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.\n\n## Source: ghsa-malware (df3e538de57455a661949a30ffd71da5534d5f36c59147155be0b957d9e427df)\nAny 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.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"formatting-subtitles-for-claude","fixed":[],"affected":"all versions","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-20T15:59:30+00:00","first_seen_at":"2026-10-26T20:51:55+00:00","triaged_at":"2026-10-26T20:59:55+00:00","updated_at":"2026-10-26T21:05:48+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-18099':17A '-2026':16A './node_modules/unicode-title-normalizer/x.js':51C '0':53C '33gg':13A,21A 'amazon':41C 'amazon-inspector':40C 'api':97C 'arbitrari':56C 'begin':100C 'beyond':179C 'byte':166C 'check':185C 'choos':171C 'claud':8A,125C 'claude':27A 'cli.js':82C 'clone':89C 'code':2A,149C,158C 'combin':129C 'compromis':207C 'comput':195C,215C,223C,235C 'consid':205C 'content':58C 'control':232C 'declar':46C 'decoy':152C 'depend':64C,138C,168C 'detail':32C 'df3e538de57455a661949a30ffd71da5534d5f36c59147155be0b957d9e427df':193C 'differ':222C 'document':96C 'dropper':143C 'edit':35C 'entiti':243C 'everi':70C 'execut':160C 'exit':52C 'f683c00ef9c42d55e37cdb367179f21e58ce2441dba55485d6d19670bcefa700':43C 'face':148C 'for':26A 'format':5A,122C 'formatting':24A 'formatting-subtitles-for-claud':4A,121C 'formatting-subtitles-for-claude':23A 'full':231C 'fulli':206C 'ghsa':11A,19A,191C 'ghsa-malwar':190C 'ghsa-xxr7-33gg-pcg6':10A,18A 'given':239C 'guarante':247C 'hook':49C,133C 'host':163C 'immedi':219C 'implement':109C 'index.js':81C,106C 'inspect':188C 'inspector':42C 'instal':71C,73C,147C,156C,200C,259C 'install-tim':155C 'installer-fac':146C 'integr':184C 'key':211C 'lifecycl':132C 'line':38C 'maintain':170C 'mal':15A 'malici':1A,28B,255C 'malwar':192C 'may':236C 'mismatch':128C 'name':120C 'name/content':127C 'near':87C 'near-verbatim':86C 'normal':68C,94C,104C 'normalizecolor':111C 'normalizetitl':110C 'npm':9A,63C 'outsid':242C 'packag':29B,45C,76C,114C,199C,225C,251C 'path':159C 'pcg6':14A,22A 'per':30C 'pin':178C 'postinstal':48C 'publish':116C 'rang':182C 're':108C 're-impl':107C 'readm':83C,99C 'remov':228C,249C,253C 'result':257C 'rotat':218C 'run':55C,202C 'secret':209C 'separ':62C 'sh':50C 'shape':144C 'shell':57C,134C 'ship':59C,173C 'softwar':256C 'sourc':31C,39C,80C,189C 'store':212C 'subtitl':6A,123C 'subtitles':25A 'time':74C,157C 'titl':67C,93C,103C 'unicod':66C,92C,102C 'unicode-title-norm':65C,91C,101C 'unrel':119C 'verbatim':88C 'version':181C 'visibl':79C 'whatev':165C 'x.js':140C,175C 'xxr7':12A,20A","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-20T15:59:30+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-18099","url":"https://osv.dev/vulnerability/MAL-2026-18099","severity":"critical","published_at":"2026-10-20T15:59:30+00:00","modified_at":"2026-10-26T19:00:41+00:00","first_seen_at":"2026-10-26T20:51:55+00:00","fetched_at":"2026-10-26T20:51:55+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}