{"id":"GHSA-3fjh-jjvh-r58h","kind":"package","aliases":["GHSA-3fjh-jjvh-r58h","MAL-2026-2074"],"related":[],"title":"Malicious code in @emilgroup/discount-sdk (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bafd85b2ac4c044306cc3d96a937e4cd12382ec36f6b7f34ca8d74b9808a1f1a)\nAnalysis of @emilgroup/discount-sdk@1.14.1-beta.8 surfaced no indicators of installer-side harm. No install-time or import-time network fetches, no credential or environment scraping, no shell execution against attacker-controlled sources, no silent relay of caller data to undocumented destinations, and no persistence or backdoor mechanisms were observed. The package presents as a scoped vendor SDK beta release with no evidence of malicious behavior.\n\n## Source: ghsa-malware (0f8948965c4cde6d9d5e084c5e2dcd4ae2717741726a8651a2512f8714358637)\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\n## Source: google-open-source-security (51a5cf8d29ae7c82e80033135596feb66bf27f533a9a9356c837f91b1440e8bb)\nThis package was compromised by the CanisterWorm campaign by the TeamPCP\nthreat actor. The malicious payload establishes persistence as user systemd\nservice and places a backdoor on the infected host. The malware will also\nharvest npm credentials and can autonomously spread.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"@emilgroup/discount-sdk","fixed":[],"affected":">= 1.5.2, <= 1.5.3; all versions","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-03-22T18:28:07+00:00","first_seen_at":"2026-10-29T14:54:44+00:00","triaged_at":"2026-10-29T14:55:09+00:00","updated_at":"2026-10-29T14:55:09+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-2026':12A '-2074':13A '0f8948965c4cde6d9d5e084c5e2dcd4ae2717741726a8651a2512f8714358637':109C '1.14.1':39C '3fjh':8A,16A '51a5cf8d29ae7c82e80033135596feb66bf27f533a9a9356c837f91b1440e8bb':183C 'actor':196C 'also':217C 'amazon':33C 'amazon-inspector':32C 'analysi':36C 'attack':69C 'attacker-control':68C 'autonom':223C 'backdoor':85C,209C 'bafd85b2ac4c044306cc3d96a937e4cd12382ec36f6b7f34ca8d74b9808a1f1a':35C 'behavior':104C 'beta':97C 'beta.8':40C 'caller':76C 'campaign':191C 'canisterworm':190C 'code':2A 'compromis':123C,187C 'comput':111C,131C,139C,151C 'consid':121C 'control':70C,148C 'credenti':60C,220C 'data':77C 'destin':80C 'detail':24C 'differ':138C 'edit':27C 'emilgroup/discount-sdk':4A,19A,38C 'entiti':159C 'environ':62C 'establish':200C 'evid':101C 'execut':66C 'fetch':58C 'full':147C 'fulli':122C 'ghsa':7A,15A,107C 'ghsa-3fjh-jjvh-r58h':6A,14A 'ghsa-malwar':106C 'given':155C 'googl':179C 'google-open-source-secur':178C 'guarante':163C 'harm':48C 'harvest':218C 'host':213C 'immedi':135C 'import':55C 'import-tim':54C 'indic':43C 'infect':212C 'inspector':34C 'instal':46C,51C,116C,175C 'install-tim':50C 'installer-sid':45C 'jjvh':9A,17A 'key':127C 'line':30C 'mal':11A 'malici':1A,20B,103C,171C,198C 'malwar':108C,215C 'may':152C 'mechan':86C 'network':57C 'npm':5A,219C 'observ':88C 'open':180C 'outsid':158C 'packag':21B,90C,115C,141C,167C,185C 'payload':199C 'per':22C 'persist':83C,201C 'place':207C 'present':91C 'r58h':10A,18A 'relay':74C 'releas':98C 'remov':144C,165C,169C 'result':173C 'rotat':134C 'run':118C 'scope':94C 'scrape':63C 'sdk':96C 'secret':125C 'secur':182C 'servic':205C 'shell':65C 'side':47C 'silent':73C 'softwar':172C 'sourc':23C,31C,71C,105C,177C,181C 'spread':224C 'store':128C 'surfac':41C 'systemd':204C 'teampcp':194C 'threat':195C 'time':52C,56C 'undocu':79C 'user':203C 'vendor':95C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"first_public_at":"2026-03-22T18:28:07+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-2074","url":"https://osv.dev/vulnerability/MAL-2026-2074","severity":"critical","published_at":"2026-03-22T18:28:07+00:00","modified_at":"2026-10-29T14:30:32+00:00","first_seen_at":"2026-10-29T14:54:44+00:00","fetched_at":"2026-10-29T14:54:44+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}