MAL-2026-4242

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/foundy-toolkit/MAL-2026-4242.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4242
Aliases
  • GHSA-48f2-rw49-vgx3
Published
2026-05-20T01:42:52Z
Modified
2026-05-26T06:02:34.473018484Z
Summary
Malicious code in foundy-toolkit (npm)
Details

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

Source: amazon-inspector (d117fe522ec0aee9271963b02fb9a61b7e5005b5494331368b58f46c05c944cd)

On npm install, the package's postinstall script runs an inline node -e that shells out to curl -fsSL against an ephemeral Pinggy free-tier tunnel host (rqnyz-2605-7280-7--2000-c51.run.pinggy-free.link/npm/-/binary/telemetry), writes the response to the hidden path /tmp/.node-cache, chmods it executable, and launches it in the background with errors swallowed by try/catch. The download URL is not version-pinned, no hash or signature is verified, the destination host is an anonymous attacker-controlled tunnel (not a publisher CDN, not GitHub releases), and the binary's purpose is undocumented behind a telemetry cover path. The package name foundy-toolkit is a one-character deletion of foundry-toolkit, and index.js invokes forge --version to mimic the Foundry (foundry-rs) toolchain, while metadata (dev@foundry-tools.dev, github.com/foundry/foundy-toolkit) appears fabricated. Any developer or CI system that runs npm install foundy-toolkit executes attacker-controlled bytes from a mutable anonymous host.

Source: ghsa-malware (fa92eec022bddec393b3c4c2ad4d2b206650cad3900c98e5a4f667a5f66e29c4)

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": [
        {
            "id": "GHSA-48f2-rw49-vgx3",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-05-22T03:24:54.626358633Z",
            "sha256": "fa92eec022bddec393b3c4c2ad4d2b206650cad3900c98e5a4f667a5f66e29c4",
            "source": "ghsa-malware",
            "modified_time": "2026-05-22T02:43:00Z"
        },
        {
            "id": "IN-MAL-2026-003375",
            "import_time": "2026-05-26T05:50:31.261156633Z",
            "sha256": "d117fe522ec0aee9271963b02fb9a61b7e5005b5494331368b58f46c05c944cd",
            "source": "amazon-inspector",
            "modified_time": "2026-05-20T01:42:52Z",
            "versions": [
                "1.5.79"
            ]
        },
        {
            "id": "IN-MAL-2026-003376",
            "versions": [
                "1.5.79"
            ],
            "sha256": "f0ae9a0d2137837bfa885cedc2faefcd388987eb9d4e0a460c9cabd242a69a41",
            "source": "amazon-inspector",
            "modified_time": "2026-05-20T01:42:52Z",
            "import_time": "2026-05-26T05:50:31.419297791Z"
        }
    ]
}
References
Credits

Affected packages

npm / foundy-toolkit

Package

Affected ranges

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

Affected versions

1.*
1.5.79

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "6838e5d89fcbbd05ca0ce76f1981e2ace18ca221d537af357a3e32383dd36bfb",
            "tlsh": "f7011014e434cc7b45d00fba0c6811a1bd33440b4f44b908b386823cc39ea7a96fd9ce"
        }
    ],
    "package_integrity": [
        {
            "filename": "foundy-toolkit-1.5.79.tgz",
            "hashes": {
                "sha512_sri": "sha512-JoBdWNsTRSYuoCSK3r0OiRL9iVknRVg0hNwSNEBiJNCOIYwB7ymvZqg0M6ZxYdZBWFL9dR2ADLnIRWfpl11MCA==",
                "sha1": "62355051d6bc5388217f31457e708c78adfb65bf"
            }
        }
    ],
    "domains": [
        "rqnyz-2605-7280-7--2000-c51.run.pinggy-free.link"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/foundy-toolkit/MAL-2026-4242.json"