MAL-2026-6097

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/roblox-api-client/MAL-2026-6097.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6097
Aliases
  • GHSA-hmpp-mfgc-mq8p
Published
2026-06-18T04:07:15Z
Modified
2026-07-27T10:08:41.819883717Z
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "sha256": "06fae89087d7a50d6397199d5fe1d5fc925c7c353e72a7f8a84e9aeca08224e6",
            "versions": [
                "1.0.0"
            ],
            "modified_time": "2026-06-18T04:07:15Z",
            "import_time": "2026-06-18T05:42:06.035939061Z",
            "id": "IN-MAL-2026-006973"
        },
        {
            "id": "GHSA-hmpp-mfgc-mq8p",
            "modified_time": "2026-07-27T01:27:56Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware",
            "import_time": "2026-07-27T09:43:03.811253916Z",
            "sha256": "2e462e360d5bce0dd4c26a0b03976f8428da4d202fb5add1c0a9bd16ca5e8546"
        }
    ]
}
References
Credits

Affected packages

npm / roblox-api-client

Package

Affected ranges

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

Affected versions

1.*
1.0.0

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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/roblox-api-client/MAL-2026-6097.json"
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "f51927f48193e74b892ea70f9bce90650da8a1bcc561619bb25c4f23e5a65cdc",
            "tlsh": "70f0acd50ef3623061b260d0a3a1591aa633c0123281ced0b4cc54405fd36b99ef1be8"
        },
        {
            "path": "package.json",
            "sha256": "e1f0aa169674a1977736907b87705981e8b2438290d475735cd12e2cfa0bec81",
            "tlsh": "5b012434c5648a7329d462949d7a2453a96a0c07841abc0c23d7216c8b9d6af51bd6bf"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "b3db3d0b3ad3777bc40fffb4fb5276ed579b60ee",
                "sha512_sri": "sha512-YoxD4uxP/HGGEJvCICTQSK9XYbMm6Kv5pxrwgo4G5nCwcp0/qZrkdybqjbfSJCWeRQdx/P/cadtI2CETWL+REw=="
            },
            "filename": "roblox-api-client-1.0.0.tgz"
        }
    ]
}