Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in @kxafunc/xbails (npm)

Type: advisorySources: OSV

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (629c665fbfef767c56d24af935d38312f7aa88d1c71d9dfb8c427192e54add0b) package.json aliases the `libsignal` dependency to `npm:@bellaxchuu/libsignal-node@latest` — a non-standard publisher pinned to the mutable `latest` dist-tag with no version pin, no integrity check, and no hash. On every install, npm resolves this alias to whatever bytes `@bellaxchuu/libsignal-node` currently publishes, and the resolved module is loaded by `lib/Signal/libsignal.js` and `lib/Utils/crypto.js`, providing the Signal end-to-end cryptographic primitives (SessionCipher, SessionBuilder, ProtocolAddress, SessionRecord) with access to identity keys, prekeys, and plaintext messages. Whoever controls that upstream package name can push arbitrary code into every installer at any time, executing inside the Signal E2E encrypt/decrypt path. This is an off-registry-style trust relationship: the manifest itself constitutes the exposure, independent of what the current contents of the alias target happen to be.

Products
@kxafunc/xbails
Affected versions
0.0.8
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 10:03 UTC · Revision 1

Source evidence

Malicious code in @kxafunc/xbails (npm)

core-osv · Original source

Published 8 Oct 2026, 17:47 UTC

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (629c665fbfef767c56d24af935d38312f7aa88d1c71d9dfb8c427192e54add0b) package.json aliases the `libsignal` dependency to `npm:@bellaxchuu/libsignal-node@latest` — a non-standard publisher pinned to the mutable `latest` dist-tag with no version pin, no integrity check, and no hash. On every install, npm resolves this alias to whatever bytes `@bellaxchuu/libsignal-node` currently publishes, and the resolved module is loaded by `lib/Signal/libsignal.js` and `lib/Utils/crypto.js`, providing the Signal end-to-end cryptographic primitives (SessionCipher, SessionBuilder, ProtocolAddress, SessionRecord) with access to identity keys, prekeys, and plaintext messages. Whoever controls that upstream package name can push arbitrary code into every installer at any time, executing inside the Signal E2E encrypt/decrypt path. This is an off-registry-style trust relationship: the manifest itself constitutes the exposure, independent of what the current contents of the alias target happen to be.

osv:MAL-2026-17701

@kxafunc/xbails

Fixed versions: Not specified

Complete source record
{
  "id": "f58a1cac2348c37a6df268f9fcd6f3879e1661a84743a014422089370def81c2",
  "url": "https://osv.dev/vulnerability/MAL-2026-17701",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in @kxafunc/xbails (npm)",
    "summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (629c665fbfef767c56d24af935d38312f7aa88d1c71d9dfb8c427192e54add0b) package.json aliases the `libsignal` dependency to `npm:@bellaxchuu/libsignal-node@latest` — a non-standard publisher pinned to the mutable `latest` dist-tag with no version pin, no integrity check, and no hash. On every install, npm resolves this alias to whatever bytes `@bellaxchuu/libsignal-node` currently publishes, and the resolved module is loaded by `lib/Signal/libsignal.js` and `lib/Utils/crypto.js`, providing the Signal end-to-end cryptographic primitives (SessionCipher, SessionBuilder, ProtocolAddress, SessionRecord) with access to identity keys, prekeys, and plaintext messages. Whoever controls that upstream package name can push arbitrary code into every installer at any time, executing inside the Signal E2E encrypt/decrypt path. This is an off-registry-style trust relationship: the manifest itself constitutes the exposure, independent of what the current contents of the alias target happen to be.",
    "evidence": "osv:MAL-2026-17701",
    "products": [
      {
        "name": {
          "value": "@kxafunc/xbails",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.8",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-17701",
      "aliases": [
        "MAL-2026-17701"
      ],
      "affected": [
        {
          "package": {
            "name": "@kxafunc/xbails",
            "purl": "pkg:npm/%40kxafunc/xbails",
            "ecosystem": "npm"
          },
          "versions": [
            "0.0.8"
          ],
          "database_specific": {
            "cwes": [
              {
                "name": "Embedded Malicious Code",
                "cweId": "CWE-506",
                "description": "The product contains code that appears to be malicious in nature."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@kxafunc/xbails/MAL-2026-17701.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "package.json",
                  "tlsh": "b281db34cd58cea30ac526e8a9bd014294b958539ec1fc0cb35547ac8f1e25fb2b9b2d",
                  "sha256": "7210306077979df1b2b44a3f7d42ec26803047f8a5b819508dbeebaaac0607df"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "55f2e90b8abeb05ec58916a692ef31690b7371de",
                    "sha512_sri": "sha512-mJg95hjpRpguJ+eRucU5qHKQvWWSuFFBU24gwqbTaUpifYKTTK90NPHMp6XAiqNS5codHQdr3eUkULQasdXUcQ=="
                  },
                  "filename": "xbails-0.0.8.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-08T18:30:05.294708524Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/@kxafunc/xbails/v/0.0.8"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-021228",
            "sha256": "629c665fbfef767c56d24af935d38312f7aa88d1c71d9dfb8c427192e54add0b",
            "source": "amazon-inspector",
            "versions": [
              "0.0.8"
            ],
            "import_time": "2026-10-08T18:23:37.778325068Z",
            "modified_time": "2026-10-08T17:47:11Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 104443,
  "published_at": "2026-10-08T17:47:11+00:00"
}