MAL-2026-13495

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/blekit/MAL-2026-13495.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13495
Aliases
  • GHSA-7g22-4x8j-vfg4
Published
2026-08-07T12:10:19Z
Modified
2026-08-10T12:50:25.818442235Z
Summary
Malicious code in blekit (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (ce64fb8d6264bfc9affaf6b3544637cb8559b232075b70a48144e5f1c1743020)

blekit 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.

Source: ghsa-malware (f4213a76b2c5c574d5bfa41897a698d068ba56f146c88855eb2aeb2aac8ec9eb)

Any 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "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-016872"
        },
        {
            "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": "IN-MAL-2026-017052"
        },
        {
            "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": "GHSA-7g22-4x8j-vfg4"
        },
        {
            "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-017215"
        },
        {
            "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-017213"
        },
        {
            "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-017212"
        },
        {
            "id": "IN-MAL-2026-017209",
            "modified_time": "2026-08-10T11:50:37Z",
            "sha256": "2a75e574793ca069783ef831fd5b47228585ecdc2b635079eaf3c9e8731d3f4e",
            "source": "amazon-inspector",
            "versions": [
                "1.1.0"
            ],
            "import_time": "2026-08-10T11:51:55.044512019Z"
        },
        {
            "import_time": "2026-08-10T11:51:55.531907616Z",
            "modified_time": "2026-08-10T11:51:29Z",
            "versions": [
                "0.1.0"
            ],
            "source": "amazon-inspector",
            "sha256": "6e363f2507eb97a8f9a74908dd9fa016c07ae6fbeb233cf87ea6577d8421f033",
            "id": "IN-MAL-2026-017214"
        },
        {
            "id": "IN-MAL-2026-017226",
            "modified_time": "2026-08-10T11:53:12Z",
            "sha256": "d75d96432d535780121f52eaeb336bd15cc0d8b7ee73cf2aa3795a1b61a37316",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-08-10T12:24:43.63959877Z"
        },
        {
            "import_time": "2026-08-10T12:24:42.818152643Z",
            "modified_time": "2026-08-10T11:52:05Z",
            "versions": [
                "0.3.2"
            ],
            "source": "amazon-inspector",
            "sha256": "99558ba76fe1e03a9960fdd500f7f221acd076e4bc4a404073eb05d42d37ba14",
            "id": "IN-MAL-2026-017218"
        }
    ]
}
References
Credits

Affected packages

npm / blekit

Package

Affected ranges

Affected versions

0.*
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
1.*
1.0.0
1.1.0
1.2.0
1.2.1

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "blekit-1.2.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-QKwmwzUkgQsnQUg5XPewMS4yejZhDWkSdBHm2Wbbq5EMHB0ZsR//25LNUMd21BYJSSfILYj7sFaWyT9BhJT3rw==",
                "sha1": "c23bce97cd2a8c898409fdf1196e8f6a9b9df66e"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "c312506921ff101a448770b99e1f12216a71946f3e4aec98fb0cd5447f8c63da2b6fe4",
            "path": "dist/src/handlelogs.mjs",
            "sha256": "6c78cfc0344e50eb0f9496c6a4dcfeb7187d78713b8e273564c70ee8b8ffa066"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/blekit/MAL-2026-13495.json"