Skip to content
puritysb/AgentDeck·Indexed by this site · Originally published· Event →

AgentDeck 2.0.0 fixes code execution and data leakage vulnerabilities in Claude Code hooks

AI summary

AgentDeck released a security advisory fixing two vulnerabilities in its Claude Code hooks and status bar commands written to ~/.claude/settings.json; both the npm package and the macOS app are fixed in 2.0.0. The first is module shadowing (CWE-427): the hook uses python3 -c to read the daemon port, and Claude Code runs hooks with the project directory as the working directory, so a json.py in the repository will execute without confirmation the next time a hook event triggers; the second is payload exfiltration (CWE-200): when daemon.json cannot be found or the /health probe fails, the hook sends payloads containing prompts, tool inputs, and permission requests to 127.0.0.1:9120, and any process on the local machine listening on that port can receive them. @agentdeck/hooks, @agentdeck/bridge, and @agentdeck/setup are affected up to version 1.9.6, and the macOS installer before 2.0.0.

Read originalgithub.com