<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/devs-looking-for-openclaw-get-served-a-ghostclaw-rat-vfb6vo5x8" -->

---
title: Devs looking for OpenClaw get served a GhostClaw RAT
description: A malicious npm package named "@openclaw-ai/openclawai" impersonates the legitimate OpenClaw CLI installer to deploy a multi-stage attack dubbed GhostClaw....
canonical: https://daily.dev/posts/devs-looking-for-openclaw-get-served-a-ghostclaw-rat-vfb6vo5x8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Devs looking for OpenClaw get served a GhostClaw RAT | daily.dev
og:description: A malicious npm package named "@openclaw-ai/openclawai" impersonates the legitimate OpenClaw CLI installer to deploy a multi-stage attack dubbed GhostClaw....
og:url: https://daily.dev/posts/devs-looking-for-openclaw-get-served-a-ghostclaw-rat-vfb6vo5x8
og:image: https://api.daily.dev/og/posts/Vfb6VO5X8.png
og:image:alt: Devs looking for OpenClaw get served a GhostClaw RAT
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Devs looking for OpenClaw get served a GhostClaw RAT

**[CSO Online](https://daily.dev/sources/csoonline)** · 3 min read · 0 upvotes · 0 comments

## Summary

A malicious npm package named "@openclaw-ai/openclawai" impersonates the legitimate OpenClaw CLI installer to deploy a multi-stage attack dubbed GhostClaw. During installation, a postinstall script drops an obfuscated first-stage loader that displays a fake installer UI while fetching a second-stage payload. The malware socially engineers victims into entering their system password (allowing up to 5 attempts), then silently harvests browser credentials, SSH keys, cryptocurrency wallets, Apple Keychain data, and iMessage history. It establishes persistence via hidden directories disguised as npm telemetry services and shell hooks. A built-in RAT component enables SOCKS5 proxy tunneling and real-time browser session cloning. JFrog researchers advise treating any npm package that requests system credentials, runs postinstall scripts, or downloads external payloads as suspicious.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.csoonline.com/article/4142922/devs-looking-for-openclaw-get-served-a-ghostclaw-rat.html>

## Similar posts on daily.dev

- [New npm worm hits CI pipelines and AI coding tools](https://daily.dev/posts/new-npm-worm-hits-ci-pipelines-and-ai-coding-tools-3fx3mdyns) · InfoWorld · 0 upvotes · 0 comments
- [North Korea-linked npm packages impersonate Rollup polyfill tools to steal developer secrets](https://daily.dev/posts/north-korea-linked-npm-packages-impersonate-rollup-polyfill-tools-to-steal-developer-secrets-mvjcouuhx) · The Next Web · 2 upvotes · 1 comments
- [Mini Shai-Hulud strikes again: npm worm compromises hundreds of @antv packages](https://daily.dev/posts/mini-shai-hulud-strikes-again-npm-worm-compromises-hundreds-of-antv-packages-gsrjcznzd) · Aikido Security · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#javascript](https://daily.dev/tags/javascript), [#malware](https://daily.dev/tags/malware), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/devs-looking-for-openclaw-get-served-a-ghostclaw-rat-vfb6vo5x8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Devs looking for OpenClaw get served a GhostClaw RAT","url":"https://daily.dev/posts/devs-looking-for-openclaw-get-served-a-ghostclaw-rat-vfb6vo5x8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/devs-looking-for-openclaw-get-served-a-ghostclaw-rat-vfb6vo5x8"},"datePublished":"2026-03-10T11:04:38.932Z","dateModified":"2026-08-24T06:50:42.034Z","description":"A malicious npm package named \"@openclaw-ai/openclawai\" impersonates the legitimate OpenClaw CLI installer to deploy a multi-stage attack dubbed GhostClaw....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e848c05a47188367b19d8d6548927658?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e848c05a47188367b19d8d6548927658?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"CSO Online","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"CSO Online","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98667e4b5cac46cf9c470819c6cf71cd","url":"https://daily.dev/sources/csoonline"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/devs-looking-for-openclaw-get-served-a-ghostclaw-rat-vfb6vo5x8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,javascript,malware,npm","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"CSO Online","item":"https://daily.dev/sources/csoonline"},{"@type":"ListItem","position":3,"name":"Devs looking for OpenClaw get served a GhostClaw RAT"}]}
```

