MAL-2026-5965

    Dashboard / Malicious Package / MAL-2026-5965

    MAL-2026-5965

    Published: 17 Jun 2026Last Modified: 8 Jul 2026Aliases: 
    GHSA-mvf4-vg87-q9vm

    Summary: Malicious code in mastra (npm)

    Details: Source: amazon-inspector (74c4549467abc2b76f088b4684a79cb551458718b7c5d9beb8ae1af4349d02a8) The package was found to contain malicious code or consuming dependency that contains malicious code Source: ghsa-malware (177b60c8d45a21867d69c269f21c334505b8c0298b497cbed321d403be4311f7) 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.

    Affected packages

    Package

    Name: mastra

    Purl: pkg:npm/mastra

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.13.1
    MAL-2026-5965 | CVE-DB