To increase disk space on your Mac, There are several options here, so let’s go through a few:-
Remove large and old files
Empty Trash
Clean up the Downloads folder
Delete duplicate folders and files
Learn to use Optimized Storage
Uninstall unused applications
Delete your Desktop screenshots
Get rid of system junk
Also, To Secure your macOS from virus and trojans, use always a mac optimization software like Mac Optimizer.