Skip to main content
Menu
Advisories

Malicious code in open-item-validator (npm)

GHSA-JFQ9-9HF7-GR4XPublished Updated GitHubMalware

Description

Source: amazon-inspector (7ba5b55d57f4938bf2494d369d14434bb80ba6f6c712c7f8d89ae773c27dc457)

On require(), index.js spawns a detached, unref'd background Node process (lib/check-items.js) that repeatedly HTTP-GETs a JSON payload from itemx.servegame.com/api/x-realtime and executes the returned JavaScript via new Function('require','module', payload.code)(require, moduleObj). The daemon survives the parent process and re-polls the endpoint on a configured interval, so whoever controls that endpoint runs arbitrary Node code on the installer's host on library load and continuously thereafter. The fetch is over plain HTTP to a No-IP dynamic-DNS host (servegame.com) that does not match the publisher's declared homepage (game.spawnrealm.com); a bundled RSA signature check does not alter that the endpoint operator chooses what code runs. README framing as 'signed game code updates' is inconsistent with the shipped generic fetch-and-exec mechanism and the publisher/destination host mismatch.

---

Credit: OpenSSF (source)

Affected versions

References