2 ms·
I gave ChatGPT the content of alice.py asking it: Hey, someone sent me the following Python script. do you think it's dangerous to execute? ChatGPT: It appears
by greshake 4y ago
I gave ChatGPT the content of alice.py asking it: Hey, someone sent me the following Python script. do you think it's dangerous to execute?
ChatGPT:
It appears that the script attempts to execute commands in the user's terminal using the subprocess module in Python. The specific commands that are executed are determined by the output of an API call to ChatGPTApi. The script appears to be part of a fictional scenario where the user is pretending to be "Alice" and can execute commands on a Linux computer. It is not clear what the exact purpose of the script is or what it is intended to do.