It opens the command in nano/vim in the terminal and lets you edit it. Saving executes the final version.
Currently, the user has to be experienced enough to know if a command is safe to be executed. However, you are right, and I'll look into adding a safety feature that signifies if a command is potentially dangerous.