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

目标: 1000 元 · 已筹: 1359 元

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

decimal-format-utils

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

Summary

Malicious code in decimal-format-utils (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
211
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmdecimal-format-utils*
npmdecimal-format-utils1.0.0
npmdecimal-format-utils1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6368","published":"2026-06-24T03:59:39Z","modified":"2026-08-05T06:02:53.120495814Z","aliases":["GHSA-63g4-gv37-rfv8"],"summary":"Malicious code in decimal-format-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (864677541e3090100ca588a37d8eb525f74817ade2fce5cb3e265af45b0c4e9a)\nThe postinstall script scripts/sync-peer.cjs runs `npm pack decimal-format-utils@1.0.1` (or whatever version is configured via BACKUP_TARGET_VERSION/BACKUP_PAYLOAD_SPEC), extracts the resulting tarball, overwrites every file of the installed v1.0.0 package in place via fs.cpSync over the package root, and then require()s the replaced index.js and awaits from_str(). The effect is that `npm install decimal-format-utils@1.0.0` executes code from a different, publisher-mutable version at install time, bypassing lockfile pinning and giving the publisher a live remote code execution channel into every install. The package additionally impersonates the big.js maintainer: package.json sets `author: Michael Mclaughlin` and `repository.url: https://github.com/MikeMcl/big.js.git`, and the README falsely claims the package is pulled in automatically as a dependency of big.js@6.2.x. big.js declares no such dependency. The impersonation appears designed to lure installers into trusting an unrelated publisher whose postinstall then executes arbitrary fetched code.\n\n## Source: ghsa-malware (5b0e0fa3ae1da515b713d679871b0a42df2d373576a6f5c1452e379aabcee059)\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":"decimal-format-utils","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.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":"scripts/sync-peer.cjs","sha256":"213b589b069ddac2d3321b821e6337146a01d8743c67e4718bdf930b95e8c6e7","tlsh":"3f51f18916d317708bb297e55b2a102eb9ba84233241a7b1b6cca0c12fb55314316efd"},{"path":"package.json","sha256":"12ea27fe474c67a40b17c5a5dd81136a2ba8651beb05ac9aaad570162f905366","tlsh":"56017b33de509c2759b89a6abdac4216b2520f1f11704c47b0fb511c8bb366714bab3d"}],"package_integrity":[{"filename":"decimal-format-utils-1.0.0.tgz","hashes":{"sha1":"1805b644c59273385ea94c304ced9d5bdf0ce1a2","sha512_sri":"sha512-4Eah0MCKkP8gcCgeK3iGtwrccbvCwuUC9/ur0V2q85rgxhSZ6JdRQvhdgx2D5oyG0lJEKgY1aiwQ+xOhILVzJw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/decimal-format-utils/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-63g4-gv37-rfv8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/decimal-format-utils/v/1.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007417","import_time":"2026-06-24T04:54:33.883195414Z","modified_time":"2026-06-24T03:59:39Z","sha256":"864677541e3090100ca588a37d8eb525f74817ade2fce5cb3e265af45b0c4e9a","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-63g4-gv37-rfv8","import_time":"2026-07-31T01:10:09.575985641Z","modified_time":"2026-07-30T16:07:03Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5b0e0fa3ae1da515b713d679871b0a42df2d373576a6f5c1452e379aabcee059","source":"ghsa-malware"},{"id":"IN-MAL-2026-013253","import_time":"2026-08-05T06:00:58.63743192Z","modified_time":"2026-08-05T05:56:21Z","sha256":"f9d394ea4b2604fbd85b6179bf15a7bbfe8b4c04187ec944f3306f67cef137f4","source":"amazon-inspector","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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