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

目标: 1000 元 · 已筹: 1336

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

blekit

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

Summary

Malicious code in blekit (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
188
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
0.1.0unavailable
0.2.0unavailable
0.3.0unavailable
0.3.1unavailable
0.3.2unavailable
1.0.0unavailable
1.1.0unavailable
1.2.0unavailable
1.2.1archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmblekit0.1.0
npmblekit0.2.0
npmblekit0.3.0
npmblekit0.3.1
npmblekit0.3.2
npmblekit1.0.0
npmblekit1.1.0
npmblekit1.2.0
npmblekit1.2.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-13495","published":"2026-08-07T12:10:19Z","modified":"2026-08-10T12:26:45.676347643Z","aliases":["GHSA-7g22-4x8j-vfg4"],"summary":"Malicious code in blekit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ce64fb8d6264bfc9affaf6b3544637cb8559b232075b70a48144e5f1c1743020)\nblekit is published as a React Native BLE SDK, but its main entry re-exports a logger module (`consoleApp`/`initializeLogger`/`getCurrentStatus` from `dist/src/handlelogs.mjs`) that POSTs any string passed to it to `https://api.telegram.org/bot<token>/sendMessage` with a hardcoded `chat_id` of `-1003846719897`. Three live Telegram bot tokens are embedded in the compiled bundle and rotated round-robin; the destination chat is not caller-configurable and is not disclosed in the README. Alongside the relay, the same file exposes `getEnhancedDeviceInfo` (re-exported as `getDeviceInfo`), which gathers precise GPS latitude/longitude with a `https://www.google.com/maps?q=<lat>,<lng>` link, unique device id, IP address, VPN state, brand/model/OS, battery, storage, timezone, locale, and security posture (rooted, emulator, screenLock, mockLocation), and can be stringified via `stringifyData` and passed straight into `consoleApp` to be shipped to the same Telegram chat. Any application that integrates blekit and calls the exported logger silently transmits its data — and, when the device-info helper is used, end-user GPS coordinates and persistent device identifiers — to an author-controlled Telegram channel that the app developer and end user never opted into.\n\n## Source: ghsa-malware (f4213a76b2c5c574d5bfa41897a698d068ba56f146c88855eb2aeb2aac8ec9eb)\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":"blekit","ecosystem":"npm"},"versions":["1.2.1","1.2.0","1.1.0","1.0.0","0.3.2","0.3.1","0.3.0","0.2.0","0.1.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"},{"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/src/handlelogs.mjs","sha256":"6c78cfc0344e50eb0f9496c6a4dcfeb7187d78713b8e273564c70ee8b8ffa066","tlsh":"c312506921ff101a448770b99e1f12216a71946f3e4aec98fb0cd5447f8c63da2b6fe4"}],"package_integrity":[{"filename":"blekit-1.2.1.tgz","hashes":{"sha1":"c23bce97cd2a8c898409fdf1196e8f6a9b9df66e","sha512_sri":"sha512-QKwmwzUkgQsnQUg5XPewMS4yejZhDWkSdBHm2Wbbq5EMHB0ZsR//25LNUMd21BYJSSfILYj7sFaWyT9BhJT3rw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/1.2.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/1.2.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7g22-4x8j-vfg4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/0.3.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/0.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/0.3.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/0.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/blekit/v/0.3.2"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016872","import_time":"2026-08-07T12:23:25.204514869Z","modified_time":"2026-08-07T12:10:19Z","sha256":"ce64fb8d6264bfc9affaf6b3544637cb8559b232075b70a48144e5f1c1743020","source":"amazon-inspector","versions":["1.2.1"]},{"id":"IN-MAL-2026-017052","import_time":"2026-08-07T12:51:24.096699236Z","modified_time":"2026-08-07T12:36:57Z","sha256":"d394cac4079fd36c380cbb7512e1e62d2588de7db3a478d4c6a8c0d0f69a052b","source":"amazon-inspector","versions":["1.2.0"]},{"id":"GHSA-7g22-4x8j-vfg4","import_time":"2026-08-09T23:21:54.470877Z","modified_time":"2026-08-07T23:01:05Z","sha256":"f4213a76b2c5c574d5bfa41897a698d068ba56f146c88855eb2aeb2aac8ec9eb","source":"ghsa-malware","versions":["1.2.1","1.2.0","1.1.0","1.0.0","0.3.2","0.3.1","0.3.0","0.2.0","0.1.0"]},{"id":"IN-MAL-2026-017215","import_time":"2026-08-10T11:51:55.624770688Z","modified_time":"2026-08-10T11:51:40Z","sha256":"afa2178bd67c3168cfd5977e2bfba18e2a9066ca918de04ea45951ee429795bc","source":"amazon-inspector","versions":["0.3.0"]},{"id":"IN-MAL-2026-017213","import_time":"2026-08-10T11:51:55.436435249Z","modified_time":"2026-08-10T11:51:17Z","sha256":"e0e58fccc008449985aace6797f7685900db9df3194624353d5d71a0f38a3fb0","source":"amazon-inspector","versions":["0.2.0"]},{"id":"IN-MAL-2026-017212","import_time":"2026-08-10T11:51:55.341201652Z","modified_time":"2026-08-10T11:51:09Z","sha256":"f028362ba5a23798fed4bc412b787725642f76c2be410538213aaf4a569d293f","source":"amazon-inspector","versions":["0.3.1"]},{"id":"IN-MAL-2026-017209","import_time":"2026-08-10T11:51:55.044512019Z","modified_time":"2026-08-10T11:50:37Z","sha256":"2a75e574793ca069783ef831fd5b47228585ecdc2b635079eaf3c9e8731d3f4e","source":"amazon-inspector","versions":["1.1.0"]},{"id":"IN-MAL-2026-017214","import_time":"2026-08-10T11:51:55.531907616Z","modified_time":"2026-08-10T11:51:29Z","sha256":"6e363f2507eb97a8f9a74908dd9fa016c07ae6fbeb233cf87ea6577d8421f033","source":"amazon-inspector","versions":["0.1.0"]},{"id":"IN-MAL-2026-017226","import_time":"2026-08-10T12:24:43.63959877Z","modified_time":"2026-08-10T11:53:12Z","sha256":"d75d96432d535780121f52eaeb336bd15cc0d8b7ee73cf2aa3795a1b61a37316","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-017218","import_time":"2026-08-10T12:24:42.818152643Z","modified_time":"2026-08-10T11:52:05Z","sha256":"99558ba76fe1e03a9960fdd500f7f221acd076e4bc4a404073eb05d42d37ba14","source":"amazon-inspector","versions":["0.3.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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