npm/@onereach/si-validated-timestring-input is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the "Shai-Hulud: Here We Go Again" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook ("preinstall": "node setup.mjs") that runs on a bare npm install, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as MathSymbol.js / mathinit.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading "Shai-Hulud: Here We Go Again") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.
-= Per source details. Do not edit below this line.=-
The package's preinstall lifecycle (node setup.mjs) downloads the Bun runtime binary from GitHub's oven-sh/bun releases (pinned to v1.3.13), chmods it executable, and executes it against a sibling file math_init.js inside the package directory. math_init.js is a ~728KB heavily obfuscated bundle (string-array rotation via WV8StW, hex-obfuscated _0x... identifiers, encoded literal table n7gIxM, custom base64-like alphabet decoder hc1jfK9) carrying a @bun/@bun-cjs header, and is not referenced by any of the package's library exports — it is only reached through the preinstall Bun invocation. setup.mjs itself uses hex-obfuscated identifiers and string-array indirection. The advertised purpose is a Vue timestring input component, which has no legitimate need for an alternate JavaScript runtime at install time. package.json declares "files": ["lib/*"], but both setup.mjs and math_init.js ship at the tarball root outside that whitelist. This is the alternate-runtime-dropper shape: shipping an obfuscated payload that only executes under a freshly-downloaded alien runtime, bypassing Node-based inspection, and running arbitrary attacker code on every machine that runs npm install for this package.
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.
{
"iocs": {
"files": [
{
"paths": [
"setup.mjs"
],
"note": "Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it.",
"source": "PACKAGE_ARCHIVE"
},
{
"paths": [
"Math_Symbol.js",
"math_init.js"
],
"note": "Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js.",
"source": "PACKAGE_ARCHIVE"
}
]
},
"malicious-packages-origins": [
{
"versions": [
"0.3.6",
"0.3.5",
"0.3.7"
],
"id": "GHSA-7pvm-9q4f-5qv7",
"import_time": "2026-08-05T00:10:17.965282813Z",
"modified_time": "2026-08-04T15:53:25Z",
"source": "ghsa-malware",
"sha256": "644744175b28e81678c0462e65c469c60aa685cf92c0d1e4ac04896209b20f4f"
},
{
"versions": [
"0.3.6"
],
"id": "IN-MAL-2026-013703",
"import_time": "2026-08-05T07:07:00.081494518Z",
"modified_time": "2026-08-05T07:02:10Z",
"source": "amazon-inspector",
"sha256": "dcfd9d680871be902c4282750e4cf8a53327cd6752630550c24e76db987ddd65"
},
{
"versions": [
"0.3.7"
],
"id": "IN-MAL-2026-013545",
"import_time": "2026-08-05T07:06:53.132713118Z",
"modified_time": "2026-08-05T06:38:44Z",
"source": "amazon-inspector",
"sha256": "e6a13b8b38fe15df77978b575fcee986b662f3001ce6e3e6b41cbbd4c501bda6"
},
{
"modified_time": "2026-08-05T08:13:19Z",
"id": "IN-MAL-2026-014182",
"import_time": "2026-08-05T08:22:34.755545961Z",
"versions": [
"0.3.5"
],
"source": "amazon-inspector",
"sha256": "2410a71b885ad690abafcc5e31c0c72478abef21e15daa64581ef618e49ec5ca"
}
]
}[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@onereach/si-validated-timestring-input/MAL-2026-11649.json"
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-CfN3NhOAU6FQMopfH50OVXeFdE9r2Xj60LNVmS1qE/+a+pOIlZuef0ceA83S8vvkDQ7ybFf04VsqAg/sgoWoZg==",
"sha1": "5e41cd2b6139d7499a44b08bc862f19d062f91a5"
},
"filename": "si-validated-timestring-input-0.3.6.tgz"
}
],
"evidence_files": [
{
"path": "setup.mjs",
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb"
},
{
"path": "math_init.js",
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc"
}
]
}