What happened
The malicious package loader decrypted and executed a second-stage payload during installation, searched for credentials, altered AI-development-tool configuration, and attempted to propagate through other packages.
2026-08-28
HighPrimaryAnalysis of ten malicious OpenAPI React Query Codegen releases that stole cloud and CI credentials, modified AI-agent configuration, and carried valid npm provenance.
What happened
The malicious package loader decrypted and executed a second-stage payload during installation, searched for credentials, altered AI-development-tool configuration, and attempted to propagate through other packages.
Why it matters
Potential theft of GitHub, cloud, registry, and CI credentials; unauthorized modification of Claude, Codex, Cursor, and MCP-related configuration; and further malicious package publication.
Missing authorization check
Independent authorization for release publication, credential access, and security-sensitive agent-configuration mutation rather than trusting workflow execution or package provenance alone.
Would PP block it?
A receipt-bound publish step could prevent a comment-triggered workflow from releasing an unapproved artifact, while runtime gates could deny unexpected secret reads and agent-configuration changes. Protection depends on keeping the gate and signing authority outside the compromised workflow and install process.
Incident analysis
2026-08-28
A threat actor publishes ten malicious package versions in two waves through the compromised release workflow.
2026-08-28
Socket publishes its technical analysis and identifies the latest release as compromised at the time of writing.
Authorization boundary
This incident is categorized as Credential exposure. The relevant Permission Protocol gate is Credential Gate. The read is conditional: the block only applies where the real action boundary is routed through a gate.
Permission Protocol cannot make a compromised package safe, but Credential and Tool-Call Gates can withhold release authority, secrets, and configuration writes unless the exact action has independent approval.
Start small
This incident maps to Credential Gate. Start with the boundary that controls the actual action, then require a signed receipt before execution.