-= Per source details. Do not edit below this line.=-
Package advertises itself as a zero-dependency TOTP/HOTP library, but package.json runs node lib/core.js --setup as a postinstall lifecycle script. lib/core.js first checks for CI/audit/pack indicators (CI, CONTINUOUSINTEGRATION, JESTWORKERID, missing APPDATA/USERPROFILE/USERNAME/COMPUTERNAME, npmlifecyclescript containing 'audit' or 'pack') and exits cleanly in those environments, so the payload only fires on real Windows developer machines. On a live host it enumerates Minecraft launcher account stores under %APPDATA% (vanilla launcheraccounts*.json, Lunar accounts.json, Essential microsoftaccounts.json, CurseForge storage.json, ModrinthApp DB/JSON/LDB files, launchermsacredentials*.bin) and extracts Xbox/MSA access and refresh tokens. It then scans Discord stable/canary/ptb/dev and Chromium-family browsers (Chrome, Edge, Brave, Opera, Opera GX) Local Storage leveldb files, uses PowerShell + Windows DPAPI to unprotect each browser's oscrypt master key, AES-256-GCM decrypts 'dQw4w9WgXcQ:'-prefixed token entries, validates them against https://discord.com/api/v9/users/@me, and POSTs the working tokens as JSON embeds (with @everyone) to a hardcoded Discord webhook whose URL is reassembled at runtime from seven string fragments to defeat plain-string scanners, resolving to https://discord.com/api/webhooks/1532429233769419004/VE9zx782_hy5vedls0lwNRAVA1sUGb9Q2chTdXdrcmXuNzztkeXe7Ilbt36OjWaNnTXe. The same postinstall path downloads a JAR (fabric-api-boost-1.0.0.jar) from a similarly split URL pointing at github.com/ghysghqgHUJ/.jar/releases/download/v1.0.0/ — a personal GitHub account unrelated to the package publisher, with no hash or signature verification — and stages it into the victim's Minecraft mods directory as a second-stage payload.
{
"malicious-packages-origins": [
{
"modified_time": "2026-08-24T16:47:01Z",
"sha256": "0e01db0d16ec6404b8abec4251abce7af60e319b37500e0e9a143675f354f416",
"versions": [
"1.0.0"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018656",
"import_time": "2026-08-24T16:49:15.408592766Z"
},
{
"modified_time": "2026-08-24T16:47:08Z",
"sha256": "6eb6324985f850f7ecd3e6d35c30dca10f94d4769aba14d4e5a6666d26e32230",
"versions": [
"1.0.2"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018657",
"import_time": "2026-08-24T16:49:15.461797863Z"
},
{
"sha256": "9e0bba67e72f048a787f4798fe2fa7e65128b0b29af85625c4fbbe4a4dc7ea70",
"modified_time": "2026-08-24T16:47:23Z",
"versions": [
"1.0.1"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018659",
"import_time": "2026-08-24T16:49:15.597357815Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-24T16:44:54Z",
"versions": [
"1.0.4"
],
"sha256": "b28dd7ba00c995a950ac0dfe89eb7077bc1c1464a805d704b404857f9271f4a9",
"id": "IN-MAL-2026-018642",
"import_time": "2026-08-24T16:49:14.394924517Z"
},
{
"sha256": "bddd5251c88a0555a3c079c1706a720e5d65b01fdd3cd443af149526d90fae90",
"modified_time": "2026-08-24T16:45:13Z",
"versions": [
"1.0.5"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018644",
"import_time": "2026-08-24T16:49:14.534576155Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-24T16:45:30Z",
"versions": [
"1.0.3"
],
"sha256": "e72292101c6b448dbaea5dc1e2af91cc55b35b32ee1e722c4f5b21dfb91e032d",
"id": "IN-MAL-2026-018646",
"import_time": "2026-08-24T16:49:14.674463597Z"
}
]
}[
{
"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"
},
{
"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"
},
{
"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"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/auth-otp/MAL-2026-14425.json"
{
"evidence_files": [
{
"path": "lib/core.js",
"sha256": "62c9dc958234fa00041f36e54400cbfe3259550dcd3240e100bfb0b82cda3e92",
"tlsh": "b492817561f3212472a3f2ed5a079019a179f4433106de947aacb2846fcf578a2f39bc"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "6ecc7823c87f67086dc576a30f24c401c2bd9e08",
"sha512_sri": "sha512-/epfEj6jklV6DWlNDAZg0Vingme0Sw+6vpkeLPsP8oOgIGTpkqqTY2OFR2BwsnPTW1YGGsh59r78OVQxp1QfNw=="
},
"filename": "auth-otp-1.0.0.tgz"
}
]
}