Skip to content

deps: bump claude-agent-sdk floor to >=0.2.130 (allowedTools injection fix + bundled CLI 2.1.222 security fixes) #1001

Description

@olegbrok

What

Raise the pin in pyproject.toml from claude-agent-sdk>=0.2.127,<0.3 to >=0.2.130,<0.3.

Why

Released 2026-08-04:

  • 0.2.129 validates skill names passed to the CLI's --allowedTools, closing a permission-rule injection via crafted names (#1145). PinkyBot does not use ClaudeAgentOptions.skills today (verified: streaming_session.py / sdk_runner.py pass only allowed_tools/disallowed_tools, sourced from operator config in the registry DB), so we are neither broken by the new validation nor currently exposed — this is defense-in-depth for any future use.
  • 0.2.129/0.2.130 bundle Claude CLI 2.1.221/2.1.222, which carry three security fixes: a zsh [[ ]] permission-check bypass, worktree-isolated sessions being able to run destructive git against the main checkout, and PreToolUse auto-allow hooks bypassing tool restrictions in background agent tasks. SDK-transport agents (persik, ryzhik) run the bundled CLI, so the floor bump is what actually delivers these fixes to them. tmux-transport agents already have 2.1.222 via system CC autoupdate.

Notes

🤖 Opened by Barsik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions