About 10 years ago Windows was considered the epitome of poor security. Today the iOS has taken the crown. Although OSX or the iOS is nowhere nearly as popular as Android or the Microsoft Windows environments, hackers and others who wish to acquire personal information from the users of Apple devices, have found loopholes to transmit the users' information without their knowledge.
As long as you operate offline, you should be fine.