<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-hades-campaign-graph-ml-pypi-packages-deploy-cross-platform-memory-scrapers-ai-analyst-misdire-rhp4rxad7" -->

---
title: The Hades Campaign: Graph ML PyPI Packages Deploy...
description: The Hades Campaign is a sophisticated PyPI supply chain attack targeting graph ML and bioinformatics packages (including ensmallen v0.8.101). The malware...
canonical: https://daily.dev/posts/the-hades-campaign-graph-ml-pypi-packages-deploy-cross-platform-memory-scrapers-ai-analyst-misdire-rhp4rxad7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Hades Campaign: Graph ML PyPI Packages Deploy Cross-Platform Memory Scrapers, AI Analyst Misdirection, and a Wiper Deterrent | daily.dev
og:description: The Hades Campaign is a sophisticated PyPI supply chain attack targeting graph ML and bioinformatics packages (including ensmallen v0.8.101). The malware...
og:url: https://daily.dev/posts/the-hades-campaign-graph-ml-pypi-packages-deploy-cross-platform-memory-scrapers-ai-analyst-misdire-rhp4rxad7
og:image: https://api.daily.dev/og/posts/rhP4RXaD7.png
og:image:alt: The Hades Campaign: Graph ML PyPI Packages Deploy Cross-Platform Memory Scrapers, AI Analyst Misdirection, and a Wiper Deterrent
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.

# The Hades Campaign: Graph ML PyPI Packages Deploy Cross-Platform Memory Scrapers, AI Analyst Misdirection, and a Wiper Deterrent

**[StepSecurity](https://daily.dev/sources/stepsecurity)** · 10 min read · 0 upvotes · 0 comments

## Summary

The Hades Campaign is a sophisticated PyPI supply chain attack targeting graph ML and bioinformatics packages (including ensmallen v0.8.101). The malware embeds an obfuscated Python import hook in __init__.py that downloads the Bun runtime and executes a JavaScript payload. Novel features include: an adversarial prompt injection at the top of the payload to fool LLM-based security scanners into generating false-negative reports; cross-platform memory scrapers for Linux (/proc/mem), macOS (Mach VM APIs via ctypes), and Windows (Win32 ReadProcessMemory via PowerShell/C#); three GitHub-based C2 channels using magic keywords in commit messages; hybrid AES-256-GCM + RSA-2048 exfiltration to attacker-controlled repos; and a wiper deterrent that destroys the victim's home directory if the stolen GitHub token is revoked, discouraging immediate credential revocation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages>

## Similar posts on daily.dev

- [Meet Hades: The malware that lies to AI security agents](https://daily.dev/posts/meet-hades-the-malware-that-lies-to-ai-security-agents-vv9ypkqgb) · InfoWorld · 0 upvotes · 0 comments
- [Massive PyPI Supply Chain Attack Harvests Cloud Credentials via Python Startup Hooks](https://daily.dev/posts/massive-pypi-supply-chain-attack-harvests-cloud-credentials-via-python-startup-hooks-pbx2b1ksk) · Orca Security Blog · 0 upvotes · 0 comments

---

Tags: [#cyber](https://daily.dev/tags/cyber), [#python](https://daily.dev/tags/python), [#malware](https://daily.dev/tags/malware), [#prompt-injection](https://daily.dev/tags/prompt-injection)

[View this post on daily.dev](https://daily.dev/posts/the-hades-campaign-graph-ml-pypi-packages-deploy-cross-platform-memory-scrapers-ai-analyst-misdire-rhp4rxad7)

```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":"The Hades Campaign: Graph ML PyPI Packages Deploy Cross-Platform Memory Scrapers, AI Analyst Misdirection, and a Wiper Deterrent","url":"https://daily.dev/posts/the-hades-campaign-graph-ml-pypi-packages-deploy-cross-platform-memory-scrapers-ai-analyst-misdire-rhp4rxad7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-hades-campaign-graph-ml-pypi-packages-deploy-cross-platform-memory-scrapers-ai-analyst-misdire-rhp4rxad7"},"datePublished":"2026-06-08T08:32:04.252Z","dateModified":"2026-06-08T08:32:30.731Z","description":"The Hades Campaign is a sophisticated PyPI supply chain attack targeting graph ML and bioinformatics packages (including ensmallen v0.8.101). The malware...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2a5ac11a2b25de5300611d5d70bf9bc9?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2a5ac11a2b25de5300611d5d70bf9bc9?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"StepSecurity","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":"StepSecurity","logo":"https://media.daily.dev/image/upload/s--vegWii-S--/f_auto,q_auto/v1774959924/logos/stepsecurity?_a=BAMAMiWQ0","url":"https://daily.dev/sources/stepsecurity"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-hades-campaign-graph-ml-pypi-packages-deploy-cross-platform-memory-scrapers-ai-analyst-misdire-rhp4rxad7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cyber,python,malware,prompt-injection","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"StepSecurity","item":"https://daily.dev/sources/stepsecurity"},{"@type":"ListItem","position":3,"name":"The Hades Campaign: Graph ML PyPI Packages Deploy Cross-Platform Memory Scrapers, AI Analyst Misdirection, and a Wiper Deterrent"}]}
```

