Skip to main content
MalwarePublished Updated

@mastra/agent-builder (npm) · Malicious Code

Affects @mastra/agent-builderSource GCVE Database

0

Malicious package : remove @mastra/agent-builder and rotate any secrets on hosts that installed it.

Data as of 11 Jul 2026, 09:43 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5997

What to do

Remove @mastra/agent-builder from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@mastra/agent-builderAffected
  • =1.0.42
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (461931843783efc9abfdb7558cef5fa0e33ee3a66cd3f426490fe26fa12ab04a) The package was found to contain malicious code or consuming dependency that contains malicious code ## Source: ghsa-malware (ae994313e5437ca5d75c06e9b875363f20ef1a07c282e7d24dddf1d85dec90d9) 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

Community reviews

Loading reviews…