Could Mozilla create an automated security scanner for scripting languages, have it run in the browser prior to rendering and warn users of common vulnerabilities as well as the potential exploitation of websites?
Basically an extension of the “Warning: Potential Security Risk Ahead” that displays for self-signed certificates and other security risks.