The security of the Mac platform has been rocked after a hacker cracked it in just ten seconds.