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

目标: 1000 元 · 已筹: 1359 元

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

paysafe-payments

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

Summary

Malicious code in paysafe-payments (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpaysafe-payments1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-10T18:38:06Z","published":"2026-07-10T18:38:06Z","schema_version":"1.7.4","id":"MAL-2026-10172","summary":"Malicious code in paysafe-payments (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (68b2f9f90c8f2efd9e304e6ab0271ac2378954fe724134b4daa4649622a0f416)\nThe package presents itself as a Paysafe payments SDK (PaysafeClient with payments.create/get and customers.create/get methods) but its index.js contains an XOR+base64-obfuscated exfiltration routine. When a consumer constructs PaysafeClient and calls any of its methods, the code decodes hidden strings at runtime, collects the host's hostname, username, cwd, and filters process.env for keys containing KEY/SECRET/TOKEN/PASS/AUTH/API, then POSTs the collected JSON to a hardcoded remote host on port 8443. A sandbox-evasion gate (low CPU count check plus hostname/username substring match against a decoded list of analysis-environment indicators) suppresses the exfil on likely analysis hosts, confirming hostile intent. The package name and API surface impersonate the legitimate Paysafe payments SDK, making this a typosquat lure whose payload steals installer credentials. All sensitive strings (C2 hostname, HTTP method, headers, env-key substrings, sandbox indicators) are stored as base64 blobs XOR-decoded via a helper function with a base64-encoded key, solely to hide the exfil behavior.\n","affected":[{"package":{"ecosystem":"npm","name":"paysafe-payments"},"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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"9727c804c4354e481d2ff9d4934bd1b2518293a9ca34a14f5c7ae9d0cd30ce94","tlsh":"75611130f2d865377b608fe55cb18451a85a5d013d06f393bb7c78cd5e939a182d687c"},{"path":"package.json","sha256":"5596d41341679f18c432b4f906803f2e8885277c8bd65ff9886294aa327da2c4","tlsh":"93f02b33e9905d2311fa975198748203b7214f1fa9704c0b3aff501c8b6297318ddb1d"}],"package_integrity":[{"filename":"paysafe-payments-1.0.0.tgz","hashes":{"sha1":"6a4477c34f94c04cccf35904f9918e0daa940ad4","sha512_sri":"sha512-03c6fj5onaJcraKySWhduGgVTQWqVwTm8IsrDDBe5CMh5FfYocu+UF6MPv4pXnJbGFtF1P4cpqEkYmbCQBHZ9A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/paysafe-payments/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009704","import_time":"2026-07-10T19:02:48.620097687Z","modified_time":"2026-07-10T18:38:06Z","sha256":"68b2f9f90c8f2efd9e304e6ab0271ac2378954fe724134b4daa4649622a0f416","source":"amazon-inspector","versions":["1.0.0"]}]}}

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