-= Per source details. Do not edit below this line.=-
The package publishes as formatting-subtitles but its README, bin entry, and sole dependency identify as unicode-title-normalizer, a facade used to lure installs. The tarball ships x.js, a JavaScript/shell polyglot: when read as JavaScript it prints a hello message, but when executed by sh the /**... */ header is interpreted as shell containing command substitutions that beacon to https://webhook.site/9e8c8742-3102-4716-aa8b-e150e9e84fe7/stats_1 and curl https://api.github.com/gists/da04f14c93acbe9a7aef827be0a2e91c, piping the gist body through jq into a file and executing it with sh. package.json declares a preinstall hook sh./prepare.js && exit 0; prepare.js is not shipped so the current tarball fails open, but x.js is listed in files and matches the exact sh <file> invocation shape, leaving the dropper one filename change (or a manual sh x.js) away from live execution. The gist body is attacker-mutable, allowing arbitrary code to be delivered to any host that executes x.js via sh, and the webhook endpoint acts as an install beacon.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021572",
"import_time": "2026-10-22T06:30:24.231976945Z",
"modified_time": "2026-10-22T06:11:06Z",
"sha256": "25577370189f57a5678b2f2c45e212abfc79a3675dc7d51581f633e78aba47a6",
"source": "amazon-inspector",
"versions": [
"1.0.2"
]
},
{
"id": "IN-MAL-2026-022758",
"import_time": "2026-11-13T04:13:30.241460295Z",
"modified_time": "2026-11-13T03:42:46Z",
"sha256": "947d74b456114e4caca402883ca016d51419b0a1e23781855b705741f52f6ffe",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "prepare.js",
"sha256": "08621cf159a42a51cc7adb68a5de9362791f82d828aa8e06acb5274326b08bc8",
"tlsh": "d6e07dbf44dc45271b1467c5c6005129f216c188d510ba44d4d1535e78c941121d952a"
},
{
"path": "package.json",
"sha256": "787b8adaeb91abef8536432c18baf565a2ea2d2b8df80daa1d83b216e6ca298d",
"tlsh": "8ff05910c6315e6306c4baf08dfa10426a221c1b87683d1a7ac3150c9b4d6f744ff7aa"
}
],
"package_integrity": [
{
"filename": "formatting-subtitles-1.0.2.tgz",
"hashes": {
"sha1": "199aa6a0ce2832752c28df0562a3bb854670e31d",
"sha512_sri": "sha512-XNf+/5pUF/7eiFRxUpcKHIJrwF1DRslpn/Kw6U1FBQbzlM/VBkLTrkvCsU3E2xvMIcpyVAC8tIeOT7cDajsLQQ=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/formatting-subtitles/MAL-2026-18184.json"