MAL-2026-11647

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@onereach/si-text-message/MAL-2026-11647.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11647
Aliases
  • GHSA-567h-cq5c-267h
Published
2026-08-04T13:25:57Z
Modified
2026-08-05T08:50:26.600556633Z
Summary
Malicious code in @onereach/si-text-message (npm)
Details

npm/@onereach/si-text-message is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the "Shai-Hulud: Here We Go Again" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook ("preinstall": "node setup.mjs") that runs on a bare npm install, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as MathSymbol.js / mathinit.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading "Shai-Hulud: Here We Go Again") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.


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

Source: amazon-inspector (37db19b04b0f17e5f4a53522b65ecacee1bf1d53df1e15e5cfbae7f2427e3abe)

package.json declares a preinstall hook node setup.mjs. setup.mjs is itself obfuscated (hex identifiers, string-array indirection) and, on npm install, downloads the Bun v1.3.13 runtime from github.com/oven-sh/bun releases to a temp directory, extracts it using a hand-rolled ZIP parser, chmods it executable, and invokes it against a sibling file mathinit.js via execFileSync. mathinit.js is a 728KB minified blob obfuscated with the obfuscator.io string-array-rotation shape (WV8StW rotator + large opaque constants array n7gIxM) with no readable strings and no relation to the package's advertised purpose (a Vue si-text-message input component). The tarball also ships setup.mjs and math_init.js at the root even though package.json declares files: ["lib/*"], so these payload files sit outside the declared manifest. Using an alternate JS runtime (Bun) to execute the payload bypasses Node-based install-time monitoring. Effect on any developer or CI system running npm install @onereach/si-text-message: arbitrary attacker-controlled code executes on the installer's host at install time.

Source: ghsa-malware (6f7c14c1545bf914cb2aefc24cd550970405330c1c3c22f686a04c46f57af10c)

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": [
        {
            "modified_time": "2026-08-04T15:48:32Z",
            "source": "ghsa-malware",
            "id": "GHSA-567h-cq5c-267h",
            "import_time": "2026-08-05T00:10:17.902085681Z",
            "sha256": "6f7c14c1545bf914cb2aefc24cd550970405330c1c3c22f686a04c46f57af10c",
            "versions": [
                "0.4.6",
                "0.4.5",
                "0.4.7"
            ]
        },
        {
            "modified_time": "2026-08-05T06:31:17Z",
            "source": "amazon-inspector",
            "sha256": "37db19b04b0f17e5f4a53522b65ecacee1bf1d53df1e15e5cfbae7f2427e3abe",
            "import_time": "2026-08-05T07:06:50.353124118Z",
            "id": "IN-MAL-2026-013494",
            "versions": [
                "0.4.7"
            ]
        },
        {
            "modified_time": "2026-08-05T07:04:40Z",
            "source": "amazon-inspector",
            "sha256": "86196ff7edf7808b3bec3033ca84d9b0459b2d502c0acc7d0405b8b5d9c455c1",
            "import_time": "2026-08-05T07:07:00.64437956Z",
            "id": "IN-MAL-2026-013720",
            "versions": [
                "0.4.6"
            ]
        },
        {
            "modified_time": "2026-08-05T07:09:07Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013749",
            "import_time": "2026-08-05T08:22:03.788160895Z",
            "sha256": "1c155e95fd6a40a2f63faa5373a9b197d3578f3afa463e5d650af8f46103d299",
            "versions": [
                "0.4.5"
            ]
        }
    ],
    "iocs": {
        "files": [
            {
                "paths": [
                    "setup.mjs"
                ],
                "source": "PACKAGE_ARCHIVE",
                "note": "Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it."
            },
            {
                "source": "PACKAGE_ARCHIVE",
                "paths": [
                    "Math_Symbol.js",
                    "math_init.js"
                ],
                "note": "Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js."
            }
        ]
    }
}
References
Credits

Affected packages

npm / @onereach/si-text-message

Package

Name
@onereach/si-text-message
View open source insights on deps.dev
Purl
pkg:npm/%40onereach/si-text-message

Affected ranges

Affected versions

0.*
0.4.5
0.4.6
0.4.7

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "si-text-message-0.4.7.tgz",
            "hashes": {
                "sha512_sri": "sha512-JOQVJsC87W23bqu9dNdDctghrfSQ0H9E1Yo0y8LSA82OR4rxDF9pPePMNBC64cpbmVXElwGCpatvX6/E1tIvrw==",
                "sha1": "e1b55c80fdd9833eca632713c27362246a822998"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        },
        {
            "tlsh": "88014c24de245c7310dd65b05cba4192e2a14d4b6c19bc1c3bc7920d8b9d6ab197e6bc",
            "sha256": "ce391e77c2c5fa11632abe568e044885cb3261f33c1d0eb86cb32cee5318afef",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@onereach/si-text-message/MAL-2026-11647.json"
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"
    }
]