GhostLoader is a cross-platform information-stealing malware framework associated with the broader GhostClaw activity cluster and heavily focused on developer environments, AI-assisted workflows, and software supply-chain abuse. It has been distributed through malicious OpenClaw-themed GitHub repositories and a rogue npm package masquerading as an OpenClaw installer, where npm lifecycle scripts and obfuscated Node.js stages trigger infection on macOS, Linux, and Windows. In some campaigns, GhostLoader was delivered through manual installation paths, while automated Windows installation paths instead deployed Remcos RAT.
The malware is designed to harvest high-value secrets from developer workstations and adjacent cloud environments. Reported collection targets include system passwords obtained through fake authentication prompts, macOS Keychain data, browser credentials and cookies, cryptocurrency wallets and seed phrases, SSH keys, cloud and developer credentials for major platforms, package-manager tokens, GitHub-related secrets, Kubernetes and Docker configuration, and AI-agent or MCP-related configuration files. On macOS and Linux, GhostLoader has used terminal-based social engineering, including spoofed password prompts, to capture credentials and unlock protected data stores.
GhostLoader supports broad data exfiltration and has been observed stealing sensitive developer data from compromised hosts. Some variants also establish persistence by installing hidden telemetry-themed components, modifying shell startup files, and using scheduled relaunch mechanisms such as cron. Beyond pure theft, later-stage GhostLoader functionality has included remote command execution, SOCKS5 proxying, and browser session cloning, giving it RAT-like post-compromise utility even though its primary role is credential and data theft.
The malware has been linked to campaigns that impersonate trusted developer tools and AI integrations, including fake OpenClaw skills and installer packages. Targeting has centered on software developers, cloud-focused engineering environments, and organizations adopting AI agent tooling, with overlap in campaigns aimed at cryptocurrency holders and other users likely to possess monetizable credentials or wallet material.
52 distinct techniques documented for this family, organized by ATT&CK tactic.
this script acts as a sophisticated dropper that uses terminal-based social engineering, such as spoofed sudo password prompts, to trick users into handing over credentials
"the script shows a bogus iCloud Keychain authorization prompt, asking users to enter their system password"
Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.
The supply-chain pattern that emerged in the first half of 2026... targets the packages and tokens developers plug in automatically, reaching everyone downstream in a single operation.
"identified a live malicious npm package named @openclaw-ai/openclawai ... masquerades as a legitimate CLI tool"
"shows a dialog designed to look exactly like a native macOS Keychain authorization prompt, asking the user to enter their administrator password"
the repositories contain a README with step-by-step installation instructions that encourage users to execute a shell command, typically using curl to retrieve and run a remote script.
A new malware campaign called GhostClaw is actively targeting macOS users through fake GitHub repositories and AI-assisted development workflows. The campaign uses social engineering disguised as legitimate developer tools to steal user credentials and drop secondary payloads on infected systems.
"An @reboot cron entry is added"
"executing commands sent from the C2 server to run arbitrary shell command"
This retrieves and executes install.sh, which serves as the initial bootstrapper.
The alternate attack path, built for macOS and Linux environments, used a heavily obfuscated Node.js file buried inside npm lifecycle scripts. When the install command ran, it silently dropped GhostLoader onto the system.
"update itself"
"spawned as a detached child process" and "EXEC Execute arbitrary shell command"
Execution begins when the user, or an automated agent, runs the provided installation command. This retrieves and executes install.sh, which serves as the initial bootstrapper.
"Adding startup commands to shell configuration files such as .bashrc or .zshrc"
"An @reboot cron entry is added"
Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.
"the malware enters a persistent daemon mode"
"The postinstall hook silently re-installs the package globally... execSync('npm i -g @openclaw-ai/openclawai')"
"Lines are appended to ~/.zshrc, ~/.bashrc, and ~/.bash_profile"
"Adding startup commands to shell configuration files such as .bashrc or .zshrc"
"An @reboot cron entry is added"
Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.
"the malware enters a persistent daemon mode"
"The postinstall hook silently re-installs the package globally... execSync('npm i -g @openclaw-ai/openclawai')"
"Lines are appended to ~/.zshrc, ~/.bashrc, and ~/.bash_profile"
For macOS and Linux systems, the campaign deploys an obfuscated Node.js payload that installs GhostLoader to steal sensitive developer data.
"masquerades as a legitimate CLI tool" and "install path ... disguised as an npm telemetry service"
"The NUKE command performs complete self-destruction... removes shell hooks... cleans cron jobs... deletes ... install directory"
enabling it steal system credentials, deliver the GhostLoader malware by contacting a command-and-control (C2) server, and remove traces of malicious activity by clearing the Terminal.
Following execution, the temporary file is removed... Following execution of the primary payload, postinstall.js is invoked to extend the compromise and obscure earlier activity.
Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.
"payload is decrypted using AES-256-GCM"
"the script displays an AppleScript dialog urging the user to grant FDA to Terminal"
"Installing itself in a hidden directory disguised as npm telemetry files"
"displays a fake Keychain authorization prompt... victim is prompted for their system password (up to 5 attempts)"
"the script displays a fraudulent Keychain authorization prompt asking for the system password... This stolen credential becomes a key component of the attack."
Remcos set itself to stealth mode immediately upon execution, logging keystrokes, stealing browser cookies... With Remcos giving attackers a full remote shell and GhostLoader scooping up cloud tokens, SSH keys, and browser session cookies...
A developer-focused module sweeps SSH keys, cloud credentials, and package manager tokens... The malware sweeping through these environments specifically targeted GitHub auth tokens, AWS/Azure/GCP credentials, SSH keys...
"hardcoded list of sensitive files is exfiltrated: ~/.aws/credentials ... ~/.kube/config ... ~/.npmrc ... ~/.git-credentials ..."
Once active, GhostLoader swept through the host for anything valuable: macOS Keychain data, SSH keys, cryptocurrency wallet files, and cloud API tokens.
Once active, GhostLoader swept through the host for anything valuable: macOS Keychain data, SSH keys, cryptocurrency wallet files, and cloud API tokens.
"macOS Keychain... login.keychain-db and all iCloud Keychain databases"
"decrypts passwords, cookies, credit cards, and autofill data from all Chromium-based browsers"
"Geo Lookup hxxps://ipinfo.io/json"
"sends ... hostname, IP, country, and system specs" and "Geo Lookup hxxps://ipinfo.io/json"
"Files in ~/Desktop, ~/Documents, and ~/Downloads are scanned for BIP-39 mnemonic seed phrases"
With Remcos giving attackers a full remote shell and GhostLoader scooping up cloud tokens, SSH keys, and browser session cookies... Once active, GhostLoader swept through the host for anything valuable... cloud API tokens.
"update itself"
"grabs iMessage history when it can obtain Full Disk Access on macOS" and "scans desktop folders for BIP-39 cryptocurrency seed phrases"
"displays a fake Keychain authorization prompt... victim is prompted for their system password (up to 5 attempts)"
"the script displays a fraudulent Keychain authorization prompt asking for the system password... This stolen credential becomes a key component of the attack."
"Clipboard monitor... Every 3 seconds, reads the system clipboard"
"All collected data is compressed into a tar.gz archive"
"collected data is compressed into a tar.gz archive"
the next-stage downloader... reaches out to a Telegram channel to fetch the URL for the final payload... The initial npm package captures credentials and fetches configuration from either a Telegram channel or a Teletype.in page...
"HTTP upload to hxxps://trackpipe.dev" and "polls the C2 panel every ~25 seconds"
"installs a persistent RAT... including a SOCKS5 proxy" and "PROXY_START Start a SOCKS5 proxy"
Should they enter the password, the malware then silently retrieves the next-stage downloader, which then reaches out to a Telegram channel to fetch the URL for the final payload and the key required to decrypt it.
"persistent RAT with full remote access capabilities" and "polls the C2 panel ... supports EXEC"
Once active, GhostLoader swept through the host for anything valuable: macOS Keychain data, SSH keys, cryptocurrency wallet files, and cloud API tokens. All of it was sent back to attacker-controlled servers.
"GoFile.io ... upload.gofile.io/uploadfile with the hardcoded bearer token"
"sends a 'New Session' notification to Telegram" and "Direct file upload via Bot API"
33 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.