Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningdata-exfiltration-methodai-platform-securityleaked-secret-api-key

Malicious PyPI Package `hermes-px` Stole AI Prompts and Exposed User Data

Updated 2mo agoFirst seen Apr 6, 20263 sources

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.

Share:
Malicious PyPI Package `hermes-px` Stole AI Prompts and Exposed User Data
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

3 events from the most recent confirmed update back to the earliest known activity.

3 EVENTS
Apr 6, 20263mo ago

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.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

6 LINKEDOpen in app
Affected products
2 linked
Claude CodeTor
Organizations
4 linked
JfrogAnthropicSupabaseOpenai
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.