Detect security errors in web applications