MAL-2026-2449
Dashboard / Malicious Package / MAL-2026-2449
MAL-2026-2449
Summary: Malicious code in mgc (npm)
Details: Package fetches platform-specific stage-2 payloads from a GitHub Gist. The stage-2 payloads are full Remote Access Trojans (RATs) for Linux (Python) and Windows (PowerShell) that beacon to a C2 server, exfiltrate system information, enumerate directories, execute arbitrary commands, and support binary injection. Source: amazon-inspector (7aba94848d03c2836e34d8c970afc2344e5d93bd8a1957274a4b24d87f050437) The package mgc was found to contain malicious code. Source: ghsa-malware (e92e89dbebefedacc34498a9789aff091470e68c7aa1b76ebcd45d747a05b573) 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.
References: https://safedep.io/malicious-npm-mgc-compromised-rat/, https://github.com/advisories/GHSA-8g9r-2x3j-gf2w
Affected packages
Package
Name: mgc
Purl: pkg:npm/mgc
Affected ranges
Type: SEMVER
Events:
