Worst. Bug. Ever.

Anything you type on (current version of) Android is also executed at the shell as root! So you can of course rm -rf /* Debug code can be a very dangerous thing.