What it checks, and how it scores
A grade is only worth something if you can see how it was reached. This is every check BEAST Scan runs, what each finding costs, and how the letter is worked out. Nothing is hidden and nothing is weighted in our favour: our own sites are scored by the same rules.
How the grade is worked out
Every site starts at 100. Each finding takes points off, by how serious it is:
| Severity | Points | What it means |
|---|---|---|
| Critical | 40 | Something an attacker can use today: private files downloadable, no working encryption. |
| High | 15 | A main defence is missing, or attacks pass unchallenged. |
| Medium | 6 | A real weakness that needs another flaw, or some luck, to be used. |
| Low | 2 | Good practice not followed. Worth doing, rarely urgent. |
| Note | 0 | Worth knowing. Costs nothing. |
| Grade | Score |
|---|---|
| A+ | 97 to 100, on a full scan |
| A | 90 and over |
| B | 78 and over |
| C | 62 and over |
| D | 45 and over |
| F | Below 45 |
Three rules sit on top of the score:
- Any critical finding is an F, whatever the score.
- No A with a high finding open. The best such a site can get is a B.
- A+ needs the deeper scan. An outside scan alone cannot earn it, because it has not seen how the site answers an attack.
The outside scan
Runs on any site. It does only what a browser or a search engine does: it loads the home page, follows the site's own redirects, and reads public records. Around five requests in all.
Encryption
- Plain http is sent on to https. High if not.
- The certificate is valid for the site's name. Critical if not.
- The certificate is not about to run out. High under 7 days, medium under 21.
- A current encryption version (TLS 1.2 or 1.3) is used. High if not.
- The outdated TLS 1.0 and 1.1 are refused. Medium each if accepted.
Browser rules
- Browsers are told to always use https (Strict-Transport-Security), for at least six months. High if missing, medium if short.
- Content rules (Content-Security-Policy) exist and do not allow scripts written into the page, text run as code, or scripts from anywhere. High if missing or wide open, low for smaller gaps.
- Browsers may not guess file types (X-Content-Type-Options). Medium.
- Other sites cannot show this one inside a frame. Medium.
- Full page addresses are not passed to other sites (Referrer-Policy). Low.
- Camera, microphone and location are restricted (Permissions-Policy). Low.
Cookies
- Every cookie set on the first page is marked Secure, HttpOnly and SameSite. Medium for a sign-in cookie, low otherwise.
What the page loads
- Nothing is loaded over unencrypted http. High.
- Scripts from other sites are pinned to an exact version. Medium.
- No form sends what people type to another site. Medium, since some are intended.
Giving little away
- Headers and the page do not announce software names with version numbers. Low each.
- A security.txt tells researchers where to report a problem. Note.
Email protection
- A list of permitted senders is published (SPF) and does not allow everyone. Medium if missing, high if it allows all.
- Receivers are told what to do with fake email (DMARC). Medium if missing, low if set to watch only.
The deeper scan
Runs only on a site you have proved is yours. Around thirty requests. Nothing is exploited: every attack is an inert imitation, sent to see whether it is refused.
Refusing attacks
- Ten imitation attacks are sent: two script injections, two database injections, a climb out of the site's folder, a shell command, a logging-library lookup trick, a template trick, a pointer at the host's own secrets, and an attack tool's name. Each should be refused. Medium if up to three get a normal answer, high if more.
- The page does not repeat what it is sent without making it safe. High.
- A site that blocks the scanner part-way through gets full marks for this section. That is the result we hope to see.
Nothing left lying around
- Ten files that are commonly left downloadable by mistake are asked for: settings and password files, source history, backups, database dumps, server status pages. A hit is confirmed by the file's contents, not just by the answer code. Critical.
Request handling
- The TRACE method is refused. Medium.
- A forged site name is not repeated back in links or redirects. High.
- A missing page gives a plain error, not the site's inner workings. Medium.
What it does not check
A scan sees a site from outside, the same way every time. It cannot see flaws in how a site's own features are built: who is allowed to see whose orders, whether a discount code can be reused, whether a password reset can be hijacked. Finding those takes a person, a penetration tester, and for a shop that takes payments it is worth paying for one. A good grade here means the common doors are shut. It does not mean there are no others.