Google examine many millions of websites each day as part of their search technology and they check whether each of those websites contains anything harmful to viewers.
Sadly, they do find thousands of such websites each day – some are scam sites, some setup to deliver viruses to anyone viewing the site, some unknowingly contain other malware and some are legitimate sites where interlopers have added their own content.
If your search criteria will produce results including bad websites then Google will warn you. Google say they issue around 50 million such warnings per week on average.
Plus they have a site where you can type in any Internet address and Google will tell you if they have found anything dangerous at that site.
Go to https://transparencyreport.google.com/safe-browsing/search and try it.
Better safe than sorry.
N.B. The term “malware” covers a range of malicious software designed to cause harm, including ransomware, spyware, viruses, worms, and Trojan horses.
Do enter your email address and click on the subscribe button on top right to keep up to date with new posts.