you can do many ugly things with NSIS (wouldn't be the first time I deleted ntldr by mistake, for example. d'oh!). All you need to find out is what command is used to format a drive that does not ask for user confirmation, and then run it. Given the nature of such an event, I think that's about as much information as I'm comfortable giving 😉