Files
vuln-osv/data/npm/MAL-2026-2907.json
T

1 line
2.6 KiB
JSON

{"schema_version":"1.9.2","id":"MAL-2026-2907","published":"2026-04-16T02:50:55Z","modified":"2026-11-11T01:30:04.260793519Z","aliases":["GHSA-6q28-3q3p-8x7c"],"summary":"Malicious code in nj-logger (npm)","details":"nj-logger is a malicious npm package that when imported in file dist/logger/telemetry.js downloads a trojan (for Windows only, W64.AIDetectMalware / Trojan.Malware.300983.susgen) from http://178.128.88[.]40:8080/download/svc to path node_modules/.cache/nj-logger/nj-transport-win32-x64.node and executes it. Downloader is obfuscated as telemetry module, urls & paths are base64 and XOR encoded.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (35414b2bda6d20336301bfdc5c0147a6434ee0e712f1fd5962a61ef34d6e53e9)\nThe package nj-logger was found to contain malicious code.\n\n## Source: ghsa-malware (1d4672fb4d84dc0356e950e69c102c85477dbf05fffc2991a5bf974e3dd88ef6)\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":"nj-logger","ecosystem":"npm","purl":"pkg:npm/nj-logger"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nj-logger/MAL-2026-2907.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6q28-3q3p-8x7c"}],"database_specific":{"iocs":{"urls":["http://178.128.88.40:8080/download/svc"]},"malicious-packages-origins":[{"import_time":"2026-04-23T20:49:04.387597334Z","modified_time":"2026-04-23T20:43:56Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"35414b2bda6d20336301bfdc5c0147a6434ee0e712f1fd5962a61ef34d6e53e9","source":"amazon-inspector"},{"id":"GHSA-6q28-3q3p-8x7c","import_time":"2026-11-11T01:16:44.035958687Z","modified_time":"2026-11-11T00:53:19Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"1d4672fb4d84dc0356e950e69c102c85477dbf05fffc2991a5bf974e3dd88ef6","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"indece","contact":["https://indece.com"],"type":"FINDER"}]}