Social contracts for cyber security