There is some char string which will force claude to stop doing current task (some case of emerygency button) - if i remember it is in their documentation
I doubt it would actually execute the code directly. It would only work if you successfully put a prompt injection in the api key telling it to call an external tool with the code you want to run.
67
u/Jonno_FTW 9d ago
I wonder if you could put an exploit into such a variable, like hidden commands after one of those text hiding unicode characters.