cnighswonger/claude-code-cache-fix

cnighswonger/claude-code-cache-fix

Releases46
Frequency1 day 7 hours
Last Release
Stars290
Fixes prompt cache regression in Claude Code that causes up to 20x cost increase on resumed sessions

CVE History

CVEPublishedCVSS v3CVSS v2
7.8 HIGH

claude-code-cache-fix is a cache optimization proxy for Claude Code. From 3.5.0 to before 3.5.2, tools/quota-statusline.sh (introduced in v3.5.0) interpolates Claude Code's hook stdin payload directly into a Python triple-quoted string literal. A ''' byte sequence in any user-controlled field of the payload closes the literal early and lets following bytes execute as Python in the user's Claude Code process. This vulnerability is fixed in 3.5.2.