Don't forget about ransomware. Imagine the rogue package encrypted your files and demanded payment to get the decryption key. With public key encryption or a symmetric key that is securely deleted, there is no need for network access for the attack to succeed. A fast shutdown could protect most of your files.
https://en.m.wikipedia.org/wiki/CryptoLocker
Although I think the best way to deal with ransomware is a strong backup policy, not a tripwire shutdown trick.