MAL-2026-6143

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-vfs-polyfill/MAL-2026-6143.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6143
Aliases
  • GHSA-89vx-wfvc-j58f
Published
2026-06-18T22:31:27Z
Modified
2026-07-08T20:47:12Z
Summary
Malicious code in node-vfs-polyfill (npm)
Details

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

Source: amazon-inspector (7fb213e524ed75dcb54961d6d2ee9431ea6a32f4fdcb9d777bc260102920d81b)

On install, postinstall.js executes automatically and exfiltrates host reconnaissance data to attacker-controlled subdomains on oastify.com (Burp Collaborator), a domain commonly used for out-of-band data exfiltration. The script imports http, https, os, and child_process; calls os.hostname() and execSync() to gather system identifiers; and POSTs the collected data — including hostname, username, and version fields — to hardcoded endpoints such as http://xxxxxxxxx.oastify.com and http://rni4z9qkil62r9dcwosokhtgo7u9i76w.oastify.com. The package name suggests a generic VFS polyfill but the postinstall does no polyfill work; its sole observable effect on npm install is system-info exfiltration. This matches the dependency-confusion / reconnaissance beacon pattern.

Source: ghsa-malware (4832b15179ef6a8eaa9d826ce2778cac4debcf19c245bb08ae72d013802f3aca)

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": "IN-MAL-2026-007039",
            "import_time": "2026-06-18T23:09:38.946586468Z",
            "modified_time": "2026-06-18T22:31:27Z",
            "sha256": "7fb213e524ed75dcb54961d6d2ee9431ea6a32f4fdcb9d777bc260102920d81b",
            "source": "amazon-inspector",
            "versions": [
                "2.0.5"
            ]
        },
        {
            "id": "GHSA-89vx-wfvc-j58f",
            "import_time": "2026-06-24T01:59:16.92469141Z",
            "modified_time": "2026-06-24T01:17:57Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "4832b15179ef6a8eaa9d826ce2778cac4debcf19c245bb08ae72d013802f3aca",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-008292",
            "import_time": "2026-07-08T20:32:10.148209149Z",
            "modified_time": "2026-07-08T19:49:01Z",
            "sha256": "12549502320678af61996b0eaa42c168a16ba359c2dbfaa10fce8d3ad600923d",
            "source": "amazon-inspector",
            "versions": [
                "2.0.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / node-vfs-polyfill

Package

Name
node-vfs-polyfill
View open source insights on deps.dev
Purl
pkg:npm/node-vfs-polyfill

Affected ranges

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

Affected versions

2.*
2.0.5
2.0.7

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "c216cb04c1ea30d33368d9744553d9ed649d9c451a761a603ec3f457bde83573",
            "tlsh": "d14283b541b0555835b5cf9dab0f60026656f0077a46fea878ae33401fce65882b3efe"
        }
    ],
    "package_integrity": [
        {
            "filename": "node-vfs-polyfill-2.0.5.tgz",
            "hashes": {
                "sha1": "f17669571b63c3f719273b4a5f563f54df98fe43",
                "sha512_sri": "sha512-jbMSlCCaGsv+FSBZQJDc2k8b2g2FwDk3ScrTQBxZqW1gwb0MJHHc3UrW0+eDdCDRt7l95gEXXzSmoIWPCxi8HA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-vfs-polyfill/MAL-2026-6143.json"