Advisory

MAL-2026-2449

Also known as: GHSA-8g9r-2x3j-gf2w

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

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.

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

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.

Severity

Not rated by the source.

Dates

Published
2026-04-03 11:03 UTC
Modified
2026-04-07 14:54 UTC

Affected packages and fixes

mgc

npm · All systems

Affected

  • introduced 1.2.1, last affected 1.2.4 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences