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

目标: 1000 元 · 已筹: 1359 元

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

@s4yhiitestpoc/r2-https-b

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

Summary

Malicious code in @s4yhiitestpoc/r2-https-b (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
189
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@s4yhiitestpoc/r2-https-b*
npm@s4yhiitestpoc/r2-https-b1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17808","published":"2026-10-12T05:27:26Z","modified":"2026-10-26T01:01:25.076151483Z","aliases":["GHSA-h99w-8693-g33v"],"summary":"Malicious code in @s4yhiitestpoc/r2-https-b (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e89449bafb4f816bd8605f45cedf0fec8ec0cff9088007a7a38aaea0a9db91ec)\nOn npm install, postinstall.js automatically collects installer-side identifying data — hostname, username, home directory, non-internal network interface addresses, DNS servers, current working directory, install directory, and the value of npm_config_registry (which discloses the installer's internal/private npm registry URL) — and POSTs it as JSON over HTTPS to the hardcoded author endpoint collector.oob.s4yhii.com at path /_npm-poc/beacon. In parallel, the script performs a DNS lookup against a unique per-run subdomain under oob.s4yhii.com (dns.lookup of <label>.db03o8lag74hsugsg2j091t8mfcf437h3.oob.s4yhii.com), providing an out-of-band DNS confirmation channel that works even when outbound HTTPS is blocked. The dual-channel beacon, the capture of internal registry configuration, and the fully automated install-time trigger match the fingerprint of a dependency-confusion probe. The package's self-description as a proof-of-concept does not change the behavior: installer-side host and internal-infrastructure data leaves the host to an attacker-controlled destination without opt-in.\n\n## Source: ghsa-malware (22badb2560ce7881cad79c0be7435548630e83a8b00925b9212637fa4b704828)\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":"@s4yhiitestpoc/r2-https-b","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"4e1c182ebf45e34a28a3e7b757eb8442d3b307372dbbc0d2b50898c03fb738d6","tlsh":"1871a56619b4063227e52ee169862094972ac767791cbae0721e13485fce1be40f13ff"}],"package_integrity":[{"filename":"r2-https-b-1.0.0.tgz","hashes":{"sha1":"8a275bc95b24a3acaa524dcad29bc9007355fc19","sha512_sri":"sha512-4awAT4uqWnfreXIQ2dwlO2rNOz66od0hf1qIosFZYyqaM1NoUZXnIhHnKZQedq5+aXdUJCwjiqiTqrnsbSO6qw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@s4yhiitestpoc/r2-https-b/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h99w-8693-g33v"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021460","import_time":"2026-10-12T05:29:25.256040939Z","modified_time":"2026-10-12T05:27:26Z","sha256":"e89449bafb4f816bd8605f45cedf0fec8ec0cff9088007a7a38aaea0a9db91ec","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-h99w-8693-g33v","import_time":"2026-10-26T00:59:31.626775571Z","modified_time":"2026-10-26T00:13:39Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"22badb2560ce7881cad79c0be7435548630e83a8b00925b9212637fa4b704828","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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