While malware hasn’t found a fertile home on the Mac for decades, scammers keep trying. As many of you have experienced, adware and other software that delivers unwanted content or an unwanted experience abounds—like redirecting you to a specific website for searching or turning all Amazon links into affiliate links that earn the scammers a commission until they’re shut down.
Even with vigilance against nasty threats, you or (more likely) someone you know may have installed otherwise reasonable seeming software that hijacks Safari in some particular way. That includes a rather nasty way in which you can be prevented from changing your homepage in Safari in Safari > Preferences > General, then the Homepage field.