{"id":"GHSA-6q28-3q3p-8x7c","kind":"package","aliases":["GHSA-6q28-3q3p-8x7c","MAL-2026-2907"],"related":[],"title":"Malicious code in nj-logger (npm)","description":"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.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"nj-logger","note":"all versions","fixed":[],"affected":"","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-04-16T02:50:55+00:00","first_seen_at":"2026-11-11T01:54:54+00:00","triaged_at":"2026-11-11T01:56:49+00:00","updated_at":"2026-11-11T01:56:49+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-2026':14A '-2907':15A '178.128.88':49C '1d4672fb4d84dc0356e950e69c102c85477dbf05fffc2991a5bf974e3dd88ef6':101C '35414b2bda6d20336301bfdc5c0147a6434ee0e712f1fd5962a61ef34d6e53e9':85C '3q3p':11A,19A '40':50C '6q28':10A,18A '8080/download/svc':51C '8x7c':12A,20A 'amazon':83C 'amazon-inspector':82C 'base64':68C 'code':2A,96C 'compromis':115C 'comput':103C,123C,131C,143C 'consid':113C 'contain':94C 'control':140C 'detail':74C 'differ':130C 'dist/logger/telemetry.js':39C 'download':40C,59C 'edit':77C 'encod':71C 'entiti':151C 'execut':57C 'file':38C 'found':92C 'full':139C 'fulli':114C 'ghsa':9A,17A,99C 'ghsa-6q28-3q3p-8x7c':8A,16A 'ghsa-malwar':98C 'given':147C 'guarante':155C 'immedi':127C 'import':36C 'inspector':84C 'instal':108C,167C 'key':119C 'line':80C 'logger':6A,23A,28C,90C 'mal':13A 'malici':1A,24B,31C,95C,163C 'malwar':100C 'may':144C 'modul':64C 'modules/.cache/nj-logger/nj-transport-win32-x64.node':55C 'nj':5A,22A,27C,89C 'nj-logger':4A,21A,26C,88C 'node':54C 'npm':7A,32C 'obfusc':61C 'outsid':150C 'packag':25B,33C,87C,107C,133C,159C 'path':53C,66C 'per':72C 'remov':136C,157C,161C 'result':165C 'rotat':126C 'run':110C 'secret':117C 'softwar':164C 'sourc':73C,81C,97C 'store':120C 'telemetri':63C 'trojan':42C 'trojan.malware.300983.susgen':47C 'url':65C 'w64.aidetectmalware':46C 'window':44C 'xor':70C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["njlogger"],"ptokens":["logger","nj"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-2026':14A '-2907':15A '3q3p':11A,19A '6q28':10A,18A '8x7c':12A,20A 'code':2A 'ghsa':9A,17A 'ghsa-6q28-3q3p-8x7c':8A,16A 'logger':6A,23A 'mal':13A 'malici':1A 'nj':5A,22A 'nj-logger':4A,21A 'npm':7A","search_b":"'malici':24B 'packag':25B","search_c":"'178.128.88':49C '1d4672fb4d84dc0356e950e69c102c85477dbf05fffc2991a5bf974e3dd88ef6':101C '35414b2bda6d20336301bfdc5c0147a6434ee0e712f1fd5962a61ef34d6e53e9':85C '40':50C '8080/download/svc':51C 'amazon':83C 'amazon-inspector':82C 'base64':68C 'code':96C 'compromis':115C 'comput':103C,123C,131C,143C 'consid':113C 'contain':94C 'control':140C 'detail':74C 'differ':130C 'dist/logger/telemetry.js':39C 'download':40C,59C 'edit':77C 'encod':71C 'entiti':151C 'execut':57C 'file':38C 'found':92C 'full':139C 'fulli':114C 'ghsa':99C 'ghsa-malwar':98C 'given':147C 'guarante':155C 'immedi':127C 'import':36C 'inspector':84C 'instal':108C,167C 'key':119C 'line':80C 'logger':28C,90C 'malici':31C,95C,163C 'malwar':100C 'may':144C 'modul':64C 'modules/.cache/nj-logger/nj-transport-win32-x64.node':55C 'nj':27C,89C 'nj-logger':26C,88C 'node':54C 'npm':32C 'obfusc':61C 'outsid':150C 'packag':33C,87C,107C,133C,159C 'path':53C,66C 'per':72C 'remov':136C,157C,161C 'result':165C 'rotat':126C 'run':110C 'secret':117C 'softwar':164C 'sourc':73C,81C,97C 'store':120C 'telemetri':63C 'trojan':42C 'trojan.malware.300983.susgen':47C 'url':65C 'w64.aidetectmalware':46C 'window':44C 'xor':70C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-04-16T02:50:55+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-2907","url":"https://osv.dev/vulnerability/MAL-2026-2907","severity":"critical","published_at":"2026-04-16T02:50:55+00:00","modified_at":"2026-11-11T01:30:04+00:00","first_seen_at":"2026-11-11T01:54:54+00:00","fetched_at":"2026-11-11T01:54:54+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}