logoalt Hacker News

akoboldfryingtoday at 9:03 AM0 repliesview on HN

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.