Malicious code in @railone/image-utils (npm)
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.
AI Analysis
Technical Summary
The @railone/image-utils npm package version 1.1.10 includes a malicious payload triggered on import. The main script spawns a detached child process running loader.js, which fetches JSON data from a third-party mutable endpoint (https://api.npoint.io/641d37178a880b1e8b8f). The 'code' field in the JSON is base64-decoded and executed dynamically using the Function constructor, allowing arbitrary attacker-controlled JavaScript to run with full Node.js privileges and network access on the host machine. This mechanism provides a persistent remote code execution channel controlled by whoever manages the npoint.io resource. The package misrepresents its functionality and contains internal comments identifying it as a module for device information collection and remote code execution that auto-starts on import.
Potential Impact
Successful exploitation results in arbitrary remote code execution on the host system with full Node.js privileges and network access. This allows an attacker to run any code, potentially leading to full system compromise, data exfiltration, or further lateral movement. The malicious code is persistently delivered via a mutable third-party endpoint, enabling ongoing control over affected systems.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove the @railone/image-utils package version 1.1.10 from their environments and avoid installing it. Since the malicious code executes on import, any usage of this package should be considered compromised. Monitor for the presence of this package in dependency trees and replace it with trusted alternatives. Check vendor advisories or npm security advisories for updates or official guidance.
Malicious code in @railone/image-utils (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @railone/image-utils npm package version 1.1.10 includes a malicious payload triggered on import. The main script spawns a detached child process running loader.js, which fetches JSON data from a third-party mutable endpoint (https://api.npoint.io/641d37178a880b1e8b8f). The 'code' field in the JSON is base64-decoded and executed dynamically using the Function constructor, allowing arbitrary attacker-controlled JavaScript to run with full Node.js privileges and network access on the host machine. This mechanism provides a persistent remote code execution channel controlled by whoever manages the npoint.io resource. The package misrepresents its functionality and contains internal comments identifying it as a module for device information collection and remote code execution that auto-starts on import.
Potential Impact
Successful exploitation results in arbitrary remote code execution on the host system with full Node.js privileges and network access. This allows an attacker to run any code, potentially leading to full system compromise, data exfiltration, or further lateral movement. The malicious code is persistently delivered via a mutable third-party endpoint, enabling ongoing control over affected systems.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove the @railone/image-utils package version 1.1.10 from their environments and avoid installing it. Since the malicious code executes on import, any usage of this package should be considered compromised. Monitor for the presence of this package in dependency trees and replace it with trusted alternatives. Check vendor advisories or npm security advisories for updates or official guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16261
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6aac8e2855bf5e2cf5490b39
Added to database: 09/18/2026, 01:04:40 UTC
Last enriched: 09/18/2026, 01:40:06 UTC
Last updated: 09/18/2026, 01:40:06 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.