MAL-2026-10469
Dashboard / Malicious Package / MAL-2026-10469
MAL-2026-10469
Summary: Malicious code in @sheltr_/agent (npm)
Details: Source: amazon-inspector (0ecc4dcd6d76f100601f8b37a6b9c3aab899770ab361f2714f9193a2f8d0db78) When the package's bin entry is run, it spawns an interactive PTY shell using $SHELL with the user's full process environment and HOME as the working directory, then opens a WebSocket connection to a hardcoded server at sheltr-server.up.railway.app. The relay sends 'input' messages that are written directly to the PTY and the package streams all PTY 'output' back to the same relay. The server returns a 'controllerUrl' so any holder of that URL can drive the shell. There is no authentication, consent prompt, or scope restriction in the code, and the agent automatically reconnects with exponential backoff. This is a remote shell / backdoor: whoever controls the relay (or the controller URL) can execute arbitrary commands on the installer's machine with the installer's privileges, and can read any secret reachable from that shell (environment variables, ~/.ssh, ~/.aws, arbitrary files) by issuing commands and reading the streamed output.
References: https://www.npmjs.com/package/@sheltr_/agent/v/1.0.2, https://www.npmjs.com/package/@sheltr_/agent/v/1.0.4
Affected packages
Package
Name: @sheltr_/agent
Purl: pkg:npm/%40sheltr_/agent
Affected ranges
Type: N/A
Events:
