▌ANVIL

Anvil docs

Test a website for security weaknesses and for how it behaves under load. Written for people who have never done either.

QUICK START

  1. On the home page, type your domain (example.com) and press [ add ].
  2. Prove you own it (next section), then press [ check verification ].
  3. Tick I confirm I am authorized to test this target.
  4. Press [ RUN SECURITY SCAN ] (about 4 minutes), or start with a small load test.
  5. Open the run from RECENT RUNS to read the report.

To stop testing a site, open it and press [ remove site ]. That deletes its results here and never touches the site itself.

PROVE YOU OWN THE SITE

Nothing runs against a domain until you prove you control it. Pick one:

1. DNS TXT record (best, works for any site)

At your DNS provider add a TXT record on the domain itself with the exact value shown on the site page, loavul-verify=<token>. In Cloudflare: DNS, Add record, Type TXT, Name @. It can take a few minutes to appear.

2. A file on the site

Publish a text file at /.well-known/loavul-<token>.txt that contains the token.

Verification lasts 30 days. After that, press [ check verification ] again - keep the TXT record in place. (The loavul-verify name is a fixed protocol label and stays the same even though the app is called Anvil.)

Only public sites can be tested. Addresses that resolve to private or internal networks are always rejected.

SECURITY SCAN

Passive and gentle: it looks at what your site already sends and never attacks it.

ZAPCrawls a few pages and checks security headers, cookies, forms without anti-forgery tokens and information leaks.
NucleiLooks for exposed files and misconfigurations (for example /.git, /.env, open admin pages) at a low request rate.
testssl.shChecks HTTPS: TLS versions, weak ciphers, certificate validity, HSTS.

Findings from the three tools are merged into one list, worst first, with a FIX THESE FIRST box. Severity: CRITICAL/HIGH fix now, MEDIUM fix soon, LOW hardening, INFO is for awareness. Each finding says in plain English what is wrong and how to fix it.

LOAD TESTS

Sends many simulated visitors to one page and measures how the site holds up. Read-only: only GET requests.

In-clusterRuns from this server. Small and free: free plan allows up to 20 users, 60 seconds, one test per hour per site.
CloudStarts temporary machines on AWS in the regions you pick, so traffic comes from different parts of the world. They delete themselves when done. Needs a paid plan and the site owner's written permission.

Fields

pathThe page to hit, such as / or /shop. Try a heavy page (search, listings) as well as the home page.
usersSimulated visitors at the same time. A real person clicks about once every 10 seconds; a test user clicks several times a second, so 100 test users are roughly 1,000 real people.
secondsHow long the test lasts, including ramp-up and ramp-down.
presetSteady: constant load. Black Friday: warm up, ramp to 10x your normal peak, hold, ramp down. Big Sale: a quiet start, then a sudden jump to 10x.
peak usersYour normal peak. Black Friday and Big Sale multiply it by 10.
regionsWhere the traffic comes from. More regions means more total load.
bypass cachesAdds a random value to every request so a CDN cannot answer from cache. Use it to test your real server, not your cache.
max spendA hard cap on AWS cost for the test. The test stops if it is reached.

Safety: a test stops by itself when more than 50% of requests fail for 15 seconds, and you can press [ stop test ] at any time. Start small and double the load each run.

READING THE RESULTS

p95 latency95% of requests were faster than this. Watch it, not the average: it is what your slower visitors feel. Under about 500 ms is good; seconds is bad.
requests/secHow much the site served. If it stops rising while users keep rising, you have found the ceiling.
error rateThe share of failed requests. Above a few percent needs attention.
virtual usersThe load you asked for, over time.

Typical patterns

  • ▸ Requests/sec flat, latency climbing: saturation. Something is queueing (usually CPU, a database or a limit).
  • ▸ Errors only at the peak: you are past capacity; the first thing to break is what to fix first.
  • ▸ Fast, low latency everywhere: probably served from a cache - try bypass caches to test the server itself.

Error status codes

429Rate limited. A CDN, WAF or the server is deliberately slowing a single source that sends too much.
403Blocked, usually by a WAF or bot protection.
502 / 503 / 504The server or a proxy in front of it could not answer: overloaded, restarting, or has no healthy backend.
noneThe connection itself failed: refused, reset or timed out.

TROUBLESHOOTING

"could not find the DNS record"Wait a few minutes and press check again. The TXT record must be on the bare domain, with the exact token, and the name must be @.
"not verified (or verification expired)"Verification lasts 30 days. Press [ check verification ] again.
"Your plan allows up to..."The test is above your plan's limits. Lower users or seconds.
"Limit reached... per hour"Wait an hour, or use a smaller paid-plan limit.
cloud test failed to startAWS can be out of spot capacity in a region. Try again or pick another region.
buttons greyed outSwitch on the authorization toggle at the top of the site page.

GOOD TO KNOW

  • ▸ Only test sites you own or have written permission to test.
  • ▸ Every run is recorded (who, what, when, from which address).
  • ▸ Test during quiet hours first. A big test can slow your real visitors down.
  • ▸ Re-run after each fix: a fix is a claim, the rerun is the proof.