MAL-2026-10077

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/type-slint/MAL-2026-10077.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10077
Aliases
  • GHSA-634c-4fgc-67w9
Published
2026-07-09T15:55:00Z
Modified
2026-07-10T16:31:59.524117871Z
Summary
Malicious code in type-slint (npm)
Details

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

Source: amazon-inspector (1b5cd26e040f4f4366ed65cca4b70258d276f781e0aab76b99b5573d4007a97d)

The npm package type-slint@3.3.7 masquerades as the pino logger (copied module layout, exports as module.exports.pino, keywords fast/logger/stream/json). Its index.js middleware() function spawns lib/caller.js as a detached, stdio-ignored child (spawn('node', [script,...], { detached: true, stdio: 'ignore' }); child.unref()), so the loader persists after the parent Node process exits. lib/caller.js fetches JavaScript from a Pinata IPFS gateway URL (bronze-improved-gibbon-411.mypinata.cloud/ipfs/bafkreigjnxn5vnn34rc5r43ajwwkmk4akqpm4awmq5gdhakgszpeqiffsu) and evaluates the response body's.cookie field via new Function.constructor('require', s)(require), passing require in — this grants the fetched code full Node capabilities (filesystem, network, childprocess, env). The fetch retries up to 5 times and console.log is restored to suppress traces. lib/caller.js and lib/const.js also carry base64-encoded strings labelled DEVAPI_KEY that decode to jsonkeeper.com paste URLs (jsonkeeper.com/b/XRGF3, jsonkeeper.com/b/4NAKK), stored on a shadowed process object as a secondary configuration channel. The remote payload is attacker-controlled and mutable, and the executed content is fully attacker-defined at runtime.

Source: ghsa-malware (1e7bb4cbe2c22cdfddf10e706f0c8c3bdb4a66ff9086be3da46e1f5a4c5ccf5e)

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": [
        {
            "sha256": "1b5cd26e040f4f4366ed65cca4b70258d276f781e0aab76b99b5573d4007a97d",
            "id": "IN-MAL-2026-009283",
            "import_time": "2026-07-09T16:20:57.269402665Z",
            "modified_time": "2026-07-09T15:55:00Z",
            "versions": [
                "3.3.7"
            ],
            "source": "amazon-inspector"
        },
        {
            "sha256": "1e7bb4cbe2c22cdfddf10e706f0c8c3bdb4a66ff9086be3da46e1f5a4c5ccf5e",
            "id": "GHSA-634c-4fgc-67w9",
            "import_time": "2026-07-10T11:18:01.248463468Z",
            "modified_time": "2026-07-10T10:18:08Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "3.3.8"
            ],
            "id": "IN-MAL-2026-009617",
            "import_time": "2026-07-10T16:19:41.47504545Z",
            "sha256": "d5962cf1d2b40c5472efedc040ca4cac8af9abab0eaa9e629b0b2b8b6a9b005c",
            "modified_time": "2026-07-10T15:31:05Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / type-slint

Package

Affected ranges

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

Affected versions

3.*
3.3.7
3.3.8

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "13d3d1c547055c01ee7b7c682a0aef2c89a26a18ccaecf8fecb3781ec2066a7b",
            "tlsh": "7d01d05e30fa505c416164f61a1be4316021f4573949d5c8378c83928fea5ae6db3eed",
            "path": "lib/caller.js"
        },
        {
            "sha256": "28def61c4d7aa53933e14776129fc82d0ea1a21650fab21884036a7c2c3448fb",
            "tlsh": "21019721deb88e2300ed25829c2a0643ba219c175828fc2932db512d0f9e4bf01ff25d",
            "path": "package.json"
        },
        {
            "sha256": "2956b023858d706a5e241cd28b845088e5f414c5f70bd5d8cb73cb427d081065",
            "tlsh": "5d213c81b9f11188065cd9c8b569e53a38e3c4377207b9b0e9ec87862bcf2080272ad7",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "type-slint-3.3.7.tgz",
            "hashes": {
                "sha512_sri": "sha512-YjNznVDmrIGNK5rApvLd+z6tmvuTKfGLKgMCALeRzRSfZsciqzFaTTMK/4Ec7FmAQiz9xiWjKqDRMaRlAscETA==",
                "sha1": "03654007ba3373f7ca392c09985c29eb4675ea93"
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "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."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/type-slint/MAL-2026-10077.json"