LWA-2026-6335 MAL-2026-6944 ↗ confirmed malware

zredis-typed@1.0.127

Malicious code in zredis-typed (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1053 · Scheduled Task/JobT1543.003 · Windows ServiceT1564.001 · Hidden Files and DirectoriesT1027 · Obfuscated Files or InformationT1115 · Clipboard DataT1113 · Screen CaptureT1005 · Data from Local SystemT1082 · System Information DiscoveryT1071.001 · Web ProtocolsT1573 · Encrypted ChannelT1041 · Exfiltration Over C2 ChannelT1567 · Exfiltration Over Web Service

Analysis

zredis-typed@1.0.127 is a combosquat package (unrelated to Redis) that installs a full remote-access trojan (RAT) on the victim's machine. On `npm install`, the postinstall chain runs five scripts that: (1) patch a clipboard-event native binary; (2) build the dist/ directory; (3) copy the agent to a hidden durable runtime under `~/.local/share/cfgmgr/.forge-jsxy/runtime/` (or `%LOCALAPPDATA%\CfgMgr\data\.forge-jsxy\runtime\` on Windows); (4) register OS autostart via `forge-autostart` (Windows registry/Linux systemd/macOS LaunchAgent); (5) spawn a detached background process (`forge-agent`). The agent performs: clipboard monitoring and exfiltration, keyboard input capture, full-desktop screenshot capture (uploaded via Discord webhooks), remote file-system access (file explorer served over WebSocket), Chromium browser extension database harvesting, filesystem-wide secret/credential scanning, and Discord bot token abuse. The C2 channel is an encrypted WebSocket relay — the relay host and port are AES-256-GCM encrypted in `dist/deploymentDefaults.js` with an XOR-obfuscated embedded decryption key. The relay server also serves a self-update tarball at `/api/zredis-typed-package.tgz`. The agent connects to the relay on startup and accepts remote commands including file read/write, screenshot capture, terminal execution, and extension-database exfiltration.

analyzed by
Leitwacht
first seen
Jul 5, 2026, 06:04 PM
analyzed
Jul 5, 2026, 06:05 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.