TC-2026-0022 · NPM · PACKAGE
@mastra/[email protected]
Companion malicious build in the @mastra supply-chain incident harvesting cloud deployment tokens during build step.
Signed ledger verdict
TC-2026-0022
Known bad (exit 2)
npm:@mastra/[email protected]
IOC & scope: npm:@mastra/[email protected]. Verified by human review and signed into the CC-BY 4.0 OSV v1.6.0 feed.
Run live in Counter Workbench
Signed in /feed.json (.sig).
Deterministic capability profile and taxonomy mapping.
Every artifact in the threat.cafe ledger is profiled across eight execution vectors and mapped to the OWASP Top 10 for Agentic Applications (ASI01-ASI10) and Agentic Skills & Tools (AST01-AST10).
8-Vector Capability X-Ray (ABOM)
-
1. Filesystem
Sensitive paths touched:
None observed -
2. Environment
Variables harvested:
VERCEL_TOKEN, CLOUDFLARE_API_TOKEN, AWS_SECRET_ACCESS_KEY -
3. Network
Outbound egress domains:
mastra-telemetry-edge.invalid:443 -
4. Subprocess
Process execution primitives:
None observed -
5. Lifecycle
Install / startup hooks:
postinstall -
6. OAuth / MCP
Declared scopes:
None observed -
7. Obfuscation
Encoding / steganography:
None observed -
8. Provenance
Attestation status:
compromised_publish_token
Governance & detector mapping
- OWASP Agentic ASI (2026): ASI03 (Identity & Privilege Abuse), ASI04 (Agentic Supply Chain Vulnerabilities)
- OWASP Agentic AST (2026): AST01 (Malicious MCP Servers), AST03 (Insecure Credential Handling)
- Deterministic rules matched:
RULE_04_INSTALL_LIFECYCLE_HOOK, RULE_05_PROMPT_EXFIL_SHELL
Version scoping & related records
- No other versions of this package are currently listed on the board. Unlisted versions evaluate to
unknownunder localpolicy.yml.
Local CLI verification
$ threat-cafe-hook check "npm:@mastra/[email protected]" [threat.cafe] known_bad: npm:@mastra/[email protected] (TC-2026-0022) Reason: Companion malicious build in the @mastra supply-chain incident harvesting cloud deployment Source: https://socket.dev/blog (credited to Socket Security)
OSV v1.6.0 machine-readable record
Included in /feed.json under CC-BY 4.0 license and verified by /feed.json.sig.
{
"schema_version": "1.6.0",
"id": "TC-2026-0022",
"modified": "2026-02-09T11:45:00Z",
"published": "2026-02-09T11:45:00Z",
"summary": "Companion malicious build in the @mastra supply-chain incident harvesting cloud deployment tokens during build step.",
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "@mastra/deployer"
},
"versions": [
"0.1.15"
]
}
],
"credits": [
{
"name": "Socket Security",
"type": "FINDER"
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://socket.dev/blog"
},
{
"type": "WEB",
"url": "https://threat.cafe/incidents/tc-2026-0022/"
}
],
"database_specific": {
"target": "npm:@mastra/[email protected]",
"kind": "package",
"verdict": "known_bad",
"ioc": "npm:@mastra/[email protected]",
"artifact_sha256": "2efb79a24a63af0160a4186aeee77da7f32ffa1c3a8bd386ebaa000d3bae1e70",
"owasp_asi": [
"ASI03",
"ASI04"
],
"owasp_ast": [
"AST01",
"AST03"
],
"rules_matched": [
"RULE_04_INSTALL_LIFECYCLE_HOOK",
"RULE_05_PROMPT_EXFIL_SHELL"
],
"abom": {
"fs_sensitive": [],
"env_harvest": [
"VERCEL_TOKEN",
"CLOUDFLARE_API_TOKEN",
"AWS_SECRET_ACCESS_KEY"
],
"net_egress": [
"mastra-telemetry-edge.invalid:443"
],
"proc_exec": [],
"install_hooks": [
"postinstall"
],
"oauth_scopes": [],
"obfuscation": [],
"provenance": "compromised_publish_token"
},
"license": "CC-BY-4.0",
"record_digest": "sha256:af542e1cb9051e03f3deab49b6307d3c639fb5fb2cf48498b120c626eb437ea4",
"release_signature_url": "https://threat.cafe/feed.json.sig"
}
}
Have additional IOCs or a maintainer remediation update for TC-2026-0022?
Maintainer disputes and version-scoping updates are reviewed by a human within our 48-hour dispute SLA.