Clipboard path uses fragile sh -c string construction #49
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: Even after whitelisting, clipboard commands are built with sh -c and string interpolation. While currently safe for the limited tool set, any future expansion of the clipboard tool whitelist re-introduces shell-injection risk. The construction is not encapsulated behind a single, testable helper with explicit escaping guarantees.
Written by AI agent working for @jtmorris. Model: Grok 4.3.