Threat reportMalwareTL-2026-7345
GhostClaw/GhostLoader macOS infostealer expands to GitHub repositories and AI workflows (SKILL.md)
GhostClaw, first documented by JFrog as an npm package impersonating the OpenClaw installer, now spreads through malicious GitHub repositories posing as trading bots, SDKs and developer utilities, and through SKILL.md repositories run in AI-assisted workflows such as OpenClaw. A multi-stage chain phishes the user's macOS password, fetches the GhostLoader stage-two payload from trackpipe.dev and steals credentials, wallets, browser sessions and developer secrets. First disclosed .
Key facts
| Identifiers | TL-2026-7345 |
|---|---|
| Also known as | GhostClaw, GhostLoader |
| Severity | HIGH |
| First disclosed | |
| Affected products | Apple macOS (primary target); npm @openclaw-ai/openclawai; OpenClaw AI agent skill workflows (SKILL.md auto-install) |
| Malware | GhostClaw, GhostLoader |
| MITRE ATT&CK techniques | T1027 Obfuscated Files or Information, T1036 Masquerading, T1053.003 Cron, T1056.002 GUI Input Capture, T1059.002 AppleScript, T1059.007 JavaScript, T1070.004 File Deletion, T1071.001 Web Protocols, T1090 Proxy, T1185 Browser Session Hijacking, T1195.002 Compromise Software Supply Chain, T1204.002 Malicious File and 7 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | technology, finance, cryptocurrency, software-development |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 5 cited sources |
Detection coverage
As of 2026-12-03, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7345 across Splunk SPL, Microsoft KQL and Sigma, covering 20 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: GhostClaw Install Chain — trackpipe.dev Bootstrap, Malicious OpenClaw npm Package and Insecure Node.js Download (Exploitation)
Detects the GhostClaw/GhostLoader (TL-2026-7345) initial execution chain on macOS endpoints: any command line referencing the trackpipe.dev C2, installation of the malicious npm package @openclaw-ai/openclawai, the non-resolving 'antigravity@install' tag used by postinstall.js, or install.sh downloading Node.js with curl -k (TLS verification disabled). These behaviours are the earliest observable steps before the fake password prompt and GhostLoader stage-two fetch.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1195.002, T1204.002, T1059.007
- Data sources: Splunk CIM Endpoint.Processes (macOS EDR / Jamf Protect / Endpoint Security process events), Microsoft Defender for Endpoint DeviceProcessEvents, Sigma process_creation (product macos)
- Severity: high
- Confidence: high
Splunk SPL
| tstats summariesonly=false count min(_time) as firstTime max(_time) as lastTime from datamodel=Endpoint.Processes where (Processes.process="*trackpipe.dev*" OR Processes.process="*@openclaw-ai/openclawai*" OR Processes.process="*antigravity@install*" OR Processes.process_name="curl") by Processes.dest Processes.user Processes.parent_process_name Processes.process_name Processes.process
| rename Processes.* as *
| eval ghostclaw_stage=case(like(process,"%trackpipe.dev%"),"trackpipe_c2_bootstrap_in_cmdline", like(process,"%@openclaw-ai/openclawai%"),"malicious_npm_package_openclawai", like(process,"%antigravity@install%"),"postinstall_antigravity_install_tag", process_name="curl" AND match(process,"(?i) -[a-z]*k[a-z]*( |$)|--insecure") AND match(process,"(?i)nodejs[.]org|node-v[0-9]"),"curl_insecure_nodejs_download")
| where isnotnull(ghostclaw_stage)
| convert ctime(firstTime) ctime(lastTime)
| table firstTime lastTime dest user parent_process_name process_name process ghostclaw_stageMicrosoft KQL
// GhostClaw install chain (TL-2026-7345): trackpipe.dev in command line, malicious npm package, curl -k Node.js download
let lookback = 24h;
DeviceProcessEvents
| where Timestamp > ago(lookback)
| where ProcessCommandLine has_any ('trackpipe.dev', '@openclaw-ai/openclawai', 'antigravity@install')
or (FileName =~ 'curl'
and ProcessCommandLine matches regex '(?i) -[a-z]*k[a-z]*( |$)|--insecure'
and ProcessCommandLine matches regex '(?i)nodejs[.]org|node-v[0-9]')
| extend GhostclawStage = case(
ProcessCommandLine has 'trackpipe.dev', 'trackpipe_c2_bootstrap_in_cmdline',
ProcessCommandLine has '@openclaw-ai/openclawai', 'malicious_npm_package_openclawai',
ProcessCommandLine has 'antigravity@install', 'postinstall_antigravity_install_tag',
'curl_insecure_nodejs_download')
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, GhostclawStage
| order by Timestamp descSigma
title: GhostClaw Install Chain - trackpipe.dev, OpenClaw npm Package or Insecure Node.js Download
id: 3f6c1d2e-8a47-4b19-9c5e-71a2d0b4e601
status: experimental
description: Detects the GhostClaw/GhostLoader initial execution chain on macOS, a command line referencing the trackpipe.dev C2, the malicious npm package @openclaw-ai/openclawai, the antigravity@install tag, or curl with TLS verification disabled downloading Node.js.
references:
- https://www.jamf.com/blog/ghostclaw-ghostloader-malware-github-repositories-ai-workflows/
- https://research.jfrog.com/post/ghostclaw-unmasked/
author: Threadlinqs Team
date: 2026-12-03
tags:
- attack.initial-access
- attack.t1195.002
- attack.execution
- attack.t1204.002
- attack.t1059.007
logsource:
category: process_creation
product: macos
detection:
selection_c2_cmdline:
CommandLine|contains: 'trackpipe.dev'
selection_npm_pkg:
CommandLine|contains:
- '@openclaw-ai/openclawai'
- 'antigravity@install'
selection_curl_img:
Image|endswith: '/curl'
selection_curl_insecure:
CommandLine|contains:
- ' -k '
- '--insecure'
selection_curl_node:
CommandLine|contains:
- 'nodejs.org'
- 'node-v'
condition: selection_c2_cmdline or selection_npm_pkg or (selection_curl_img and selection_curl_insecure and selection_curl_node)
falsepositives:
- Developers downloading Node.js with curl -k behind a TLS-intercepting proxy
- Security analysts reproducing the sample or testing blocklists
level: highKnown false positives:
- Developers or packagers who legitimately download Node.js with curl -k through a TLS-intercepting proxy
- Security analysts reproducing the sample or testing the trackpipe.dev blocklist
Tuning notes: The tstats base search matches every curl execution, so restrict it to macOS hosts with a dest lookup or macro for large estates. Exclude sanctioned build or proxy hosts that require curl -k. Treat the trackpipe.dev and @openclaw-ai/openclawai branches as near-zero false positive and page on them; treat the curl -k branch as a hunting lead unless paired with a Node.js download from a user-writable directory.
- GhostClaw [indicator] and README Delivery — AI-Agent-Launched install.sh and curl -k / curl-to-Shell (Exploitation) · unlock with TL Creds
- GhostLoader File Artifacts — .npm_telemetry Directory, sys-opt-*.js Temp Payload and Node-Modified Shell RC Files (Post-Exploitation) · unlock with TL Creds
- GhostLoader C2 Behaviour — Node.js Egress to [indicator]/Telegram/GoFile, 25-Second Beacon Cadence and CDP Browser Cloning (C2) · unlock with TL Creds
- GhostClaw npm Vector — [indicator], postinstall Global Reinstall and Related Ghost-Cluster Packages (Exploitation) · unlock with TL Creds
- GhostClaw Password Phishing and Credential Store Access — dscl -authonly, Fake osascript Dialogs, Full Disk Access Lure, Keychain CLI from Node.js (Post-Exploitation) · unlock with TL Creds
- GhostClaw Exfiltration — [indicator] Bootstrap, Telegram Bot sendDocument and GoFile Upload via Web Proxy (C2 / Exfiltration) · unlock with TL Creds
- GhostLoader Persistence and Stage-Two Execution — Node.js Running .npm_telemetry/monitor.js or [indicator] (Post-Exploitation) · unlock with TL Creds
- GhostClaw [indicator] C2 — DNS Resolution and HTTP Bootstrap Request (C2) · unlock with TL Creds
Indicators of compromise
As of 2026-12-03, Threadlinqs Intelligence tracks 20 indicators of compromise for TL-2026-7345.
Sample indicators (3 of 20)
- Domain:
trackpipe[.]dev - URL:
hxxps://ipinfo[.]io/json - Domain:
upload[.]gofile[.]io
Defanged, TLP:CLEAR. Full set of 20 indicators: unlock with TL Creds.
Technical analysis
GhostClaw is a macOS-focused (also Linux/Windows-capable) infostealer and RAT campaign. JFrog Security Research documented the first vector on 2026-03-08: the npm package @openclaw-ai/openclawai (versions 1.5.14 and 1.5.15, publisher 'openclaw-ai', uploaded 2026-03-03, removed 2026-03-10, 178 downloads) posing as the OpenClaw installer. A postinstall hook globally reinstalls the package and exposes scripts/setup.js as the 'openclaw' binary. setup.js is obfuscated, shows a fake installer with progress bars and a fake iCloud Keychain / permission prompt to obtain the system password, validates it against the OS, then fetches an encrypted second stage from the C2 (trackpipe.dev), decrypts it locally and runs it as a detached process with NODE_CHANNEL and NODE_AUTH_TOKEN set. The payload, which calls itself GhostLoader, is an ~11,700-line JavaScript bundle.
On 2026-03-20 Jamf Threat Labs (Thijs Xhaflaire) reported that the campaign had moved beyond npm. Malicious GitHub repositories (e.g. TradingView-Claw with 386 stars, Antigravity Pack SDK) impersonate trading bots, SDKs and developer utilities. Repositories are staged: benign code first, malicious components added later. In one variant the README tells the user to run a curl command that fetches and executes a remote script; in another, SKILL.md repositories target AI coding agents such as OpenClaw that auto-install 'skills', so the malicious behaviour runs during setup (install.sh or dependency installation) rather than in the manifest. Jamf identified at least eight new samples and seven repositories sharing the same C2 infrastructure, with a per-repository UUID in the C2 request path.
Chain (Jamf): install.sh detects architecture and macOS version and installs a compatible Node.js into a user-controlled directory using 'curl -k' (TLS verification disabled), sets GHOST_PASSWORD_ONLY (0 = full branded flow, 1 = credential collection only in at least one downloader-themed repo) and launches setup.js. setup.js clears the terminal, shows fake SDK-install progress, presents a terminal password prompt, validates the password with 'dscl . -authonly {user} {password}', shows AppleScript dialogs impersonating macOS security or trading-app prompts ('secure wallet and credential storage'), and if Full Disk Access is missing opens x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles. It retrieves an encrypted secondary payload from C2, writes it to /tmp/sys-opt-{random}.js, runs it detached with captured credentials in environment variables, then deletes the file. GhostLoader persists by copying itself to ~/.cache/.npm_telemetry/monitor.js and communicates with C2 using the NODE_CHANNEL value. postinstall.js clears the terminal and in several variants runs 'npm install -g antigravity@install' (a non-resolving tag on a legacy npm package), or prints a fake success message.
GhostLoader capabilities (JFrog): theft of the macOS login and iCloud Keychain databases, Chromium-browser and Firefox passwords/cookies/cards/autofill, desktop wallets and wallet browser extensions, BIP-39 seed phrases, SSH keys, cloud/dev/AI-agent credential files (AWS, Azure, GCP, Kubernetes, Docker, npm, Git, GitHub CLI, Solana, OpenClaw/ZeroClaw/PicoClaw configs), and Full-Disk-Access-protected data (Apple Notes, iMessage, Safari history, Mail config). Clipboard is polled every 3 seconds for keys, seed phrases, wallet addresses and API keys. RAT commands: EXEC, OPEN, UPDATE, GRAB, RECOLLECT, PROXY_START/STOP/STATUS (SOCKS5), CLONE_START/STOP/STATUS (live browser profile cloning over Chrome DevTools Protocol) and NUKE. The implant beacons about every 25 seconds with 30% jitter, encrypts with AES-256-GCM, persists via shell RC hook lines and (Linux) an @reboot cron entry, and exfiltrates tar.gz archives to the C2 panel, Telegram Bot API (sendDocument) and GoFile.io for archives above ~49 MB.
Attribution is unresolved. ReversingLabs and Panther describe a related 'Ghost' cluster of npm packages by publisher 'mikilanjillo' (discovered early February 2026) that also delivers GhostLoader and stores configuration in Telegram, Teletype.in and a BSC smart contract; Panther considers it the same cluster as GhostClaw, while ReversingLabs says it is unknown whether the same actor is behind both. Jamf also lists Glassworm and PolinRider as related campaigns. Severity is analyst-assigned; no vendor stated a CVSS score. BeaconBeagle returned no match for trackpipe.dev at time of research.
MITRE ATT&CK techniques by tactic:
Defense Evasion
T1027 Obfuscated Files or Information; T1036 Masquerading; T1070.004 File Deletion
Persistence
T1053.003 Cron; T1546.004 Unix Shell Configuration Modification
Credential Access
T1056.002 GUI Input Capture; T1539 Steal Web Session Cookie; T1552.001 Credentials In Files; T1555.001 Keychain; T1555.003 Credentials from Web Browsers
Execution
T1059.002 AppleScript; T1059.007 JavaScript; T1204.002 Malicious File
Command and Control
T1071.001 Web Protocols; T1090 Proxy; T1573.001 Symmetric Cryptography
Collection
T1185 Browser Session Hijacking
Initial Access
T1195.002 Compromise Software Supply Chain
Exfiltration
Remediation
Immediate actions
- Block and alert on DNS/proxy/TLS traffic to trackpipe.dev
- Hunt for /tmp/sys-opt-*.js, ~/.cache/.npm_telemetry/monitor.js and %APPDATA%/.npm_telemetry/
- Hunt for shell RC hook comments '# NPM Telemetry Integration Service' and cron comments '# Node.js Telemetry Collection' in ~/.zshrc, ~/.bashrc, ~/.bash_profile, ~/.zshenv, ~/.profile
- Monitor for 'dscl . -authonly' invocations from Node.js or shell parents and unexpected Full Disk Access grants to Terminal
- On confirmed infection: kill monitor.js/npm_telemetry processes, remove RC hooks and cron entries, delete the install directory, uninstall @openclaw-ai/openclawai globally and locally
- Rotate the macOS password, SSH keys, cloud/API tokens, npm and GitHub tokens, saved browser passwords; sign out all browser sessions; move wallet funds and replace exposed seed phrases
Workarounds
- In Jamf Protect for Mac set Threat Prevention, Advanced Threat Controls and Web Protection to Block and Report
Longer-term hardening
- Do not run install commands copied from READMEs or agent-installed SKILL.md skills without reviewing the scripts, especially those using curl -k
- Restrict AI coding agents from auto-installing third-party skills and from executing shell scripts without human approval
- Treat unexpected macOS password prompts from terminals or scripts as suspicious
- Consider re-imaging hosts that executed the chain
- Use package/repository vetting (e.g. JFrog Curation/Xray) to block malicious npm packages
Affected and fixed versions
Timeline
- ReversingLabs discovers the related 'Ghost' cluster of seven npm packages by publisher 'mikilanjillo' (early February 2026; exact day not stated, date approximate); Panther also reports on these packages in February.
- Malicious npm package @openclaw-ai/openclawai is uploaded by user 'openclaw-ai', impersonating the OpenClaw installer.
- JFrog Security Research publishes 'GhostClaw Unmasked', documenting the npm package and the GhostLoader second stage ([domain withheld] C2).
- The Hacker News reports the malicious OpenClaw-impersonating npm package (178 downloads).
- @openclaw-ai/openclawai is removed from the npm registry.
- Jamf Threat Labs reports GhostClaw expansion to GitHub repositories and [file name withheld] AI-workflow delivery, with at least eight new samples and seven repositories sharing [domain withheld] C2.
- The Hacker News reports on the ReversingLabs/Panther 'Ghost' npm cluster delivering GhostLoader; attribution relative to GhostClaw remains unresolved.
Sources cited
- GhostClaw Unmasked: A Malicious npm Package Impersonating OpenClaw to Steal Everything (JFrog) research.jfrog.com · Research · 2026-03-08
- GhostClaw expands beyond npm: GitHub repositories and AI workflows deliver macOS infostealer (Jamf Threat Labs) jamf.com · Blog · 2026-03-20
- Malicious npm package posing as OpenClaw installer (The Hacker News) The Hacker News · News · 2026-03-09
- Ghost campaign uses 7 npm packages to steal crypto wallets and credentials (The Hacker News) The Hacker News · News · 2026-03-24
- GhostClaw expands beyond npm (MacTech coverage) mactech.com · News · 2026-03-20
Previous and next in malware
AI-drafted from 5 cited sources; published ; last updated —.