mal-2026-6097
Vulnerability from ossf_malicious_packages
Published
2026-06-18 04:07
Modified
2026-07-27 09:45
Summary
Malicious code in roblox-api-client (npm)
Details

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

Source: amazon-inspector (06fae89087d7a50d6397199d5fe1d5fc925c7c353e72a7f8a84e9aeca08224e6)

On npm install, postinstall.js fetches http://betterminecraft.fun/nettspend.bat over plain HTTP, writes it to the OS temp directory, and executes it via cmd /c on Windows (postinstall.js line 7 hardcodes the URL; line 15 spawns the temp file with windowsHide: true). The destination domain is unrelated to the package's stated purpose (a Roblox API client), the URL is mutable and unpinned, no hash or signature verification is performed, and the transport is cleartext HTTP — the operator can swap the served bytes at will. package.json metadata is placeholder-only (author: your-name, repo github.com/your-username/roblox-api-client), consistent with a hit-and-run squat rather than a legitimate publisher. This is a textbook install-time RCE dropper: any Windows developer running npm install roblox-api-client silently executes attacker-controlled code under their user account.

Source: ghsa-malware (2e462e360d5bce0dd4c26a0b03976f8428da4d202fb5add1c0a9bd16ca5e8546)

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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • 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"
          },
          {
            "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": "f51927f48193e74b892ea70f9bce90650da8a1bcc561619bb25c4f23e5a65cdc",
              "tlsh": "70f0acd50ef3623061b260d0a3a1591aa633c0123281ced0b4cc54405fd36b99ef1be8"
            },
            {
              "path": "package.json",
              "sha256": "e1f0aa169674a1977736907b87705981e8b2438290d475735cd12e2cfa0bec81",
              "tlsh": "5b012434c5648a7329d462949d7a2453a96a0c07841abc0c23d7216c8b9d6af51bd6bf"
            }
          ],
          "package_integrity": [
            {
              "filename": "roblox-api-client-1.0.0.tgz",
              "hashes": {
                "sha1": "b3db3d0b3ad3777bc40fffb4fb5276ed579b60ee",
                "sha512_sri": "sha512-YoxD4uxP/HGGEJvCICTQSK9XYbMm6Kv5pxrwgo4G5nCwcp0/qZrkdybqjbfSJCWeRQdx/P/cadtI2CETWL+REw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "roblox-api-client"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-hmpp-mfgc-mq8p"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-006973",
        "import_time": "2026-06-18T05:42:06.035939061Z",
        "modified_time": "2026-06-18T04:07:15Z",
        "sha256": "06fae89087d7a50d6397199d5fe1d5fc925c7c353e72a7f8a84e9aeca08224e6",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "GHSA-hmpp-mfgc-mq8p",
        "import_time": "2026-07-27T09:43:03.811253916Z",
        "modified_time": "2026-07-27T01:27:56Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "2e462e360d5bce0dd4c26a0b03976f8428da4d202fb5add1c0a9bd16ca5e8546",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (06fae89087d7a50d6397199d5fe1d5fc925c7c353e72a7f8a84e9aeca08224e6)\nOn `npm install`, postinstall.js fetches http://betterminecraft.fun/nettspend.bat over plain HTTP, writes it to the OS temp directory, and executes it via `cmd /c` on Windows (postinstall.js line 7 hardcodes the URL; line 15 spawns the temp file with `windowsHide: true`). The destination domain is unrelated to the package\u0027s stated purpose (a Roblox API client), the URL is mutable and unpinned, no hash or signature verification is performed, and the transport is cleartext HTTP \u2014 the operator can swap the served bytes at will. package.json metadata is placeholder-only (`author: your-name`, repo `github.com/your-username/roblox-api-client`), consistent with a hit-and-run squat rather than a legitimate publisher. This is a textbook install-time RCE dropper: any Windows developer running `npm install roblox-api-client` silently executes attacker-controlled code under their user account.\n\n## Source: ghsa-malware (2e462e360d5bce0dd4c26a0b03976f8428da4d202fb5add1c0a9bd16ca5e8546)\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-6097",
  "modified": "2026-07-27T09:45:43Z",
  "published": "2026-06-18T04:07:15Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/roblox-api-client/v/1.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-hmpp-mfgc-mq8p"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in roblox-api-client (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…

Loading…