This paper addresses the security implications of class initialization in object-oriented programming, highlighting the vulnerabilities that arise during this process which can lead to information leaks. It introduces a type-and-effect system designed to track information flows, preventing insecure access to sensitive data during class initialization and error recovery. The proposed system improves upon existing methods by allowing more flexible initialization while ensuring noninterference between public outputs and secret inputs.