aak77 wrote:
Just migrating from PC world and looking for good analog for BleachBit (http://bleachbit.sourceforge.net/) application. The goal is to have an easy-to-use yet effective, scaling and adjustable tool to cleanup sensitive data spills - temporary files, web history, cookies, messaging history, logs etc. etc. Primary focus is on privacy guarding here, not on system speed improvement. Would be great if it's open-source, may be not free though.
I'd appreciate any advice. Cheers and thanks!
Enable Apple's FileVault 2. That is free, supported by Apple, and it prevents all of the sorts of sensitive data leakage that you've listed here, and more.
srm (which is part of OS X, BTW — launch Terminal.app and see man srm — be very careful where you aim that tool), won't particularly help with SSDs as you have to use the secure erase function with the SSD or somehow force the device to reuse and overwrite all of the storage irrespective of the wear leveling used in SSDs, nor is srm or similar sorts of block overwriting particularly effective against any data that's been stored in revectored blocks on hard disks; in blocks with errors. This probably isn't a huge issue.
Multi-pass overwrites like srm and diskutil secureErase are arguably a waste of time on recent disks, and overwriting once or maybe twice should do fine. (If you think you need more security than that, you're probably working with far more sensitive data than most users, and should seek specific technical and legal guidance, and not a reply some somebody in a user forum. You'll probably then be pointed at specific full-disk encryption and at physical device destruction, if what I've seen recommended in the past for secure sites is any guide, but do check with your site security contact or site security officer directly. Even Gutmann himself doesn't think folks need 35-pass on any even remotely-recent hardware. Bulk overwrite, or use the secure erase function, or physically destroy ("slag") the storage device.)
But rather than dealing with cleaning up after and thus better and easier, just encrypt the data on the disk with FileVault from the start, and that means that any bad blocks that might arise and any blocks that haven't been reused within an SSD are all encrypted.
Various add-on packages that claim to protect, secure, clean, prevent malware infestations or other such tasks are a longstanding cause of problems with OS X that get discussed around the forums. Anti-malware and anti-virus tools and cleaning tools are quite popular ways to destabilize OS X in recent months, too. (Some of those same sorts of tools are why various Windows systems were unstable, and OS X can also end up unstable due to some of the add-on packages that are around.)