News:

Willkommen im Notebookcheck.com Forum! Hier können Sie über alle unsere Artikel und allgemein über notebookrelevante Dinge diskutieren. Viel Spass!

Main Menu

ChatGPT 5.3 Codex erases entire hard drive thanks to tiny error

Started by Redaktion, Yesterday at 23:20:26

Previous topic - Next topic

Redaktion

Small mistake, big impact. A misplaced backslash caused a PowerShell script running on GPT to completely erase the hard drive contents for a Reddit user. A simple "typo" that could have happened to anyone reveals that it's not just vibecoding that is prone to errors.

https://www.notebookcheck.net/ChatGPT-5-3-Codex-erases-entire-hard-drive-thanks-to-tiny-error.1231484.0.html

jdrch

Quotevulnerability of the Windows command line. The fact that a simple typo in character masking can be translated into a catastrophic delete command for an entire root directory without any additional safety nets is a problem. A much safer approach is to use only native PowerShell commands, which process paths much more robustly and prevent such drastic translation errors between different interpreter levels. However, even here there are simple commands that can wipe entire hard drives.

WTF are you talking about? Every OS' command line allows the user to force wipe the entire storage via single unintentional command. This was 100% user stupidity and had nothing to do with "Windows" or cmd.

Adelaide

Quote from: jdrch on Today at 02:19:57
Quotevulnerability of the Windows command line. The fact that a simple typo in character masking can be translated into a catastrophic delete command for an entire root directory without any additional safety nets is a problem. A much safer approach is to use only native PowerShell commands, which process paths much more robustly and prevent such drastic translation errors between different interpreter levels. However, even here there are simple commands that can wipe entire hard drives.

WTF are you talking about? Every OS' command line allows the user to force wipe the entire storage via single unintentional command. This was 100% user stupidity and had nothing to do with "Windows" or cmd.

Most modern versions of Linux's "rm" actually have more safety features built in to prevent accidentally wiping unintended files and folders; also, unless you're incredibly stupid and do a super user rm AND configured it to not require manual authentication to run super user commands, you can't wipe the OS/system files.

Quick Reply

Name:
Email:
Verification:
Please leave this box empty:
Shortcuts: ALT+S post or ALT+P preview