MAL-2026-2449

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mgc/MAL-2026-2449.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-2449
Aliases
  • GHSA-8g9r-2x3j-gf2w
Published
2026-04-03T11:03:27Z
Modified
2026-04-07T14:54:26.413329Z
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-8g9r-2x3j-gf2w",
            "sha256": "e92e89dbebefedacc34498a9789aff091470e68c7aa1b76ebcd45d747a05b573",
            "import_time": "2026-04-07T12:37:49.850997897Z",
            "source": "ghsa-malware",
            "modified_time": "2026-04-07T11:44:37Z",
            "versions": [
                "1.2.4",
                "1.2.3",
                "1.2.2",
                "1.2.1",
                "1.2.0",
                "1.0.1",
                "1.0.0"
            ]
        },
        {
            "import_time": "2026-04-07T14:39:07.462024553Z",
            "sha256": "7aba94848d03c2836e34d8c970afc2344e5d93bd8a1957274a4b24d87f050437",
            "source": "amazon-inspector",
            "modified_time": "2026-04-07T14:24:50Z",
            "versions": [
                "1.2.1",
                "1.2.2",
                "1.2.3",
                "1.2.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / mgc

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.2.1
Last affected
1.2.4

Affected versions

1.*
1.0.0
1.0.1
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mgc/MAL-2026-2449.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]