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

目标: 1000 元 · 已筹: 1336

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

@rentwise/common

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

Summary

Malicious code in @rentwise/common (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
360
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.36unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@rentwise/common*
npm@rentwise/common1.0.36
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12328","published":"2026-08-05T12:24:34Z","modified":"2026-08-06T09:25:10.353597720Z","aliases":["GHSA-x23q-mgjg-53mq"],"summary":"Malicious code in @rentwise/common (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7e2ac6bf5ebc05e3dcf6a84122d0b10d5d5f36c5b4cec9f8d0b305d1b8125f47)\nbuild/index.js appends an eval(atob(...)) blob to the legitimate common-library exports, so the payload runs whenever any consumer require()s @rentwise/common. The decoded payload queries public Ethereum JSON-RPC nodes and eth.blockscout.com/api to fetch the latest transaction sent by the hardcoded wallet 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, reconstructs an IPv4 address from the transaction's tx.to field (bytes 0-3 as octets), then HTTP GETs http://<ip>:443/0x/cls and http://<ip>:443/0x/ls. The response body is XOR-decoded using the x-payload-b64 header, eval()'d in-process, and additionally spawned as a detached `node -e <payload>` child process with stdio:ignore and windowsHide. All strings (module names http/https/zlib/child_process, URLs, RPC method names) are \\uXXXX-escaped inside the base64 blob to defeat static string matching. The blockchain-anchored C2 (EtherHiding pattern) lets the operator rotate infrastructure by broadcasting a new on-chain transaction. This grants arbitrary remote code execution on any host that installs and loads the package.\n\n## Source: ghsa-malware (0bbef705c23f606ecd8e4257d3de3818a1e460136c9c3aa8a5aafa1b93c0585b)\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":"@rentwise/common","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.36"],"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":"build/index.js","sha256":"d8e3c71b5c7be2b4e4769d5f2c60ec84aba5c2f5cc872f32cde8f6d30108c525","tlsh":"b0623eaa16957aabdb4e3273ff97930d233154b236ac1b00310fda74b389c91656d90f"}],"package_integrity":[{"filename":"common-1.0.36.tgz","hashes":{"sha1":"659dde89aa5250691ea232db1a13009dda515259","sha512_sri":"sha512-jwo8fE4lFaWbZ33uI5zDEo9JSuJ6AxjB6hvHLNwQNBEDoQXjjgJZyOtG6sPdbD8b4FX1hcNMQPV4/HHWhrwRfg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@rentwise/common/v/1.0.36"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x23q-mgjg-53mq"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014643","import_time":"2026-08-05T13:08:33.140934063Z","modified_time":"2026-08-05T12:24:34Z","sha256":"7e2ac6bf5ebc05e3dcf6a84122d0b10d5d5f36c5b4cec9f8d0b305d1b8125f47","source":"amazon-inspector","versions":["1.0.36"]},{"id":"GHSA-x23q-mgjg-53mq","import_time":"2026-08-06T09:23:23.035032342Z","modified_time":"2026-08-06T06:23:00Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"0bbef705c23f606ecd8e4257d3de3818a1e460136c9c3aa8a5aafa1b93c0585b","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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