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

目标: 1000 元 · 已筹: 1359 元

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

create-backend-scaffold

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

Summary

Malicious code in create-backend-scaffold (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1,355
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmcreate-backend-scaffold1.0.0
npmcreate-backend-scaffold1.0.1
npmcreate-backend-scaffold1.0.2
npmcreate-backend-scaffold1.0.3
npmcreate-backend-scaffold1.0.4
npmcreate-backend-scaffold1.0.5
npmcreate-backend-scaffold1.1.0
npmcreate-backend-scaffold1.1.1
npmcreate-backend-scaffold1.1.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11270","published":"2026-07-30T16:45:32Z","modified":"2026-08-05T07:08:51.861703288Z","aliases":["GHSA-p8mm-7vhx-3cr2"],"summary":"Malicious code in create-backend-scaffold (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0201b01c3bd9dbea597956acb10299aa22cd7976dcb7863348892f46512b47f1)\nplayground/src/routes/auth.routes.js contains an obfuscated trailer appended after the normal router export. The trailer aliases require/module to globals, then uses a custom seeded-PRNG string-shuffle routine (JFG) to deterministically reconstruct the identifier 'constructor' from a scrambled alphabet, obtains the Function constructor by that indirection, decodes a hidden string payload, and invokes it as JavaScript at module load. The file is imported by src/app.js, which is loaded by the package's shipped server.js, so running the shipped server (e.g. `node server.js` or `npm run dev`) executes the hidden payload. The obfuscation technique (arithmetic-PRNG string permutation to hide 'constructor' and the Function body) is designed to evade static keyword matching. The tarball additionally ships a.env file containing a live MongoDB Atlas connection URI for the author's own cluster (author-owned credential leak, separate from the payload behavior).\n\n## Source: ghsa-malware (f749e8b76ccc1619cfe98769cfcc133208c515f14ed198115a55587b28a49951)\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":{"name":"create-backend-scaffold","ecosystem":"npm"},"versions":["1.1.2","1.1.1","1.1.0","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"],"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"},{"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"playground/src/routes/auth.routes.js","sha256":"f8e64160a95e81b2da5ccab25cf2265ff5780247cfaf7c85cbccce2f4a50ae4b","tlsh":"7ec15d8ca11e5a1ceeef3c66f64ee55206e244c1499bcd2cf7dda39827c3724e050c54"},{"path":".env","sha256":"a7731bd24144e14678ab1f0881c04bdab56b75280a62b714235a18368ff0be0d","tlsh":"a6c02b726030ce60492a76d3fc7227d4c0c066ce06648cc2232db18dc89b3eaf53545d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p8mm-7vhx-3cr2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/create-backend-scaffold/v/1.0.3"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-p8mm-7vhx-3cr2","import_time":"2026-07-31T01:10:09.681482495Z","modified_time":"2026-07-30T16:45:33Z","sha256":"f749e8b76ccc1619cfe98769cfcc133208c515f14ed198115a55587b28a49951","source":"ghsa-malware","versions":["1.1.2","1.1.1","1.1.0","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"]},{"id":"IN-MAL-2026-011228","import_time":"2026-08-04T22:30:06.119914157Z","modified_time":"2026-08-04T21:50:54Z","sha256":"0201b01c3bd9dbea597956acb10299aa22cd7976dcb7863348892f46512b47f1","source":"amazon-inspector","versions":["1.1.0"]},{"id":"IN-MAL-2026-011222","import_time":"2026-08-04T22:30:05.853272621Z","modified_time":"2026-08-04T21:49:59Z","sha256":"4d324a5eb7003c62fdf99ad4f150d9ba969eb9c7a3d7cf7b38d2975805f7c30a","source":"amazon-inspector","versions":["1.1.2"]},{"id":"IN-MAL-2026-013195","import_time":"2026-08-05T06:00:52.779861853Z","modified_time":"2026-08-05T05:47:29Z","sha256":"255f889733670ee1a56c6fc7904bf5be432a8d97248679977c9cd1ab6ff9c0f1","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-013144","import_time":"2026-08-05T06:00:46.955620596Z","modified_time":"2026-08-05T05:40:08Z","sha256":"e78db15e0cc4a113282efcca73548f50bb61432d673086b03b93da4246dbebf3","source":"amazon-inspector","versions":["1.1.1"]},{"id":"IN-MAL-2026-013362","import_time":"2026-08-05T07:06:43.28801486Z","modified_time":"2026-08-05T06:12:23Z","sha256":"64f68ffbe38ed06f4c7f3c8f1e59e849bead33d44f451b95d61ddb5595153d26","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-013344","import_time":"2026-08-05T07:06:42.404926427Z","modified_time":"2026-08-05T06:09:53Z","sha256":"83f2cb345437a6122d517fc3bd868bb6d1352ac1e3ff3a272dfb888e5f7db679","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-013376","import_time":"2026-08-05T07:06:44.234627271Z","modified_time":"2026-08-05T06:14:20Z","sha256":"988cc3d266a567e721e8a4b6aa34a4c1e814df0f371566b82bcadefea761f7fa","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-013378","import_time":"2026-08-05T07:06:44.332867705Z","modified_time":"2026-08-05T06:14:41Z","sha256":"a97e3c2ba5a1faeea48f5f3dbfa05ed1fcce112cda9dfe64c681bac9248d6b09","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-013346","import_time":"2026-08-05T07:06:42.542580574Z","modified_time":"2026-08-05T06:10:08Z","sha256":"b875d230fd5f70b689baaf66a501d2d294b3e02ff3524c02a8ec24b4eb2a2dbb","source":"amazon-inspector","versions":["1.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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