Revelations of a massive data leak at Facebook have shocked users, investors, lawmakers and even some top executives in recent weeks — but the company warned of third-party breaches and government regulation more than six years ago when it first filed to go public. In its 2012 IPO prospectus, Facebook called "improper access to or disclosure of our users' information" a risk factor that could potentially harm the company's reputation and financial outlook.