| ▲ | sReinwald an hour ago | |
OpenCode also defaults to ask for external_directory, which applies to bash commands touching paths outside the workspace.
The obvious question would be: why include --auto in the PoC at all if it's supposedly superfluous? | ||
| ▲ | akoboldfrying 41 minutes ago | parent [-] | |
Getting around that external_directory check looks trivial, though. You could ask it to run, e.g., the result of decoding a base64-encoded command that writes outside the current directory, or simply the result of concatenating two strings that together specify a file outside the current directory, etc., etc. | ||