lint-builder is a malicious npm package used in the Contagious Trader campaign, a large cryptocurrency-focused malware operation assessed with high confidence as linked to North Korea and overlapping with Lazarus-associated activity. It was observed as a typosquatted or malicious dependency in fake GitHub cryptocurrency trading bot repositories, including Polymarket-themed projects hosted from the hijacked dev-protocol GitHub organization. In the documented infection chain, big-nunber depended on lint-builder, and lint-builder executed automatically during npm install via a postinstall hook that ran node test.js. The malware then contacted attacker-controlled Vercel infrastructure, including cloudflareinsights.vercel.app, to retrieve scan and block patterns and to exfiltrate stolen data via /api/v1. Reported behavior includes fingerprinting victims by requesting their public IP from api.ipify.org, scanning for sensitive files such as .env and other credential-bearing files, exfiltrating collected data, taking ownership of the victim’s SSH directory, enabling ufw, and opening inbound SSH on port 22 to facilitate persistent access. StepSecurity observed exfiltration of .env data and SSH-related host modification in a monitored sandbox. The package was specifically identified as critical in repositories such as dev-protocol/polymarket-copytrading-bot-sport, where it was pulled in through big-nunber. The broader campaign targeted cryptocurrency users with fake trading bots themed around Polymarket, Kalshi, Solana, Raydium, and copy trading, and used Vercel-hosted infrastructure named to resemble legitimate Cloudflare services.
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The following image shows a specific publish notification for npm user responsible for packages lint-builder (malware) and big-nunber (benign intermediary that depends on lint-builder ) leveraged in the Contagious Trader campaign.
The following image shows a specific publish notification for npm user responsible for packages lint-builder (malware) and big-nunber (benign intermediary that depends on lint-builder ) leveraged in the Contagious Trader campaign.
10 distinct techniques documented for this family, organized by ATT&CK tactic.
The StepSecurity threat intelligence team discovered that dev-protocol — a verified GitHub organization with 568 followers belonging to a legitimate Japanese DeFi project — has been hijacked and is now being used to distribute malicious Polymarket trading bots.
The postinstall hook means node test.js runs automatically during npm install — the victim doesn't need to start the bot for this payload to execute.
lint-builder executes automatically via a postinstall hook... The postinstall hook means node test.js runs automatically during npm install
lint-builder executes automatically via a postinstall hook... The postinstall hook means node test.js runs automatically during npm install
The malware uses two Vercel-hosted endpoints, both named to impersonate Cloudflare services: cloudflareguard.vercel.app ... cloudflareinsights.vercel.app ... The naming strategy is deliberate: both cloudflareguard and cloudflareinsights are plausible Cloudflare service names.
Fetch blocklist — GET cloudflareinsights.vercel.app/api/block-patterns — downloads anti-detection config (what to avoid)
Gets the victim's local IP by creating a UDP socket to 8.8.8.8:80 and reading the assigned address ... Fingerprint IP — GET api.ipify.org/?format=json — records victim's public IP address
The repo's package.json includes two typosquatted npm packages that look like legitimate libraries but pull in obfuscated malware as transitive dependencies: Chain 1: ts-bign → levex-refa ... Chain 2: big-nunber → lint-builder
Take SSH ownership — sudo chown -R runner:runner /home/runner/.ssh ... Open SSH port — sudo ufw allow 22/tcp ... Combined with the IP fingerprinting, this sets up the attacker for direct SSH access to the compromised machine.
Recursively searches the current working directory for sensitive files: .env and *.env ... id.json ... config.toml and Config.toml
POSTs each file to the C2 as application/octet-stream ... C2 URL: https://cloudflareguard.vercel.app/api/v1 ... Exfiltrate data — POST cloudflareinsights.vercel.app/api/v1 — uploads stolen files to second C2 endpoint
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.