mal-2026-6143
Vulnerability from ossf_malicious_packages
Published
2026-06-18 22:31
Modified
2026-06-18 22:31
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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "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=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "node-vfs-polyfill"
      },
      "versions": [
        "2.0.5"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "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"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7fb213e524ed75dcb54961d6d2ee9431ea6a32f4fdcb9d777bc260102920d81b)\nOn 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 \u2014 including hostname, username, and version fields \u2014 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.\n",
  "id": "MAL-2026-6143",
  "modified": "2026-06-18T22:31:27Z",
  "published": "2026-06-18T22:31:27Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/node-vfs-polyfill/v/2.0.5"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in node-vfs-polyfill (npm)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…