MAL-2024-2031 Malicious code in crosswalker (npm)

Malicious package Published
Package
crosswalker
Registry
npm

What is MAL-2024-2031?

MAL-2024-2031 is a malicious package in crosswalker, published on 25 Jun 2024.

Official description

package.json declares preinstall: node index.js, causing index.js to run automatically on npm install. The script collects hostname, platform, arch, homedir, username, uid/gid, shell, OS info, cwd, and the output of whoami and id, then POSTs the JSON payload to a hardcoded URL at https://kbz9yyzq2mtljdwwf6r0tpzlfcl39txi.oastify.com/detox56. The destination is a Burp Collaborator subdomain — out-of-band infrastructure used to confirm exfiltration / RCE during dependency-confusion reconnaissance. Installer host and user identifiers leave the machine without consent on every install.

What should I do about MAL-2024-2031?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Also known as GHSA-9wxp-r2hc-p64q.

Is MAL-2024-2031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free