G_Wagon
G_Wagon is a multi-stage information stealer delivered via malicious npm packages (notably "ansi-universal-ui") identified by researchers on January 23, 2026. The campaign abuses npm’s postinstall lifecycle hook to execute a Node.js dropper during installation, which downloads a portable Python runtime and then retrieves/executes heavily obfuscated Python payloads from attacker infrastructure hosted on Appwrite. Later iterations reduced disk artifacts by piping the Python payload via stdin and added anti-forensics/cleanup behavior.
Capabilities and targeting (as described):
- Credential and data theft from developer workstations, including browser credentials/passwords, cookies, and autofill data from Chrome/Edge/Brave.
- Theft of cryptocurrency wallet data, including targeting data from 100+ browser wallet extensions (examples listed: MetaMask, Phantom, Coinbase Wallet, Trust Wallet, Ledger Live, Trezor Suite, Exodus, Atomic Wallet).
- Theft of cloud/infrastructure secrets: AWS access keys/AWS CLI material, Azure authentication tokens/Azure CLI material, Google Cloud service account keys/Google Cloud SDK material, SSH private keys (~/.ssh/), and Kubernetes configs (~/.kube/config).
- Theft of communication/auth artifacts including Discord tokens, Telegram session data (tdata), and Steam authentication files.
Platform-specific behavior noted:
- Windows: uses DPAPI to decrypt browser data; later versions include a base64-encoded, XOR-encrypted Windows DLL payload and perform process injection/in-memory execution using NT native APIs (e.g., NtAllocateVirtualMemory, NtCreateThreadEx) and call an exported entry point named "Initialize".
- macOS: extracts browser encryption material via Keychain and uses OpenSSL to decrypt login data.
Exfiltration and infrastructure:
- Stolen data is compressed and exfiltrated/uploaded to attacker-controlled Appwrite storage buckets (network indicator guidance includes unexpected traffic to *.appwrite.io).
- A host-based indicator described is a marker/execution-counter file at ~/.gwagon_status.
Infection/affected versions:
- Reported malicious versions of the npm package "ansi-universal-ui" include 1.3.5 through 1.4.1 (with rapid iteration across ~10 versions over ~2 days).
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.