Dont thing so, because of step 1. If you do the same without being logged ok.
You are wrong, It's not a vulnerability cause your are login and you enter a script as an administrator.
Feel free to do the same without being connected and we will talk about.
Deleting a branch is permanent. It CANNOT be undone. Continue?