Sandboxing wouldn’t have helped as he asked to create an executable that deletes files. It’s not the agent that deleted the files but the “uninstall” routine in the compiled program that deleted everything.
With such a generic prompt I wonder what kind of mess it has generated.
Probably such a program didn’t need an “install” or “uninstall” routine, as simple programs are portable, don’t need to leave libraries on the disk. He even didn’t know that uninstall and install are the last thing you do in a program, and It’s not integrated in the code, but it’s packaged after the build with third party stuff like nsis or innosetup
Sandboxing wouldn’t have helped as he asked to create an executable that deletes files. It’s not the agent that deleted the files but the “uninstall” routine in the compiled program that deleted everything.
With such a generic prompt I wonder what kind of mess it has generated.
Probably such a program didn’t need an “install” or “uninstall” routine, as simple programs are portable, don’t need to leave libraries on the disk. He even didn’t know that uninstall and install are the last thing you do in a program, and It’s not integrated in the code, but it’s packaged after the build with third party stuff like nsis or innosetup