Every check / code-uses-eval

Does your site's code turn text into code and run it?

We read the script files your site serves from its own domain and look for eval() and for new Function built from a string.

How it decides

Framework runtimes and well-known libraries are left out, so the check is about code written for your site. It speaks up when it finds either, and counts them by file.

Run this check on any website

Free, with no account. It sends the site nothing an ordinary visitor would not.

Why it matters

When the text it runs comes from the address bar, a form or anything else a visitor can influence, an attacker gets to run their own code on your site as your visitor.

In more detail

It also stops a content security policy from working, which blocks the fix for a whole class of problems.

Who fixes it, and where it runs

Who usually fixes it
Whoever built your site
Which plan runs it
The Business plan
Proof you own the site
Not needed. It sends your site nothing an ordinary visitor would not.
More about this check
Who it is about
An intruder
Listed under
Things that should not be public
Its name in a report
code-uses-eval