claude-code-hooks

Warn

Audited by Socket on Jun 18, 2026

1 alert found:

Anomaly
AnomalyLOW
references/hook-recipes.md

No clear malware/backdoor behavior is evident in the shown hook recipes. However, the design introduces substantial security/privacy risk: it can persistently log tool commands and file changes to disk, propagate local .env secrets into another env file, and exfiltrate untrusted permission/notification messages to an external Slack webhook via curl. Additionally, because it executes shell commands based on event payload fields, robust allowlisting/escaping is not consistently enforced, leaving room for injection or bypass if upstream inputs are attacker-controlled.

Confidence: 60%Severity: 67%
Audit Metadata
Analyzed At
Jun 18, 2026, 06:04 AM
Package URL
pkg:socket/skills-sh/GhostTypes%2Fpokemon-go-mcp%2Fclaude-code-hooks%2F@127dfa38d5a38f34d42c492cc5f29bac30d6ae742d1b1383413d29fb865ce1cf
Security Audit — socket — claude-code-hooks