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

目标: 1000 元 · 已筹: 1359 元

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

vite-plugin-config-paths

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

Summary

Malicious code in vite-plugin-config-paths (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmvite-plugin-config-paths1.4.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T06:04:15Z","published":"2026-07-14T06:04:15Z","schema_version":"1.7.4","id":"MAL-2026-10574","summary":"Malicious code in vite-plugin-config-paths (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (96c7307466b955fa9b453e949ec2fda3153e5c444b906eed5e3bc88d190a33a7)\nPackage name impersonates the widely-used vite-plugin-tsconfig-paths (the package.json homepage points to the legitimate plugin's README), and the README markets the same API. The CJS entry (index.js) contains top-level code that is absent from the ESM entry (index.mjs): `const { getFunc } = require(\"url-func-registry\"); const jsonInst = getFunc(\"JsonS\"); const json_provider = jsonInst();`. On `require()` of this package (the resolution path Node uses for CommonJS consumers), a function looked up by string name from a transitive `url-func-registry` dependency is invoked at load time. This registry-lookup indirection hides the executed code behind a named-function table populated by a separate package, so the actual behavior can be altered by changing that transitive without republishing this one. The ESM build performs no such call, indicating the CJS output was modified after normal build. The combination of name impersonation of a popular target plus divergent, indirection-based load-time execution not part of the advertised tsconfig-path resolution logic is the shape of a typosquat dropper.\n","affected":[{"package":{"ecosystem":"npm","name":"vite-plugin-config-paths"},"versions":["1.4.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"d04efcdb15066643c5b7238c232322329bf94cbf0241a0d680c0779611afaed8","tlsh":"c7212925c8a94d930ae42a64ec595943b23255d34e18bd083bd6512c4fbd2ef42bf27e"},{"path":"index.js","sha256":"656bf32782665249a3dbb88afaba11d2eea2c75e77db7a4c99198f13e5dcf8fb","tlsh":"9891740314fb101749a3958aaa378d216776a2e30e14bd84bbfce3f00f5e19d19f2b56"}],"package_integrity":[{"filename":"vite-plugin-config-paths-1.4.2.tgz","hashes":{"sha1":"011a5d980ca33829db39d770e97dae5ba64a78db","sha512_sri":"sha512-bp0rwIPjy4zNYmDZhgc2TS1I9QNh4IX/XfBkUtsNMLvg63fh/lWKXY4b52UEBNpk5XhIA0SBzaT2wDn/nAYA0g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-config-paths/v/1.4.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010484","import_time":"2026-07-14T06:49:57.08326298Z","modified_time":"2026-07-14T06:04:15Z","sha256":"96c7307466b955fa9b453e949ec2fda3153e5c444b906eed5e3bc88d190a33a7","source":"amazon-inspector","versions":["1.4.2"]}]}}

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