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

目标: 1000 元 · 已筹: 1359 元

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

krdpass-auth-react-native

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

Summary

Malicious code in krdpass-auth-react-native (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmkrdpass-auth-react-native*
npmkrdpass-auth-react-native1.6.0
npmkrdpass-auth-react-native10.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-16042","published":"2026-09-08T03:46:25Z","modified":"2026-09-08T19:16:51.190171559Z","aliases":["GHSA-3j7p-44mj-76hx"],"summary":"Malicious code in krdpass-auth-react-native (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3a74ab9e45d4f67b40e21dc7491aff1979b4bf79be24bc49b8588916c18b847f)\npackage.json declares a preinstall script (preinstall.js) that runs automatically on `npm install`. The script collects os.hostname(), os.userInfo(), homedir, internal IP addresses, CI/repository identifiers (GITHUB_REPOSITORY, CI_PROJECT_PATH, JENKINS_URL, etc.), parent package.json metadata, and enumerates process.env keys matching /(TOKEN|KEY|SECRET|PASS|AUTH|CRED|AWS|AZURE|GCP|NPM|GITHUB|GITLAB|API)/i, then POSTs the payload to a hardcoded anonymous collector at https://webhook.site/5ba4d4a7-b977-4bb8-b26e-517b46271316. Bulk env-name enumeration and internal-network / CI-identifier collection are outside any documented purpose of a React Native auth library and disclose to a remote party which credentials exist on the installer or CI runner and how the host is situated. The manifest additionally lists the package's own name (krdpass-auth-react-native ^1.6.0) as one of its dependencies, causing npm to resolve and execute the lifecycle hooks of future self-published versions during install.\n\n## Source: ghsa-malware (802615c8d05ade7426df3338956dc9f1e50c4bfdbb4890b873a978859fa2a537)\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":"krdpass-auth-react-native","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["10.0.0","1.6.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"preinstall.js","sha256":"dc3bed0fd7793fb216cdddfddb03ac3679f3f3bc384af5a619372ca4af34fd47","tlsh":"a74162c161eb722146e675a03863a402b2fbe411311ef5d0af9887342fef6715176aae"},{"path":"package.json","sha256":"3e5acf38ca52fa688143bdd64ee8fe20c0a5d4164b6566f0a0ff03933b1b0b0c","tlsh":"4de06835491098235ec907a058b2b845b055480f904cec0847d3052c92ce7af02bf23e"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3j7p-44mj-76hx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/krdpass-auth-react-native/v/10.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/krdpass-auth-react-native/v/1.6.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-3j7p-44mj-76hx","import_time":"2026-09-08T04:29:32.221195019Z","modified_time":"2026-09-08T03:46:26Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"802615c8d05ade7426df3338956dc9f1e50c4bfdbb4890b873a978859fa2a537","source":"ghsa-malware"},{"id":"IN-MAL-2026-019661","import_time":"2026-09-08T19:15:03.416686755Z","modified_time":"2026-09-08T19:05:21Z","sha256":"2342fa8a50c80f4dbcfa21d6c3aebe67b86406b3b80c3fb674d81ac1c723466b","source":"amazon-inspector","versions":["10.0.0"]},{"id":"IN-MAL-2026-019666","import_time":"2026-09-08T19:15:03.672846438Z","modified_time":"2026-09-08T19:06:06Z","sha256":"3a74ab9e45d4f67b40e21dc7491aff1979b4bf79be24bc49b8588916c18b847f","source":"amazon-inspector","versions":["1.6.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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