MAL-2026-12812

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ts-toolkit-plus/MAL-2026-12812.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12812
Aliases
  • GHSA-99wx-749q-58xh
Published
2026-08-05T13:14:43Z
Modified
2026-08-06T01:21:41.296560224Z
Summary
Malicious code in ts-toolkit-plus (npm)
Details

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

Source: amazon-inspector (49d47be3f5dc16ea70755e0233f46106d3f50d1d5384a4f20c76b91463c9876c)

The package's main entry defines a getPlugin() function that performs an HTTPS request to a hardcoded bare-IP endpoint at 31.97.137.157:45000/icons/112 and passes the response field data.credits to new Function('require','module',...,'Promise', data.credits), executing whatever the remote host returns with full Node.js context including require, process, Buffer, and globalThis. The destination URL is assembled from split protocol/separator/domain/path fragments and wrapped in benign 'icon/CDN' naming that hides the code-execution sink. The declared dependencies (@primno/dpapi for Windows DPAPI unwrap of browser-stored secrets, node-machine-id for host fingerprinting, better-sqlite3/sqlite3 for browser profile databases, socket.io-client) do not correspond to the advertised 'crypto checkout' purpose and pre-stage tooling a remote payload can invoke via the injected require() to harvest Windows browser credentials and cookies. Any consumer that require/imports this package and reaches the getPlugin path grants the remote operator arbitrary code execution on the installer's machine.

Source: ghsa-malware (cad454e0e312c87020333f7ece00363eb627c8b1b1334431c662c09a6af7dad1)

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": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T13:14:43Z",
            "sha256": "49d47be3f5dc16ea70755e0233f46106d3f50d1d5384a4f20c76b91463c9876c",
            "id": "IN-MAL-2026-014940",
            "versions": [
                "1.3.2"
            ],
            "import_time": "2026-08-05T14:19:44.986572388Z"
        },
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-05T13:20:17Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-99wx-749q-58xh",
            "sha256": "cad454e0e312c87020333f7ece00363eb627c8b1b1334431c662c09a6af7dad1",
            "import_time": "2026-08-06T00:58:53.333894723Z"
        }
    ]
}
References
Credits

Affected packages

npm / ts-toolkit-plus

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.3.2

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",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-U9cu3YskqH36vEKnRhWO64iiT92lKHzXZoBWzZcScxrBIPvbC48cIWhH2O8UDrFBKvscglc2Qh3p9Ls23I3Oaw==",
                "sha1": "72f1891c80637d82d9cdd1dbeae4c5b30ebea6f5"
            },
            "filename": "ts-toolkit-plus-1.3.2.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "959fab5dc075772e7ed9cf36fec4e4c2bbaeb9eca348934e993aec3db1645ea7",
            "tlsh": "84c1716546fa31a36a67e0eef30f10027165e313375de931f48e42902fca568e5f24e8"
        },
        {
            "path": "package.json",
            "sha256": "d5d0e5a6ee9f68e9057a87517f232c69b3766c18844ba34db0e16a24ca0944ea",
            "tlsh": "f7f04401de15de6314d5154258388086a121dd1f9d01fc0c338a4b6c0f4e5bf22fe61c"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ts-toolkit-plus/MAL-2026-12812.json"