MAL-2026-5943

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@mastra/datadog/MAL-2026-5943.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5943
Aliases
  • GHSA-h6wr-wm4g-qfpg
Published
2026-06-17T03:12:21Z
Modified
2026-07-08T20:46:52.800544600Z
Summary
Malicious code in @mastra/datadog (npm)
Details

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

Source: amazon-inspector (6becf49ea70ecc24e313fe6cd9f7a232df9465f3417b14de0f0002fcc170ab42)

The package was found to contain malicious code or consuming dependency that contains malicious code

Source: ghsa-malware (419bbaa0a59a504f999013baee0011006c5cc6326045c0424705d91d3ac10c75)

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": [
        {
            "sha256": "419bbaa0a59a504f999013baee0011006c5cc6326045c0424705d91d3ac10c75",
            "id": "GHSA-h6wr-wm4g-qfpg",
            "import_time": "2026-06-17T03:25:10.429625713Z",
            "modified_time": "2026-06-17T03:12:21Z",
            "versions": [
                "1.2.5"
            ],
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "1.2.5"
            ],
            "id": "GHSA-h6wr-wm4g-qfpg",
            "modified_time": "2026-06-17T18:23:12Z",
            "import_time": "2026-06-17T19:08:20.620543464Z",
            "sha256": "433d8df7291d77425f9672182b7521e4ad0069bd31934102cfec67cdad09e5ab",
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "1.2.5"
            ],
            "id": "IN-MAL-2026-008353",
            "modified_time": "2026-07-08T19:57:54Z",
            "import_time": "2026-07-08T20:32:17.616073564Z",
            "sha256": "6becf49ea70ecc24e313fe6cd9f7a232df9465f3417b14de0f0002fcc170ab42",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @mastra/datadog

Package

Name
@mastra/datadog
View open source insights on deps.dev
Purl
pkg:npm/%40mastra/datadog

Affected ranges

Affected versions

1.*
1.2.5

Database specific

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