Threat reportSupply ChainTL-2026-1771
Joyfill npm Packages Compromised with Blockchain C2 Loader
Two @joyfill npm packages (@joyfill/components and @joyfill/layouts) were published on 2026-07-28 with 62 lines of obfuscated JavaScript injected directly into production dist bundles, executing at require()/import time with no install script. The payload uses a three-chain blockchain dead-drop (Tron -> BSC -> Aptos fallback) to relay an encrypted 77KB RAT client matching the PolinRider bot structure, with a detached node -e child-process fallback for persistence.
Key facts
| Identifiers | TL-2026-1771 |
|---|---|
| Also known as | ChainVeil |
| Severity | MEDIUM |
| Affected products | Joyfill @joyfill/components; Joyfill @joyfill/layouts |
| Weaknesses (CWE) | CWE-506 |
| Attribution | PolinRider (medium confidence) |
| Nation-state nexus | North Korea |
| Malware | JADESNOW |
| Tools | PolinRider |
| MITRE ATT&CK techniques | T1005 Data from Local System, T1027 Obfuscated Files or Information, T1027.010 Command Obfuscation, T1041 Exfiltration Over C2 Channel, T1059.007 JavaScript, T1071.001 Web Protocols, T1102.001 Dead Drop Resolver, T1105 Ingress Tool Transfer, T1129 Shared Modules, T1132.002 Non-Standard Encoding, T1140 Deobfuscate/Decode Files or Information, T1195.001 Compromise Software Dependencies and Development Tools and 11 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | technology, software-development |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 11 cited sources |
Detection coverage
As of 2026-08-13, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-1771 across Splunk SPL, Microsoft KQL and Sigma, covering 28 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Node.js Egress to Blockchain Dead-Drop RPC / Hardcoded HTTP C2 / MongoDB-Port Blend (EtherHiding C2)
Detects Node.js process egress toward the three-chain (Tron -> BSC -> Aptos) dead-drop RPC infrastructure used to resolve C2 routing data, the hardcoded HTTP C2 IPs the resolved campaign marker selects between, the MongoDB-port-27017 evasion trick on 23.27.202.27, and community-corroborated (TL_OSINT_Scan) sibling infrastructure sharing the same DPRK/Lazarus-tagged operator cluster. Because command resolution rides on public, unseizable blockchain RPC rather than attacker domains, egress to the RPC hosts themselves is a high-fidelity signal independent of any single IP/domain blocklist.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1102.001, T1071.001, T1132.002, T1105, T1571, T1041
- Data sources: dns_query_logs, proxy_logs, firewall_netflow, edr_network_events
- Severity: critical
- Confidence: high
Splunk SPL
(index=dns sourcetype="stream:dns") OR (index=proxy sourcetype IN ("pan:threat","zeek:http","squid")) OR (index=firewall sourcetype="cisco:asa")
| eval dest_indicator=coalesce(query, url_domain, dest, dest_ip)
| eval dest_port=coalesce(dest_port, url_port, 0)
| eval process_name=coalesce(process_name, app)
| eval detection_reason=case(
match(dest_indicator, "(?i)api\.trongrid\.io"), "tron_dead_drop_rpc_primary",
match(dest_indicator, "(?i)bsc-dataseed\.binance\.org"), "bsc_dead_drop_rpc_TLOSINT_2x_dprk_lazarus_tagged",
match(dest_indicator, "(?i)bsc-rpc\.publicnode\.com"), "bsc_dead_drop_rpc_fallback",
match(dest_indicator, "(?i)fullnode\.mainnet\.aptoslabs\.com"), "aptos_dead_drop_rpc_fallback",
(dest_indicator IN ("166.88.134.62","198.105.127.210","166.88.54.158") AND dest_port=443), "hardcoded_http_c2",
(dest_indicator="23.27.202.27" AND dest_port=27017), "http_c2_mongodb_port_blend",
match(dest_indicator, "(?i)(nexahub\.lat|kelemet\.shop|coalink\.support|webcamsdk-update\.online|team\.business\.in|web02eu\.live|callsdk\.online|tattomc\.com|prvservice\.com|techcross-es\.com|stomcs\.com|sevrrhst\.com)") OR dest_indicator IN ("144.172.110.53","88.119.171.59"), "tlosint_related_sibling_infra_dprk_cluster",
1=1, null())
| where isnotnull(detection_reason)
| eval is_node_process=if(match(process_name, "(?i)node(\.exe)?$"), 1, 0)
| stats count earliest(_time) as first_seen latest(_time) as last_seen values(detection_reason) as reasons values(is_node_process) as node_flag by src_ip, dest_indicator, dest_port, process_name
| sort - countMicrosoft KQL
let TronBscAptosRpc = dynamic(["api.trongrid.io","bsc-dataseed.binance.org","bsc-rpc.publicnode.com","fullnode.mainnet.aptoslabs.com"]);
let HardcodedC2Ips = dynamic(["166.88.134.62","198.105.127.210","166.88.54.158"]);
let SiblingInfraDomains = dynamic(["nexahub.lat","kelemet.shop","coalink.support","webcamsdk-update.online","team.business.in","web02eu.live","callsdk.online","tattomc.com","prvservice.com","techcross-es.com","stomcs.com","sevrrhst.com"]);
let SiblingInfraIps = dynamic(["144.172.110.53","88.119.171.59"]);
DeviceNetworkEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("node.exe", "node")
| extend DetectionReason = case(
RemoteUrl has_any (TronBscAptosRpc), "blockchain_dead_drop_rpc",
RemoteIP == "23.27.202.27" and RemotePort == 27017, "http_c2_mongodb_port_blend",
RemoteIP in (HardcodedC2Ips) and RemotePort == 443, "hardcoded_http_c2",
RemoteUrl has_any (SiblingInfraDomains) or RemoteIP in (SiblingInfraIps), "tlosint_related_sibling_infra_dprk_cluster",
"other")
| where DetectionReason != "other"
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteUrl, RemoteIP, RemotePort, DetectionReason, AccountNameSigma
title: Node.js Process C2 Egress — Blockchain Dead-Drop RPC and Hardcoded HTTP C2 (PolinRider/JADESNOW EtherHiding)
id: b243d561-a4e3-4f92-c3d2-4e5f6a7b8092
status: experimental
description: Detects Node.js process egress to the Tron/BSC/Aptos public RPC endpoints used as an EtherHiding dead-drop C2 resolver, the hardcoded HTTP C2 IPs the resolved marker selects between (including the MongoDB-port-27017 evasion trick), and TL_OSINT_Scan community-corroborated sibling infrastructure sharing the same DPRK/Lazarus-tagged operator cluster.
references:
- https://safedep.io/joyfill-npm-blockchain-c2-supply-chain/
- https://malpedia.caad.fkie.fraunhofer.de/details/js.jadesnow
author: Threadlinqs Team
date: 2026/07/30
tags:
- attack.command-and-control
- attack.t1102.001
- attack.t1071.001
- attack.t1132.002
- attack.t1105
- attack.t1571
- attack.exfiltration
- attack.t1041
- attack.tool.polinrider
logsource:
category: network_connection
product: windows
detection:
selection_proc:
Image|endswith:
- '\node.exe'
- '/node'
selection_deaddrop_domain:
DestinationHostname|contains:
- 'trongrid.io'
- 'bsc-dataseed.binance.org'
- 'bsc-rpc.publicnode.com'
- 'fullnode.mainnet.aptoslabs.com'
selection_hardcoded_c2:
DestinationIp:
- '166.88.134.62'
- '198.105.127.210'
- '166.88.54.158'
DestinationPort: 443
selection_mongo_port_blend:
DestinationIp: '23.27.202.27'
DestinationPort: 27017
selection_tlosint_sibling:
DestinationHostname|contains:
- 'nexahub.lat'
- 'kelemet.shop'
- 'coalink.support'
- 'webcamsdk-update.online'
- 'team.business.in'
- 'web02eu.live'
- 'callsdk.online'
- 'tattomc.com'
- 'prvservice.com'
- 'techcross-es.com'
- 'stomcs.com'
- 'sevrrhst.com'
DestinationIp:
- '144.172.110.53'
- '88.119.171.59'
condition: selection_proc and (selection_deaddrop_domain or selection_hardcoded_c2 or selection_mongo_port_blend or selection_tlosint_sibling)
falsepositives:
- Legitimate Web3/dApp development or crypto-wallet integration tooling running under Node.js that legitimately resolves public blockchain RPC endpoints
- Internal MongoDB deployments legitimately reachable on port 27017 from application hosts (filter by known-internal destination ranges)
level: criticalKnown false positives:
- Legitimate Web3/dApp development or crypto-wallet integration tooling under Node.js that independently resolves the same public blockchain RPC endpoints
- Internal application hosts with a genuine MongoDB service on port 27017 (filter selection_mongo_port_blend to only external/non-RFC1918 destinations)
Tuning notes: Refresh the tlosint_related_sibling_infra watchlist from TL_OSINT_Scan on each pipeline run (117 new community-related indicators were surfaced for this cluster at generation time); scope the MongoDB-port-blend leg to non-RFC1918 destinations only to suppress legitimate internal MongoDB traffic; alert with higher confidence when a single host triggers both selection_deaddrop_domain and selection_hardcoded_c2 within a short window, since that sequence matches the loader's actual resolve-then-connect behavior.
- Compromised @joyfill npm Dist Bundle Written to Disk (PolinRider/JADESNOW Loader Injection) · unlock with TL Creds
- Detached Hidden node -e Child Process Persistence (PolinRider Loader Fallback) · unlock with TL Creds
- Node.js Egress to Blockchain Dead-Drop RPC / Hardcoded HTTP C2 / MongoDB-Port Blend (EtherHiding C2) · unlock with TL Creds
- Compromised @joyfill npm Dist Bundle Written to Disk (PolinRider/JADESNOW Loader Injection) · unlock with TL Creds
- Detached Hidden node -e Child Process Persistence (PolinRider Loader Fallback) · unlock with TL Creds
- Node.js Egress to Blockchain Dead-Drop RPC / Hardcoded HTTP C2 / MongoDB-Port Blend (EtherHiding C2) · unlock with TL Creds
- Compromised @joyfill npm Dist Bundle Written to Disk (PolinRider/JADESNOW Loader Injection) · unlock with TL Creds
- Detached Hidden node -e Child Process Persistence (PolinRider Loader Fallback) · unlock with TL Creds
Indicators of compromise
As of 2026-08-13, Threadlinqs Intelligence tracks 28 indicators of compromise for TL-2026-1771.
Sample indicators (3 of 28)
- IP address:
166.88.134[.]62 - Domain:
api[.]trongrid[.]io - URL:
hxxps://registry[.]npmmirror[.]com
Defanged, TLP:CLEAR. Full set of 28 indicators: unlock with TL Creds.
Community OSINT corroboration
2 of this threat's indicators have also been reported by the open-source security community, which observed at least one of them before this report was published. Community sightings are unverified and are kept separate from Threadlinqs' curated indicators. Indicator values, reporters and campaign linkage are available to authenticated Red-tier users.
Technical analysis
Dead-drop and relay infrastructure is shared with the prior astro.config.mjs supply-chain campaign, tying this incident to the DPRK-attributed PolinRider/JADESNOW cluster.
On 2026-07-28, threat actors published malicious versions of two legitimate npm packages, @joyfill/components and @joyfill/layouts, at 10:54 UTC and 11:03 UTC respectively. Unlike typical npm supply-chain attacks that rely on postinstall scripts, the compromise here was injected directly into the packages' already-built production bundles (dist/index.cjs.js and dist/index.es.js): 62 lines of obfuscated code were spliced between the last legitimate utility function (sortLayoutItemsByColRow) and the FieldLayoutTypes constant, and the layouts bundle itself was swapped from a clean 37,318-line file for a 1,271-line malicious replacement built with vite-plugin-css-injected-by-js. Because the payload runs as a side effect of require()/import, any application pulling these versions executed attacker code automatically with no install-time trigger to detect.
The loader implements a three-stage, cross-chain dead-drop C2. Stage 1 sets a campaign marker in global scope (global["!"] = "9-0135-3") and exposes require/module globally, then queries the Tron blockchain (api.trongrid.io) for the latest transaction on a hardcoded address to obtain routing data, falling back to a Binance Smart Chain lookup (bsc-dataseed.binance.org, with bsc-rpc.publicnode.com as a secondary RPC) and decrypting the result with a hardcoded XOR key. Stage 2 reads the campaign marker to select one of three hardcoded HTTP C2 endpoints (166.88.134.62:443, 198.105.127.210:443, or a fallback at 23.27.202.27:27017 deliberately using the MongoDB port to blend in) while independently resolving a second Tron dead-drop address for command routing. If the primary path fails, the malware spawns a detached `node -e` child process with `windowsHide: true` and `stdio: "ignore"`, allowing the payload to persist after the parent process (and even the host application) exits. Decryption of the relayed blockchain transaction yields a 77KB LZ-compressed RAT client whose structure matches the PolinRider bot family, providing reverse-shell, credential-harvesting, file-exfiltration, and persistent-backdoor capability consistent with public reporting on PolinRider/DEV#POPPER-linked payloads.
Both malicious versions were unpublished by roughly 21:00 UTC the same day (~10 hours of exposure), but remained available on registry mirrors such as registry.npmmirror.com after the upstream takedown. Critically, the primary Tron dead-drop address (TMfKQEd7TJJa5xNZJZ2Lep838vrzrs7mAP) and the Aptos fallback hash pattern are identical to those used in the prior astro.config.mjs supply-chain campaign (a malicious pull request against the Egonex-AI/Understand-Anything repository, disclosed 2026-06-12), which used the same decoder function, shuffle marker, and dead-drop pattern documented by OpenSourceMalware as PolinRider-attributed. That campaign, in turn, sits inside a much larger 2026 wave of DPRK-linked npm/GitHub/Go/Composer/Chrome-extension compromises (ChainVeil, ViteVenom/SuccessKey, the mgc RAT package, and the 108-package PolinRider campaign) all sharing blockchain dead-drop infrastructure across Tron, BSC, and Aptos. The underlying technique -- storing and resolving C2 commands via public blockchain transactions instead of seizable domains/IPs (EtherHiding) -- was first documented by Mandiant in October 2025 as a DPRK tradecraft shift, and is formalized in Malpedia as the js.jadesnow (aka ChainedDown) downloader family, attributed to the WageMole/Famous Chollima/UNC5342/PurpleBravo cluster (a Lazarus Group / Contagious Interview offshoot) that typically delivers INVISIBLEFERRET as a follow-on persistent backdoor.
Because command resolution depends on public, unseizable blockchain RPC infrastructure rather than attacker-controlled domains, blocking the observed HTTP C2 IPs alone does not stop the second-stage compromise -- the Tron/BSC/Aptos dead-drop can still deliver a new payload pointer to any already-infected host. Defenders should treat outbound calls to Tron/BSC/Aptos public RPC endpoints from Node.js application processes, and detached `node -e` child-process spawns with `windowsHide`, as high-fidelity detection opportunities independent of any single IP or domain blocklist.
MITRE ATT&CK techniques by tactic:
Collection
Defense Evasion
T1027 Obfuscated Files or Information; T1027.010 Command Obfuscation; T1140 Deobfuscate/Decode Files or Information; T1564.003 Hidden Window
Exfiltration
T1041 Exfiltration Over C2 Channel
Execution
T1059.007 JavaScript; T1129 Shared Modules
Command and Control
T1071.001 Web Protocols; T1102.001 Dead Drop Resolver; T1105 Ingress Tool Transfer; T1132.002 Non-Standard Encoding; T1571 Non-Standard Port
Initial Access
T1195.001 Compromise Software Dependencies and Development Tools; T1195.002 Compromise Software Supply Chain; T1199 Trusted Relationship
Credential Access
T1552.001 Credentials In Files; T1555 Credentials from Password Stores
Persistence
T1554 Compromise Host Software Binary
Resource Development
T1583.006 Web Services; T1587.001 Malware; T1588.001 Malware; T1608.001 Upload Malware
Remediation
Patches
- No vendor patch applicable -- remediation is package version pinning/removal, not a CVE fix (no CVE assigned)
Immediate actions
- Remove @joyfill/components and @joyfill/layouts if a version published on or after 2026-07-28 10:54 UTC was installed; pin to a known-clean pre-compromise version
- Purge npm/CI caches and registry mirrors (e.g. registry.npmmirror.com) that may still serve the malicious tarballs after upstream removal
- Block outbound traffic to 166.88.134.62:443, 198.105.127.210:443, 23.27.202.27:27017, and the related 166.88.54.158:443 from build/CI and application hosts
- Hunt for detached `node -e` child processes spawned with `windowsHide: true` and `stdio: "ignore"` on developer workstations and CI runners
- Rotate any credentials or tokens present on machines that resolved the packages during the ~10-hour exposure window
Workarounds
- Use a private npm proxy/registry with allow-listed package versions to prevent automatic pickup of newly-published malicious versions
- Enforce lockfile-pinned exact versions with integrity hashes (npm `integrity` / `package-lock.json`) so a hijacked publish cannot be silently pulled in on next install
Longer-term hardening
- Deploy egress monitoring/alerting for Node.js processes calling Tron (api.trongrid.io), BSC (bsc-dataseed.binance.org, bsc-rpc.publicnode.com), or Aptos (fullnode.mainnet.aptoslabs.com) public RPC endpoints, since this dead-drop C2 pattern is reused across the PolinRider/ChainVeil/ViteVenom campaign family
- Adopt build-provenance verification (npm provenance, Sigstore, or SLSA attestation) so published bundle contents can be diffed against source-controlled build output
- Require code review of dist/build artifacts for internally-consumed packages rather than trusting registry-published bundles implicitly
- Subscribe to SafeDep/OpenSourceMalware/Socket npm-supply-chain advisories for continued PolinRider/JADESNOW infrastructure updates
Affected and fixed versions
- Joyfill — @joyfill/components
Vulnerable versions: version published 2026-07-28T10:54:00Z (unpublished ~2026-07-28T21:00:00Z)
Fixed in: any version prior to or after the malicious 2026-07-28 publish window - Joyfill — @joyfill/layouts
Vulnerable versions: version published 2026-07-28T11:03:00Z (unpublished ~2026-07-28T21:00:00Z)
Fixed in: any version prior to or after the malicious 2026-07-28 publish window
Timeline
Last updated · 2 updates
- Mandiant publishes 'DPRK Adopts EtherHiding: Nation-State Malware Hiding on Blockchains', the first public documentation of the blockchain dead-drop C2 technique underlying the JADESNOW family used in this incident.
- Cryptocurrency wallet later linked to the ViteVenom/PolinRider campaign family is first activated, per Checkmarx first-observed dating.
- Compromised npm package 'mgc' deploys a multi-platform RAT, an earlier related incident in the same DPRK npm-supply-chain wave.
- Sonatype reports a hijacked npm package attempting to deliver a PolinRider-linked RAT payload.
- astro.config.mjs supply-chain attack disclosed: a malicious pull request against Egonex-AI/Understand-Anything embeds a blockchain dead-drop loader sharing the same primary Tron address and Aptos fallback pattern later reused in the Joyfill compromise.
- First of seven ViteVenom-branded malicious npm packages (e.g. @uw010010/vite-tree) published, part of the wider PolinRider/SuccessKey npm campaign.
- Both malicious Joyfill package versions unpublished by approximately 21:00 UTC (~10 hours of live exposure); tarballs remain retrievable via registry mirrors such as registry.npmmirror.com.
- @joyfill/layouts published at 11:03 UTC with its dist bundle swapped for a 1,271-line malicious replacement of the clean 37,318-line file.
- @joyfill/components published at 10:54 UTC with 62 lines of obfuscated blockchain-C2 loader code injected into dist/index.cjs.js and dist/index.es.js.
- The Hacker News, Sonatype, and OpenSourceMalware report the broader PolinRider campaign (108 malicious packages/extensions across npm, Go, Composer, and Chrome), providing further attribution context for the Joyfill incident's operator.
- SafeDep publishes technical analysis of the Joyfill compromise; Malpedia indexes the incident and formally links it to the js.jadesnow (JADESNOW) malware family.
Update history
- 2026-08-13 — tweetfeed.live community intel: New TL_OSINT_Scan community intel: 1 newly-corroborated indicator(s), 67 community-related indicator(s).
- 2026-08-04 — tweetfeed.live community intel: New TL_OSINT_Scan community intel: 1 newly-corroborated indicator(s), 117 community-related indicator(s).
Sources cited
- Malpedia Library: Joyfill npm Packages Compromised with Blockchain C2 Loader malpedia.caad.fkie.fraunhofer.de · Research · 2026-07-29
- JADESNOW (Malware Family) malpedia.caad.fkie.fraunhofer.de · Research · 2026-07-29
- PolinRider: DPRK Threat Actor That Compromised Hundreds of GitHub Repos Is Unmasked opensourcemalware.com · Research
- PolinRider Jumps the Fence to Go, Packagist, npm, PyPI opensourcemalware.com · Research
- Famous Chollima Adversary Profile CrowdStrike · Vendor report
- WageMole (Threat Actor) malpedia.caad.fkie.fraunhofer.de · Research
- Joyfill npm Packages Compromised with Blockchain C2 Loader safedep.io · Blog · 2026-07-29
- astro.config.mjs Supply Chain Attack via Blockchain C2 safedep.io · Blog · 2026-06-12
- Hijacked npm Package Attempts to Deliver PolinRider-Linked RAT sonatype.com · Blog · 2026-05-01
- Seven Malicious Vite npm Packages Use Blockchain C2 to Deliver a RAT The Hacker News · News · 2026-07-01
- North Korean Hackers Publish 108 Malicious Packages and Extensions in PolinRider Campaign The Hacker News · News · 2026-07-01
More from PolinRider
- ChainDrop npm Worm and PolinRider DPRK-Linked Operation Use Blockchain C2 to Steal Cloud and CI/CD Credentials
- GHAPPIER Loader: npm Trusted-Publishing Abuse Compromises @dforge-core/dforge-mcp
- GHAPPIER Loader: npm Supply-Chain Compromise of @dforge-core/dforge-mcp Linked to DPRK PolinRider Campaign
- ChainVeil and ViteVenom Malware Linked to DPRK PolinRider Supply-Chain Campaign
- PolinRider DPRK Supply-Chain Campaign: Confirmed GitHub Footprint Grows 6.5x Since March (JADESNOW/Beavertail/InvisibleFerret Loaders, DEV#POPPER & OmniStealer Payloads)
Previous and next in supply chain
Further reading
Drafted by the Threadlinqs research pipeline from 11 sources; published ; last updated .