Security analysis