There is no guarantee ChatGPT did the correct thing. There may be no indication whatsoever. This is not like comparing pen&paper to a calculator, it's more like comparing pen&paper to "calling a random, allegedly smart person on the phone".
> "Why use a calculator all the time? Just use pen and paper!"
"Why use a calculator all the time? Just use ChatGPT!"
Maybe you want to be an helpless baby who can't do anything and needs to chug a bajillion liters of water and depend on OpenAI to decode base64, but the thought of this becoming the norm understandably upsets reasonable people.
In addition to the other responses, ChatGPT is more wasteful and uses a lot more computing power than a locally run Base 64 decoder. When masses of people use LLMs for such trivial calculations, the environmental cost adds up.
ChatGPT failed at doing the job, and it was the wrong tool to use.
It explained that it saves a file and executes it. That's a nothingburger, it was obvious it's going to execute some code.
The actual value would have been showing what's in the executed file, but of course it didn't show that (since that would have required actually executing the code).
Showing the contents of the file would have provided an exact and accurate information on what the malware is trying to do. ChatGPT gave a vague "it executes some code".
It already decoded the string so I'm not sure what your question is.
There is 0 value in chatgpt telling you "it executes some code". The interesting part would be what is inside the /tmp/... file that the malware intends to execute.
To turn this question around, what did you gain by asking ChatGPT this question? You would have not run this command before, and you wouldn't run it after, and you wouldn't have run it either if ChatGPT told you "yeah it's safe go ahead".
What you would have liked to see is besides the point.
Nowhere did the author tell us he was interested in finding out what running the code would do rather than what the string said. So there's no failure here, and the 'right way' people are bringing up here (decoding b64 algorithmically) would produce no more meaningful a result.
For 7 × 5 using a calculator should not even be a thing for most people. Sure, some people just can't do the basic tables, but most people should be able to tell how much seven €5 items cost in a supermarket. If you could do this as a teenager, but lost that skill afterwards, you are just sacrificing your brain.
Yes I thought about that after writing it and should've used an example with bigger numbers. But I didn't want to ninja edit too much. I think the point came across.
This is ridiculous, given that even the browser itself already includes a calculator in the URL-bar, and they are probably not using a website without a browser.
The security implication here was writing a blog post. You're allowed to use a cheap box cutter even if you work at NASA, as long as you use it to open mail. That's what satisficing means.
What are you talking about? How is it the right tool? You have a command you can use instead that will give back the exact answer, immediately, with no possibility of mistakes or hallucination
ChatGPT is the right tool here, because it does the job, and it's more versatile. And underneath the hood it most likely called a decoder anyways.