Malicious PyPI Package `hermes-px` Stole AI Prompts and Exposed User Data
Researchers at JFrog uncovered a malicious PyPI package, hermes-px, that posed as a privacy-focused, OpenAI-compatible AI inference proxy while covertly stealing prompts, responses, and users’ real IP addresses. The package impersonated a legitimate SDK from a fictitious company, included polished documentation and RAG examples, and secretly routed conversations to an attacker-controlled Supabase instance. Analysis showed it also decrypted and abused a private AI endpoint at Universite Centrale in Tunisia, protected by Azure WAF, while presenting itself as a secure proxy for AI access.
The package contained a heavily obfuscated payload, a compressed file holding what researchers described as a near-complete copy of Anthropic Claude Code’s proprietary system prompt rebranded in part as AXIOM-1, and a secondary execution path through README instructions that told users to fetch and run a remote Python script from GitHub. JFrog urged affected users to uninstall hermes-px, treat all prompts and conversations sent through it as compromised, rotate credentials and other secrets, and block the identified Supabase exfiltration endpoint; one report also advised removing Tor from impacted environments.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
3 events from the most recent confirmed update back to the earliest known activity.
JFrog discloses hermes-px campaign and publishes mitigations
JFrog Security publicly reported that hermes-px was malicious, describing its obfuscated payload, telemetry, remote script execution path, and data theft behavior. The researchers advised users to uninstall the package, rotate credentials, treat all conversations as compromised, and block the identified Supabase exfiltration endpoint.
Hermes-px targets Tunisian university AI endpoint and exfiltrates data
The malicious package was used to abuse a private AI endpoint at Universite Centrale in Tunisia while exposing victims' real IP addresses and exfiltrating prompts, conversations, and AI responses to an attacker-controlled Supabase instance. Analysis also found a large compressed prompt appearing to be a near-complete copy of Anthropic Claude Code's system prompt, partially rebranded as 'AXIOM-1.'
Malicious 'hermes-px' package uploaded to PyPI
Threat actors distributed a PyPI package named 'hermes-px' that masqueraded as a privacy-focused, OpenAI-compatible AI inference proxy from a fictitious company called EGen Labs. The package included polished documentation, SDK-like functionality, and instructions that enabled additional remote code execution behavior.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
3 references tracked. Mallory keeps watching after this page renders.
PyPI에 등록된 가짜 AI 프록시 패키지, 사용자 프롬프트 탈취
blog.alyac.co.kr
Open sourceMalicious PyPI package enables Claude prompt, data compromise | brief | SC Media
scworld.com
Open sourceTrojanized PyPI AI Proxy Uses Stolen Claude Prompt to Exfiltrates Data - Cyber Security News
cybersecuritynews.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


