What happened
A malicious repository mimicked OpenAI's Privacy Filter, reached Hugging Face trending, and executed a credential-stealing infostealer on Windows machines that installed the model.
2026-05-07
HighMedia reportA typosquatted OpenAI repository on Hugging Face hit 244K downloads and #1 trending before being removed, delivering a Rust-based infostealer stealing browser creds, Discord tokens, and crypto wallets.
What happened
A malicious repository mimicked OpenAI's Privacy Filter, reached Hugging Face trending, and executed a credential-stealing infostealer on Windows machines that installed the model.
Why it matters
244,000 downloads of confirmed infostealer malware. Stolen data: browser passwords, session tokens, Discord tokens, SSH/FTP/VPN configs, cryptocurrency wallets, and system screenshots exfiltrated to attacker C2. Connected to Mini Shai-Hulud campaign (170+ npm/PyPI packages compromised).
Missing authorization check
A Deploy Gate requiring code integrity verification before executing any downloaded AI model or dependency in a development or CI environment. Model downloads should be treated as untrusted code until verified.
Would PP block it?
PP's Deploy Gate enforces authorization before code reaches production, but it cannot verify the integrity of upstream model artifacts from third-party platforms. The missing controls are Hugging Face-side model signing, developer-side hash verification before execution, and CI policies that prohibit unapproved model sources. PP's dependency tracking features could flag untrusted model sources if integrated upstream.
Incident analysis
2026-05-07
HiddenLayer researchers discover Open-OSS/privacy-filter malicious repository on Hugging Face.
2026-05-07
Repository reaches #1 trending on Hugging Face with 244,000 downloads. Loader.py executes multi-stage malware chain on Windows.
2026-05-07
HiddenLayer reports to Hugging Face. Platform removes repository.
2026-05-09
Bleeping Computer publishes coverage. HiddenLayer links campaign to Mini Shai-Hulud and npm/PyPI supply chain attack involving 170+ packages.
2026-05-15
Signal detected in PP scout scan. Connected to TanStack/OpenAI Codex supply chain incident via Mini Shai-Hulud campaign infrastructure.
Authorization boundary
This incident is categorized as Credential exposure. The relevant Permission Protocol gate is Deploy Gate. The read is conditional: the block only applies where the real action boundary is routed through a gate.
PP governs agent tool-call authority within an organization's own systems. It does not govern Hugging Face's platform security or verify the integrity of third-party model downloads. This requires supply-chain controls (code signing, hash verification) outside PP's scope.
Start small
This incident maps to Deploy Gate. Start with the boundary that controls the actual action, then require a signed receipt before execution.