In theory the OS could warn whenever an unrecognized hardware device is attached but nobody does it and AFAIK there is no "authentication" support for devices.
USB-C has gone the other way and introduced the concept of authenticated chargers, which means you now need an X509 parser in your plug.
I've recently just stuck to overpaying for google/apple chargers and cables to keep it easier on myself. Been burned too many times.
The cool thing is how small it is, and it having wifi.
I have seen this guy showing some of his stuff off before on hak5's youtube.
Would be interesting to see if it could be put into a mouse USB, with passthrough so the user can use the mouse as normal. But I guess you could just stick it inside the mouse casing...as long as somebody doesn't inspect the insides of the mouse.