---
id: "GHSA-3fjh-jjvh-r58h"
kind: "package"
aliases: ["GHSA-3fjh-jjvh-r58h", "MAL-2026-2074"]
title: "Malicious code in @emilgroup/discount-sdk (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
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: []
published_at: "2026-03-22T18:28:07+00:00"
first_seen_at: "2026-10-29T14:54:44+00:00"
updated_at: "2026-10-29T14:55:09+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-2074", "first_seen_at": "2026-10-29T14:54:44+00:00"}]
---

# Malicious code in @emilgroup/discount-sdk (npm)

## Affected

- npm:@emilgroup/discount-sdk affected >= 1.5.2, <= 1.5.3; all versions fixed ?

## Timeline

- 2026-10-29T14:54:44+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-2074

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (bafd85b2ac4c044306cc3d96a937e4cd12382ec36f6b7f34ca8d74b9808a1f1a)
Analysis 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.

## Source: ghsa-malware (0f8948965c4cde6d9d5e084c5e2dcd4ae2717741726a8651a2512f8714358637)
Any 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.

## Source: google-open-source-security (51a5cf8d29ae7c82e80033135596feb66bf27f533a9a9356c837f91b1440e8bb)
This package was compromised by the CanisterWorm campaign by the TeamPCP
threat actor. The malicious payload establishes persistence as user systemd
service and places a backdoor on the infected host. The malware will also
harvest npm credentials and can autonomously spread.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
