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

目标: 1000 元 · 已筹: 1359 元

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

@mastra/express

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

Summary

Malicious code in @mastra/express (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
106,017
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@mastra/express1.3.31
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:58:17Z","published":"2026-06-17T04:56:20Z","schema_version":"1.7.4","id":"MAL-2026-6022","aliases":["GHSA-r6w3-xpw9-p9g6"],"summary":"Malicious code in @mastra/express (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9cd00df32d6d56cd3d4996965ed13e18c1da3a9b0007392b4fc14da1a8fcbb46)\nThe package's bundled distribution files (dist/index.cjs and dist/index.js) contain a `Buffer.from(..., 'base64').toString('utf-8')` decode pattern. This pattern by itself is benign and extremely common in JavaScript bundles — used for inline data URIs, JWT segment parsing, encoded SVG/PNG assets, configuration constants, and similar legitimate purposes. No corroborating evidence of credential theft, exfiltration, dropper behavior, lifecycle-script abuse, or hardcoded attacker infrastructure was observed. The match is on a single keyword pattern in a bundled main module with no traced harmful execution path.\n\n## Source: ghsa-malware (c7375ba72b0d9da5bf4d20ab526cb654b97310e39965bea22eb5d3d0557961d4)\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":"@mastra/express"},"versions":["1.3.31"],"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"}],"indicators":{"evidence_files":[{"path":"dist/index.cjs","sha256":"f33a62e8a1dcbdb156c51ba33b8cfd42ed9045fd70be1d660a46f9405f94b19e","tlsh":"ccb2505a1af310124ab3a2ac9f0755193736e403705ddd79ff9c92a52fc852889f2be8"},{"path":"dist/index.js","sha256":"816088fcbe5fb51d9a84ef83d6a52369572911ec05186d5bfc32355dfe32463c","tlsh":"18b2515a1ef310124ab3a2ac9e0755193736e403705ddd79ff9c92a52fc8528c9f2be8"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r6w3-xpw9-p9g6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@mastra/express/v/1.3.31"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"c7375ba72b0d9da5bf4d20ab526cb654b97310e39965bea22eb5d3d0557961d4","import_time":"2026-06-17T05:56:08.463630854Z","id":"GHSA-r6w3-xpw9-p9g6","modified_time":"2026-06-17T04:56:26Z","versions":["1.3.31"]},{"source":"amazon-inspector","sha256":"9cd00df32d6d56cd3d4996965ed13e18c1da3a9b0007392b4fc14da1a8fcbb46","import_time":"2026-07-09T22:56:33.794739408Z","id":"IN-MAL-2026-009553","modified_time":"2026-07-09T22:12:38Z","versions":["1.3.31"]}]}}

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