MAL-2026-11628

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@onereach/si-a-button/MAL-2026-11628.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11628
Aliases
  • GHSA-ffmh-34qf-89jg
Published
2026-08-04T13:21:25Z
Modified
2026-08-05T08:50:20.381021547Z
Summary
Malicious code in @onereach/si-a-button (npm)
Details

npm/@onereach/si-a-button 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 (8e426363a6358b0eee89f7eb6e98ad6498730bd61299c179a3e9dcc4dd2f4dff)

The package advertises itself as a small Vue button component but declares a preinstall script (node setup.mjs) that, on npm install, probes for bun on PATH and otherwise downloads the Bun runtime from GitHub releases for the detected platform/architecture (with Alpine/musl detection via ldd and /etc/os-release), unzips it to a temp directory, chmods it executable, and invokes it against a sibling file math_init.js. math_init.js is a 727KB heavily obfuscated @bun-cjs single-expression bundle using shuffled string arrays and function-array rotation (WV8StW), with no relation to a UI button component. The setup.mjs loader itself is also obfuscated with _0xNNNNNN identifier renaming and string-indirection tables typical of obfuscator.io output. The combination of an alternate-runtime dropper (pulling Bun specifically to execute code that Node-focused scanners will not read) with a large obfuscated sibling payload whose name and content are unrelated to the package's stated purpose is a supply-chain attack shape: installing this package runs arbitrary attacker-authored code on the installer's host at install time.

Source: ghsa-malware (c2a209321993407715d59585c775e2a820e71d8eace47e65af28c930f0be5363)

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:45:04Z",
            "source": "ghsa-malware",
            "sha256": "c2a209321993407715d59585c775e2a820e71d8eace47e65af28c930f0be5363",
            "import_time": "2026-08-05T00:10:18.054132155Z",
            "id": "GHSA-ffmh-34qf-89jg",
            "versions": [
                "0.0.4",
                "0.0.3",
                "0.0.5"
            ]
        },
        {
            "import_time": "2026-08-05T07:07:00.708423713Z",
            "modified_time": "2026-08-05T07:04:58Z",
            "sha256": "5dbebd0a07444a4ff83bf1675e9416d369930d9cfb959ca8bf2d3a4b2a0dd47e",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013722",
            "versions": [
                "0.0.4"
            ]
        },
        {
            "import_time": "2026-08-05T08:22:13.011931139Z",
            "modified_time": "2026-08-05T07:28:46Z",
            "sha256": "8e426363a6358b0eee89f7eb6e98ad6498730bd61299c179a3e9dcc4dd2f4dff",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013880",
            "versions": [
                "0.0.5"
            ]
        },
        {
            "modified_time": "2026-08-05T08:01:37Z",
            "source": "amazon-inspector",
            "sha256": "bb81719b48d958300f45e560c08241789b47520aa902f5944a2dd9004ed20b78",
            "import_time": "2026-08-05T08:22:28.964995852Z",
            "id": "IN-MAL-2026-014103",
            "versions": [
                "0.0.3"
            ]
        }
    ],
    "iocs": {
        "files": [
            {
                "source": "PACKAGE_ARCHIVE",
                "paths": [
                    "setup.mjs"
                ],
                "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."
            },
            {
                "paths": [
                    "Math_Symbol.js",
                    "math_init.js"
                ],
                "source": "PACKAGE_ARCHIVE",
                "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-a-button

Package

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

Affected ranges

Affected versions

0.*
0.0.3
0.0.4
0.0.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@onereach/si-a-button/MAL-2026-11628.json"
indicators
{
    "package_integrity": [
        {
            "filename": "si-a-button-0.0.4.tgz",
            "hashes": {
                "sha512_sri": "sha512-V3RSXRoKq1qcdGZtebbhnzgCWmTTV9hOMs3ROMtB3eQVcDkZ4NkRLACcphfWRpYG8TgQDlLWOZ6c32L7ssme5w==",
                "sha1": "0662abf268d7b0686e37494ead32e1d51611c6ce"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        }
    ]
}
cwes
[
    {
        "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."
    }
]