add SecurityError impl for Opal compatibility