MAL-2026-11818

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/anvil-icons/MAL-2026-11818.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11818
Aliases
  • GHSA-xvjq-jv5h-p55m
Published
2026-08-04T13:24:52Z
Modified
2026-08-05T06:34:54.796187569Z
Summary
Malicious code in @servicetitan/anvil-icons (npm)
Details

npm/@servicetitan/anvil-icons 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 (9cf46a46355e1380a68d890561f272ab5358567680563365bc3673eaca8f97fa)

The package declares a preinstall script (node setup.mjs) that downloads the Bun runtime from github.com/oven-sh/bun releases, unzips it to a temp directory, chmods it executable, and then invokes the sibling file math_init.js under that freshly-downloaded runtime via execFileSync(bunPath, [join(D, 'math_init.js')], {stdio:'inherit', cwd:D}). The setup.mjs entry point itself is obfuscated with obfuscator.io-style _0xNNNN identifier names and per-function inline string-lookup objects (e.g. SBBJg:"bun", dAZFw:"bun.exe", zjKAu:"bun-dl-") that conceal the download and execution logic. The invoked math_init.js is a ~720 KB single-line opaque bundle using a shuffled string-array cipher and rotator (function WV8StW(a,b,c){...} invoked with n7gIxM=[...], header // @bun @bun-cjs), so its behavior is not observable to Node-based supply-chain scanners because it executes under Bun. The library payload in dist/index.js is an unrelated plain Material icon list, so the install-time layer has been grafted onto an otherwise ordinary-looking icons module published under the @servicetitan/* scope with homepage https://v1.anvil.servicetitan.com. This is the alternate-runtime-dropper pattern: install a second language runtime solely to execute an obfuscated sibling payload during npm install, bypassing Node-based analysis.

Source: ghsa-malware (21c9de95bfa57c6a36bd1c00620af3fe0281bf6de5be625a97624fc8ddd7cf71)

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
{
    "iocs": {
        "files": [
            {
                "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.",
                "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.",
                "source": "PACKAGE_ARCHIVE"
            }
        ]
    },
    "malicious-packages-origins": [
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-04T16:13:40Z",
            "sha256": "21c9de95bfa57c6a36bd1c00620af3fe0281bf6de5be625a97624fc8ddd7cf71",
            "id": "GHSA-xvjq-jv5h-p55m",
            "versions": [
                "14.5.9",
                "14.5.8",
                "14.5.7",
                "14.5.6",
                "14.5.5",
                "14.5.4"
            ],
            "import_time": "2026-08-05T00:10:18.29703948Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T03:59:31Z",
            "sha256": "85db02ef3a34a93e8130748b45f7a6bc0e805dcffb10465aad2614f54561d422",
            "id": "IN-MAL-2026-012436",
            "versions": [
                "14.5.10"
            ],
            "import_time": "2026-08-05T04:38:10.292306663Z"
        },
        {
            "import_time": "2026-08-05T04:38:22.915171388Z",
            "modified_time": "2026-08-05T04:14:33Z",
            "sha256": "9bdf82a78e291bc2aa43f4e1d00d7a774558cfcde589eb2b10ea263f01a575e9",
            "id": "IN-MAL-2026-012540",
            "versions": [
                "14.5.9"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-05T04:37:34.070479336Z",
            "sha256": "9cf46a46355e1380a68d890561f272ab5358567680563365bc3673eaca8f97fa",
            "modified_time": "2026-08-05T03:16:11Z",
            "id": "IN-MAL-2026-012132",
            "versions": [
                "14.5.8"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-05T04:37:33.961657238Z",
            "modified_time": "2026-08-05T03:15:59Z",
            "sha256": "9f42117c845c52d37c48daefcaf98e21070d7fdaf50e6cfad4b2f2f20e20a79b",
            "id": "IN-MAL-2026-012131",
            "versions": [
                "14.5.5"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T03:39:18Z",
            "sha256": "60ac602708cb8c58141dc6cbd8c00e38b906a46b2a3e1585b303affb222ca8f6",
            "id": "IN-MAL-2026-012297",
            "versions": [
                "14.5.7"
            ],
            "import_time": "2026-08-05T04:37:54.418301961Z"
        },
        {
            "import_time": "2026-08-05T04:37:58.898272395Z",
            "modified_time": "2026-08-05T03:45:06Z",
            "sha256": "6f1909990be933dcbe22437a473cee4cb156eedc082f66410e6d3c2da8955140",
            "id": "IN-MAL-2026-012336",
            "versions": [
                "14.5.6"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T04:56:01Z",
            "sha256": "970f14307e17b7033e763ae575f066a3965c4d6a7a22a901178adcce7a66628a",
            "id": "IN-MAL-2026-012834",
            "versions": [
                "14.5.4"
            ],
            "import_time": "2026-08-05T06:00:09.983651671Z"
        }
    ]
}
References
Credits

Affected packages

npm / @servicetitan/anvil-icons

Package

Name
@servicetitan/anvil-icons
View open source insights on deps.dev
Purl
pkg:npm/%40servicetitan/anvil-icons

Affected ranges

Affected versions

14.*
14.5.4
14.5.5
14.5.6
14.5.7
14.5.8
14.5.9
14.5.10

Database specific

cwes
[
    {
        "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",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-tLYPDS8AHgmADedrqKKFEXwDekFfedsBjRuXQ7JglAlHPdRXu6aLZQ+b4MrxT9k34zxQtQLdPsZaaRJ8FTkzRA==",
                "sha1": "df52c672b21ff180a8dbb1c93b5759e217bfc6c2"
            },
            "filename": "anvil-icons-14.5.10.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "setup.mjs",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
        },
        {
            "path": "math_init.js",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
        },
        {
            "path": "package.json",
            "sha256": "ff8183d11680abaf250c3027d3be650a1136cb2515d20021f8260ab36109afb7",
            "tlsh": "63110420cca85e631ada29e55c6b444267650e578e18bc5c33d3826dcf6c2df22bf26d"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/anvil-icons/MAL-2026-11818.json"