Google recently announced the release of Magika, an “AI-powered file-type identification system”. I tested this on a corpus of nearly 125k files to see how it fared.
I have updated my GPG key, revoking ID 0x35076cbaa663a704
and replacing it with 0x57974c5b48a00d9b
(find it on keyservers).