目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

create-mastra

MAL-2026-6050
2026-07-09 22:58:18
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in create-mastra (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3,528
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmcreate-mastra1.13.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:58:18Z","published":"2026-06-17T04:55:41Z","schema_version":"1.7.4","id":"MAL-2026-6050","aliases":["GHSA-jgwq-x2m5-mxhm"],"summary":"Malicious code in create-mastra (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4da726670223ca28536bc00f5e68f94f22591bdecdb38dd94e5e873fce0afcf2)\ncreate-mastra is the Mastra framework's project scaffolder, distributed as a bundled CLI. The flagged signals are generic occurrences of the literal string 'POST' across the minified dist/index.js (lines 245-247, 679, 16066) without corroborating evidence of a hardcoded attacker C2 endpoint, install-time exfiltration, or credential harvest. No install/postinstall lifecycle hooks were identified that would auto-execute network behavior on `npm install`. Keyword co-occurrence in a minified rollup bundle is the weakest evidence shape and is consistent with normal HTTP client code in a CLI scaffolder. Routing for human review to confirm the destinations of those POST calls are documented Mastra endpoints rather than attacker infrastructure.\n\n## Source: ghsa-malware (12df16ee90f6c59f31e4b0b71f2dbf3a0b046e17ecae5e13399b69fec9f3c563)\nAny 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.\n","affected":[{"package":{"ecosystem":"npm","name":"create-mastra"},"versions":["1.13.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/index.js","sha256":"b0fc6d442cc02b12f114901d8ea6f6184372c5ac220105e2e51ae06180a2a63c","tlsh":"deb4e845ebfa222157e331f16d4e550ba77881133918dce5f99cc2903f864a8c2f6fa9"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jgwq-x2m5-mxhm"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-mastra/v/1.13.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"12df16ee90f6c59f31e4b0b71f2dbf3a0b046e17ecae5e13399b69fec9f3c563","import_time":"2026-06-17T05:56:08.450063969Z","id":"GHSA-jgwq-x2m5-mxhm","modified_time":"2026-06-17T04:55:42Z","versions":["1.13.1"]},{"source":"ghsa-malware","sha256":"a63f91d1b45294b3012f4a9d5cb4d90c6d52e8ef9ae3d0fea42fefa2b5d178dd","import_time":"2026-06-17T19:08:20.623139814Z","id":"GHSA-jgwq-x2m5-mxhm","modified_time":"2026-06-17T18:29:21Z","versions":["1.13.1"]},{"source":"amazon-inspector","sha256":"4da726670223ca28536bc00f5e68f94f22591bdecdb38dd94e5e873fce0afcf2","import_time":"2026-07-09T22:56:31.918836888Z","id":"IN-MAL-2026-009533","modified_time":"2026-07-09T22:09:29Z","versions":["1.13.1"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0