MAL-2026-11551

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@adminide-stack/clock-tik-browser/MAL-2026-11551.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11551
Published
2026-08-04T18:00:00Z
Modified
2026-08-05T08:49:52.609897612Z
Summary
Malicious code in @adminide-stack/clock-tik-browser (npm)
Details

npm/@adminide-stack/clock-tik-browser 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 (cebd524425b56b932976f4f044e8ca099d9ba909049988ddc9285aa0fc495efb)

The package declares a preinstall lifecycle script (node setup.mjs) that fires automatically on npm install. setup.mjs is itself obfuscated (hex _0xNNNN identifiers, string-property indirection maps), fetches the Bun runtime from oven-sh's official releases, and then invokes the downloaded Bun binary via execFileSync to run a sibling file math_init.js. math_init.js is a ~727KB Bun-compiled bundle (header // @bun @bun-cjs) using string-array rotation obfuscation and is not human-inspectable. The advertised purpose of the package is a browser/React clock utility, which has no legitimate need to fetch an alternate language runtime at install time and use it to execute an opaque sibling bundle. Fetching Bun from its official source is being used as an evasion technique: the actual payload runs under a freshly-downloaded runtime that bypasses Node-based supply-chain scanners, and the executed content is the shipped obfuscated blob rather than the runtime itself. This is an alternate-runtime dropper pattern executing attacker-controlled code on the installer's machine at install time.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T07:37:45Z",
            "source": "amazon-inspector",
            "sha256": "cebd524425b56b932976f4f044e8ca099d9ba909049988ddc9285aa0fc495efb",
            "import_time": "2026-08-05T08:22:17.764267499Z",
            "id": "IN-MAL-2026-013941",
            "versions": [
                "12.0.24"
            ]
        }
    ],
    "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."
            },
            {
                "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 / @adminide-stack/clock-tik-browser

Package

Name
@adminide-stack/clock-tik-browser
View open source insights on deps.dev
Purl
pkg:npm/%40adminide-stack/clock-tik-browser

Affected ranges

Affected versions

12.*
12.0.24

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "clock-tik-browser-12.0.24.tgz",
            "hashes": {
                "sha512_sri": "sha512-kLrbs871nBItCANQKW6xKpeZfd1zDyH2PKrRgNNslaD1Nw2cfJ8EdnDy23aDbpvAzfbg/bOK15kP8NA0lFPnqg==",
                "sha1": "61a76e7712cb86b1026020da6a898cd432a19eef"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@adminide-stack/clock-tik-browser/MAL-2026-11551.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]