MAL-2026-12073Malicious code in sso-tramvai-module-context-auth (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | sso-tramvai-module-context-auth | * |
| npm | sso-tramvai-module-context-auth | 20.4.5 |
{"schema_version":"1.7.4","id":"MAL-2026-12073","published":"2026-08-05T01:47:14Z","modified":"2026-08-24T16:28:17.365504371Z","aliases":["GHSA-3hqw-6hwm-vh64"],"summary":"Malicious code in sso-tramvai-module-context-auth (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c2fe37796b442cbefe81da5d36efbb44744656e6ef3d34677ad4f6185f344d22)\nThe package advertises itself as an auth-token handler but on require() its index.js loads _vendor.js, which reconstructs destination hostnames from array joins (oob-worker.cf101-adf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, and a *.dl.well1.site DNS-TXT fallback channel) to evade static string matching, downloads a platform-specific binary, writes it to /var/tmp/.cache_<rand> on Unix or %TEMP%/dotnet_diag_<rand>.exe on Windows with cover-story filenames, chmods 0755, and spawns it detached with stdio ignored via `/bin/sh -c '<path> &'` or `cmd.exe /c start /b`, calling unref() to keep it alive after the Node process exits. Execution is gated by opt-out env vars and a TTL state-file cache to reduce re-execution visibility. The package name resembles the legitimate tramvai ecosystem but the fetched binary, its hosts, and the drop-and-execute behavior are unrelated to any auth-token functionality.\n\n## Source: ghsa-malware (6b132db9d0d9f273fc1123e56f40816eab2488147898da327efca86df38735a1)\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.\n","affected":[{"package":{"name":"sso-tramvai-module-context-auth","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.4.5"],"database_specific":{"cwes":[{"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"}],"indicators":{"evidence_files":[{"path":"_vendor.js","sha256":"d0a3822e0475627abe6aabdcaf12d2f2f249303cbce467edac5749f1e5d2205e","tlsh":"fea1a69a16a6301d8bb0abf5c7174816f65be6633740c194fb5ca9845fb312483b2efc"}],"package_integrity":[{"filename":"sso-tramvai-module-context-auth-20.4.5.tgz","hashes":{"sha1":"2859559806144aac877b969bc6abf8a0a83dbf4d","sha512_sri":"sha512-ofP4vkeD+FPEsE0K1Xbye315T0y7bNqvuWj4w5AGhCM07pE+x0yQdYRj3ndCmpEBCrIaXJ1LMuSw6GlqQkR0zw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sso-tramvai-module-context-auth/v/20.4.5"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3hqw-6hwm-vh64"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011527","import_time":"2026-08-05T03:11:17.682177101Z","modified_time":"2026-08-05T01:47:14Z","sha256":"c2fe37796b442cbefe81da5d36efbb44744656e6ef3d34677ad4f6185f344d22","source":"amazon-inspector","versions":["20.4.5"]},{"id":"GHSA-3hqw-6hwm-vh64","import_time":"2026-08-24T16:26:16.729573908Z","modified_time":"2026-08-24T16:11:34Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6b132db9d0d9f273fc1123e56f40816eab2488147898da327efca86df38735a1","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0