MAL-2026-15564 (GHSA-8HPW-V4HQ-PG99)

Vulnerability from ossf_malicious_packages – Published: 2026-08-29 02:13 – Updated: 2026-11-25 10:14 – Source website
Malicious package
Summary
Malicious code in vs-modules (npm)
Affected package
Ecosystem Package Versions
npm vs-modules
Affected: All versions (semver)
1.2.21.2.1
Details
Amazon Inspector IN-MAL-2026-019136 Reported 2026-08-29 02:13

package.json declares a preinstall hook that runs node resources.js, which fires automatically on npm install. resources.js is heavily obfuscated with an obfuscator.io-style string-array plus numeric-index dispatch that hides the URL, destination path, and exec call. Deobfuscation shows the script reconstructs the plain-HTTP URL http://whaomydaddy.bts-the-time-in-shanghai.netlify.app/hey.bat, downloads it into %TEMP% via curl -L -o <dest> <url>, and immediately runs the batch file via child_process.exec. The destination is an anonymous netlify subdomain over plain HTTP with no pinning or integrity check, so any content served at that URL executes on the installer's host at install time. The package's stated purpose (a kanban/utility module) is unrelated to fetching and executing a Windows batch file from an external host.

GitHub Advisory Database GHSA-8hpw-v4hq-pg99 Reported 2026-08-29 18:12

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.

Amazon Inspector IN-MAL-2026-019194 Reported 2026-08-31 17:46

No description from this source.

ReversingLabs RLMA-2026-15211 Reported 2026-11-24 12:19

No description from this source.

Indicators
Type Indicator Hashes
Evidence file resources.js
sha256 4dd5da0bdc4107b8846bec998b208bd2260ad98bc0453bb01cd12ec5a6236e87
tlsh 4041ef4c6d4492947f82d7eea53af4b1e467e4875a80488cf30afcf0b554e60efa2270
Package archive vs-modules-1.2.2.tgz
sha1 022fa3d4dedd6bbfebe28d23297d50f8ab2e52eb
sha512_sri sha512-QNBb7Ivo4gThCPsj8kKh9xVoB+gg+JHhRNGVtJwzbQvvdFLKBN/Ihc+7pzKg/Nif92Zh2Tqtj5zPpvw7AzR67A==
CWE
  • CWE-506 - Embedded Malicious Code
Credits

{
  "affected": [
    {
      "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": "resources.js",
              "sha256": "4dd5da0bdc4107b8846bec998b208bd2260ad98bc0453bb01cd12ec5a6236e87",
              "tlsh": "4041ef4c6d4492947f82d7eea53af4b1e467e4875a80488cf30afcf0b554e60efa2270"
            }
          ],
          "package_integrity": [
            {
              "filename": "vs-modules-1.2.2.tgz",
              "hashes": {
                "sha1": "022fa3d4dedd6bbfebe28d23297d50f8ab2e52eb",
                "sha512_sri": "sha512-QNBb7Ivo4gThCPsj8kKh9xVoB+gg+JHhRNGVtJwzbQvvdFLKBN/Ihc+7pzKg/Nif92Zh2Tqtj5zPpvw7AzR67A=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "vs-modules"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.2.2",
        "1.2.1"
      ]
    }
  ],
  "aliases": [
    "GHSA-8hpw-v4hq-pg99",
    "SNYK-JS-VSMODULES-19426870",
    "GHSA-vg83-965g-3w5v",
    "MAL-2026-15562"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-019136",
        "import_time": "2026-08-29T02:22:20.627653045Z",
        "modified_time": "2026-08-29T02:13:27Z",
        "sha256": "dcd50c73d1e9bbca9b707d80936562866b7469239c038a540c02a9f43efedb57",
        "source": "amazon-inspector",
        "versions": [
          "1.2.2"
        ]
      },
      {
        "id": "GHSA-8hpw-v4hq-pg99",
        "import_time": "2026-08-29T18:26:29.952574697Z",
        "modified_time": "2026-08-29T18:12:11Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "b2a79c8b121ab15abeb994540d78a5030ec740fd91e9f6ce5020af40c6d8f519",
        "source": "ghsa-malware"
      },
      {
        "id": "IN-MAL-2026-019194",
        "import_time": "2026-08-31T18:22:23.943433395Z",
        "modified_time": "2026-08-31T17:46:55Z",
        "sha256": "b8eb4f29cc886485c049dae42366d16efd25096d1ae4a76d60bace9fb81bfa09",
        "source": "amazon-inspector",
        "versions": [
          "1.2.1"
        ]
      },
      {
        "id": "RLMA-2026-15211",
        "import_time": "2026-11-25T10:12:43.227326029Z",
        "modified_time": "2026-11-24T12:19:55Z",
        "sha256": "c8eea6fe966fe1ce00196c71543924f61b7a15bd93314171c8d0bcccea3afabd",
        "source": "reversing-labs",
        "versions": [
          "1.2.1",
          "1.2.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dcd50c73d1e9bbca9b707d80936562866b7469239c038a540c02a9f43efedb57)\npackage.json declares a preinstall hook that runs `node resources.js`, which fires automatically on `npm install`. resources.js is heavily obfuscated with an obfuscator.io-style string-array plus numeric-index dispatch that hides the URL, destination path, and exec call. Deobfuscation shows the script reconstructs the plain-HTTP URL http://whaomydaddy.bts-the-time-in-shanghai.netlify.app/hey.bat, downloads it into %TEMP% via `curl -L -o \u003cdest\u003e \u003curl\u003e`, and immediately runs the batch file via child_process.exec. The destination is an anonymous netlify subdomain over plain HTTP with no pinning or integrity check, so any content served at that URL executes on the installer\u0027s host at install time. The package\u0027s stated purpose (a kanban/utility module) is unrelated to fetching and executing a Windows batch file from an external host.\n\n## Source: ghsa-malware (b2a79c8b121ab15abeb994540d78a5030ec740fd91e9f6ce5020af40c6d8f519)\nAny 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.\n",
  "id": "MAL-2026-15564",
  "modified": "2026-11-25T10:14:48.746272340Z",
  "published": "2026-08-29T02:13:27Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/vs-modules/v/1.2.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-8hpw-v4hq-pg99"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/vs-modules/v/1.2.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-vg83-965g-3w5v"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.snyk.io/vuln/SNYK-JS-VSMODULES-19426870"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/test-in-one/MAL-2026-15562.json"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in vs-modules (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.