How can I fix '"HPDM.framework" will damage your computer' on macOS Big Sur? Since updating to macOS Big Sur, I can no longer print to my HP DeskJet 1010 printer. Each time that I start a print job, I get a dialog with error message that says '&quot;HPDM.framework&quot; will damage your computer'. There is no way to bypass the warning in 'System Preferences' -&gt; 'Security &amp; Privacy' as there might be with applications that have expired or invalid developer certificates.
N.B. I did find a workaround that involved removing the printer from 'System Preferences' -&gt; 'Printers &amp; Scanners' then adding it again with generic print drivers, but this blocked me from using some of the features I typically use, such as printing with just the black cartridge.
After much trial and error, I was finally able to get my HP DeskJet 1010 printer working again with the following steps:

Download and run the HP Uninstaller app
Download and install HP Printer Drivers v5.1 for macOS
Open 'System Preferences' -&gt; 'Printers &amp; Scanners', right-click the box labeled 'Printers' and select 'Reset printing system...' (if you have more than one printer, you may want to remove just the non-functioning profile by selecting it and clicking the '-' button).
Click the '+' button to add a new printer, select 'HP DeskJet Series', and follow the prompts.

It is my suspicion that this will work with other HP printers affected by their revoked developer certificate.