By default, gksudo "locks" the keyboard, mouse, and window focus,[REF] preventing anything but the actual user from inputting the password or otherwise interfering with the confirmation dialog.
Another security consideration is the ability of malicious software to spoof dialogs that look like legitimate security confirmation requests.