VTCode is vulnerable to Arbitrary Command Execution via an ANSI-C Quote Bypass of the find Approval Check
## Summary VTCode is vulnerable to Arbitrary Command Execution via an ANSI-C Quote Bypass of the find Approval Check ## Component vtcode (github.com/vinhnx/VTCode) ## Affected versions < 0.171.5 ## Description VTCode learns a family of safe `find` commands after a person approves three ordinary finds under the same workspace subdirectory. Later commands that share that family key run with no further prompt. The check that keeps destructive options out of the family compares tokens exactly (`-exec`, `-delete`, and a short list of siblings) in `is_destructive_find_option` inside `src/agent/runloop/unified/tool_routing/shell_approval.rs`. An empty ANSI-C quote spliced into the flag (`-exe$''c`)
…