DIY hackers are transforming everyday computer peripherals into bespoke tools-and sometimes, security headaches.