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

目标: 1000 元 · 已筹: 1359 元

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

afterpay-sdk-example-server

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

Summary

Malicious code in afterpay-sdk-example-server (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
64
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmafterpay-sdk-example-server*
npmafterpay-sdk-example-server1.2.1
npmafterpay-sdk-example-server1.2.3
npmafterpay-sdk-example-server20.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2023-1111","published":"2023-05-03T01:37:43Z","modified":"2026-09-24T08:52:55.519497238Z","aliases":["GHSA-xqcr-rgfp-6wv7","GHSA-rw44-fjj4-3p2c"],"summary":"Malicious code in afterpay-sdk-example-server (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a81a53b70f9ae2610148f223507c5427bea5a52160b7f8ba214a0c3ac0fe96f7)\npackage.json declares a preinstall hook (\"preinstall\": \"node index.js\") that runs automatically on npm install. index.js requires os/fs/https, then collects host identifiers and installer-side files — __dirname, os.homedir(), os.hostname(), os.userInfo(), DNS servers, the full contents of /etc/passwd and /etc/hosts, and the package.json — and POSTs them over HTTPS to xqrangwae3pk5bd12xbr6t8q9hfc32rr.oastify.com (a Burp Collaborator OAST subdomain). The package name 'afterpay-sdk-example-server' impersonates an internal Afterpay SDK example, consistent with a dependency-confusion payload targeting Afterpay's internal build systems. Whether published as research or attack, any installer running npm install leaks system account data and host fingerprints to an attacker-controlled out-of-band collection endpoint.\n\n## Source: ghsa-malware (d269548179eff986cc2761daabfc6034e9445e8b69557e2c7a6b7da49b7a1cbe)\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\n## Source: ossf-package-analysis (555a159aa3b74ea73f8574c05e14aa536948cbe56b0420bcdcc0daa2a911ae2c)\nThe OpenSSF Package Analysis project identified 'afterpay-sdk-example-server' @ 20.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"name":"afterpay-sdk-example-server","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.0.0","1.2.1","1.2.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":"index.js","sha256":"dda06ca44061b7a005ca1500165416d1144f6edcfc156a1063ccd5b1f5632ac1","tlsh":"3a41259592c917330dd110c0660c70812359fa777259d8d076cf42d6af869f8b7316f3"},{"path":"package.json","sha256":"c22ab3825f9ec804d68cb62b820cf64dbec063fd77636063e684076559ad2f0f","tlsh":"10d05e208e62953325c102aa0c2ba44673a18e2f14153c08a7cb192d818f67798ff35e"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/afterpay-sdk-example-server/v/1.2.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xqcr-rgfp-6wv7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/afterpay-sdk-example-server/v/1.2.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rw44-fjj4-3p2c"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2023-08-10T06:15:34.688464725Z","modified_time":"2023-05-03T01:37:43.254364445Z","sha256":"555a159aa3b74ea73f8574c05e14aa536948cbe56b0420bcdcc0daa2a911ae2c","source":"ossf-package-analysis","versions":["20.0.0"]},{"id":"RLMA-2024-00311","import_time":"2024-06-28T02:41:50.31797239Z","modified_time":"2024-06-25T12:25:05Z","sha256":"328b2a8f94905ee0b2cc82dfaf2bc08b91fc054f442ec204ff09f65a419a7167","source":"reversing-labs","versions":["20.0.0"]},{"id":"IN-MAL-2026-007396","import_time":"2026-06-24T03:14:01.252380856Z","modified_time":"2026-06-24T02:39:16Z","sha256":"a81a53b70f9ae2610148f223507c5427bea5a52160b7f8ba214a0c3ac0fe96f7","source":"amazon-inspector","versions":["1.2.1"]},{"id":"GHSA-xqcr-rgfp-6wv7","import_time":"2026-09-08T00:15:11.435297336Z","modified_time":"2026-09-07T16:17:40Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d269548179eff986cc2761daabfc6034e9445e8b69557e2c7a6b7da49b7a1cbe","source":"ghsa-malware"},{"id":"IN-MAL-2026-019763","import_time":"2026-09-09T02:44:23.678962839Z","modified_time":"2026-09-09T02:42:18Z","sha256":"907dceda6fc23b62e3c9907985cd230239782f86480523d98530b981d5c7f5f8","source":"amazon-inspector","versions":["1.2.3"]},{"id":"RLUA-2026-10678","import_time":"2026-09-24T08:50:52.770151332Z","modified_time":"2026-09-22T17:15:34Z","sha256":"424a383448cb866b1292678558f44db5394c454b116e9f80db5df9932dd4f1d9","source":"reversing-labs","versions":["1.2.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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