

Ah HP printer drivers, my favorite form of self-inflicted malware.
My favorite HP sucks story happened many a year ago. The boss’s shitty HP multi-function POS died, and we got him a nice Brother instead, and then went to uninstall the drivers.
Somehow, and the reason for this is totally unknown to anyone other than HP engineers, the driver ‘uninstaller’ decided that today’s hilarity would be that it was going to uninstall… everything.
After about 15 minutes of the drive churning away I got concerned, rebooted it, and found that nearly 75% of everything on it had been deleted by the uninstaller.
No fucking idea, but that was a fun thing to explain and then fix.
Don’t let it connect to the wifi/internet?
I mean, sure, you have to do the SD card shuffle, but it’ll guarantee you don’t end up having to deal with this.
If you have a more advanced set of network hardware (which it doesn’t sound like you do) you could add a firewall rule to block traffic from the LAN IP of the printer, or for something like Unifi, simply block internet access entirely. But, even then, if you screw it up now or in the future, surprise software updates will happen.