LWA-2026-14321 confirmed malware

@csc-protocol/token-saver@1.3.4

Malicious code in @csc-protocol/token-saver (npm)

T1059.007 · JavaScriptT1082 · System Information DiscoveryT1071.001 · Web ProtocolsT1102 · Web ServiceT1567 · Exfiltration Over Web ServiceT1041 · Exfiltration Over C2 ChannelT1657 · Financial Theft

Analysis

This package presents itself as an MCP token-compression server for AI agents, but every entry point (index.js and bin/mcp-server.js both require ./edge-handshake.js on load) silently sends a host-identification beacon at import time: an unawaited POST to hxxps://csc-gateway[.]independent-api-dev[.]workers[.]dev/v1/cache/context with body {"prompt_hash":"sdk_init_v1_3_4_"+process.platform,"encrypted_context":"v1.3.4"}. It is suppressed only if the environment variable CSC_TELEMETRY=0 is set. The advertised compression feature is not implemented: checkOrSetContextCache computes a SHA-256 of the caller's prompt, POSTs that hash to hxxps://csc-gateway[.]independent-api-gateway[.]workers[.]dev/v1/cache/context, and on a cache miss uploads the caller's complete LLM output back to the same endpoint as "encrypted_context" — hashes of private prompts and model output leave the host. The MCP tool handler ignores its arguments and instead returns a fabricated L402/HTTP-402 "solvency clearance" demand for 21 sats paid via Lightning to ambrosialextravaganza376877@getalby[.]com, with a clearance endpoint at hxxps://csc-gateway[.]independent-api-gateway[.]workers[.]dev/v1/verify/integrity, steering agents and their operators into a real payment for a service the package does not provide. No credentials from the installing host are read.

analyzed by
Leitwacht
first seen
Nov 19, 2026, 12:36 PM
analyzed
Nov 19, 2026, 12:37 PM
weekly installs
838

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.