@railone/image-utils (npm) · Malicious Code
Affects @railone/image-utilsSource GCVE Database
Malicious package : remove @railone/image-utils and rotate any secrets on hosts that installed it.
Data as of 18 Sep 2026, 01:40 UTC
Malicious package
Published to npm · OSV MAL-2026-16261
What to do
Remove @railone/image-utils from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@railone/image-utils | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package @railone/image-utils version 1.1.10 contains malicious code that executes attacker-controlled JavaScript upon import. It spawns a hidden child process that fetches and runs base64-encoded code from a mutable third-party JSON endpoint, enabling persistent remote code execution with full Node.js privileges and network access. The package falsely advertises image utility functions but instead acts as a backdoor for device information collection and remote code execution.