Mozzarella

Home

Eval Villain

When you enable Eval Villain (select icon, then toggle slider), "dangerous" functions will be hooked at page load. Open the console (ctrl+shift+k) and reload the page. Every time one of the hooked functions is used, it will be printed to the console along with its arguments and stack trace.

The popup menu and Configure page (select icon, then "Configure") can be used to format EV output. For example, you can add a "needle" and EV will highlight all calls that contain that string or regular expression.

Pentesters/Developers:
EV was created primarily to find DOM XSS. To learn more about DOM XSS and how EV helps to find it, check out this video.

Malware:
EV typically discovers and exposes second stage JS automatically.

CSP:
Want to make a stronger CSP but removing `unsafe-eval` breaks the site? Use EV to get information on where `eval` is being called and why.

Install
Eval villain warning on the console for an Arbitrary CSS can be configured for each console group via the configuration page.