aiwow.dev went online and got 561 attack probes in its first day
in Web security
A new site gets scanned within hours of going live, and the dashboard you built to watch it can be empty without telling you.
- What did I want to know?
- Where did the numbers come from?
- Who knocked on the web server?
- Did the rate limit do anything?
- Who tried to log in over SSH?
- How many people actually read it?
- What changed after day one
- Strong and weak points
- Summary
What did I want to know?
I wanted three answers after the first day: did anyone attack the site, how many people visited, and which pages they read. aiwow.dev went public on 8 November. About 21 hours later I asked a coding agent to find out.
The site runs on one server: Caddy in front, a FastAPI app behind it, Postgres, and a log shipper that sends container logs to hosted dashboards. The whole stack is in What runs aiwow.dev. Before launch I had built an attacks dashboard, a traffic dashboard and a readership dashboard for exactly these questions.
| Tool | Used for |
|---|---|
| Caddy 2.11.7 with the caddy-ratelimit module | HTTPS, per-address rate limits, one JSON log line per request |
| fail2ban | bans an address after repeated failed SSH logins |
| Python 3.13 | a one-off script that counted the log lines |
| Claude Code | pulled the logs over SSH, counted them, wrote this draft |
Where did the numbers come from?
The numbers came from the container log on the server, because the dashboards were empty. The log shipper reads container logs through a small proxy in front of the Docker socket. That proxy still held a socket from before a Docker restart on 5 November, so it handed the shipper nothing. Another chat found this at 21:34 UTC on 8 November and restarted the proxy. Until then, every panel I built for launch day showed no data. No alert fired either: the log alerts (a probe burst, a 429 flood, a 5xx burst) treat "no data" as "all well", so a dead shipper looked like a quiet day.
Figure 1's dashed arrow is the gap. Caddy wrote every line to its container log as designed. The lines just never left the box.
So the agent read them where they were. The first try failed: the auto-mode permission check stopped an SSH read of production, and then the server refused the key because it needed a passphrase. Once I loaded the key, the agent pulled 3,979 access lines covering 23:59 UTC on 7 November to 21:11 UTC on 8 November, and counted them with a short Python script. The container had been up 22 hours, so the log covers its whole life.
Each log line holds a masked address: the last part of an IPv4 address is dropped (a /24), and an IPv6 address keeps only its first 32 bits. Query strings, cookies and auth headers are deleted before the line is written. Every count of "addresses" below counts these masked ranges, never people.
Who knocked on the web server?
31 address ranges sent 561 requests looking for files that should never be public, and none of them got one. They asked for secrets and back doors:
22 /wp-admin/install.php
8 /.git/config
7 /.env
5 /.env.local, .production, .prod, .dev (each)
4 /.docker/config.json
4 /wp-json/batch/v1
3 /wp-login.php
3 /db.sql
statuses: 404 x 440, 429 x 121
The site has no WordPress, and the image build leaves out .env files and .git, so every one of these was a 404 or a rate-limit answer. The script also checked whether any probe got a 200 or a 5xx. None did. Across all 3,979 lines there were zero 5xx errors.
Each request takes one of four steps, numbered as in Figure 2:
- Over 120 page requests a minute from one address range: Caddy answers 429.
- A path that doesn't exist, such as
/.env: 404. - A real page goes to the app and comes back 200.
- Every exit writes one masked log line.
If you count probes, count them at every status. Once a scanner passes the rate limit it gets 429s, so a count of 404s alone misses the noisiest scanners. Here, 121 of the 561 probes were 429s.
Did the rate limit do anything?
Yes: two address ranges hit the limit 251 times between them, 182 and 69. Both sent a browser user agent (Chrome on Windows), and the paths behind their 429s were /.git/config, /.aws/credentials, /appsettings.json and /wrangler.toml. A reader doesn't ask for those. The limit is 120 page requests a minute per address, with a higher one for static files so a normal page load never trips it.
There is no automatic ban for web traffic, and I'd keep it that way. The log only holds masked ranges, so a ban built from it would block a whole /24, neighbours included. For a blog with nothing to steal behind a 404, I'd rather watch and alert.
Who tried to log in over SSH?
70 addresses tried 55 made-up user names over SSH in the same window, and fail2ban banned 23 of them. The server allows key logins only, for two named users, with no root login. So a guessed name fails before any password is asked. The most tried names:
6 administrator
5 sol
5 admin1
4 solv
4 solana
4 app
3 zabbix ubuntu postgres daoperator branch
sol, solv, solana and daoperator are crypto validator accounts. The bots that hit SSH are hunting for crypto nodes on any fresh server. The one accepted login in the window was a key login of mine.
How many people actually read it?
About 117 masked address ranges fetched a page with a browser-like user agent, and most read only the home page. The number is rough in both directions. Several readers on one network count as one range, which lowers it. A scanner or crawler that sends a plain browser user agent and asks for a real page counts as a reader, which raises it.
| Page | Views | Address ranges |
|---|---|---|
/ |
103 | 80 |
/runs |
17 | 7 |
| Start here | 12 | 11 |
| Serializing git pushes across parallel AI agents | 10 | 9 |
| four other posts | 5 each | 4 to 5 |
The biggest single source of traffic was my own uptime check: 2,545 of the 3,979 lines, from four probe addresses. Leave it out first, or every chart is mostly a picture of the monitor.
What changed after day one
Two things changed the same evening. The proxy restart got logs flowing to the dashboards again. And another chat added a daily report: at 06:00 UTC a timer reads the last 24 hours of probes, 429s and 5xx answers and mails a summary with a CSV of every such request. The attacker's paths and user agents are made safe before they land in the CSV, so a cell like =cmd|... can't run as a spreadsheet formula.
The report reads the same logs the dashboards do. It shares their blind spot: if the shipper stops again, the report goes quiet too. A failed run mails a notice, but a run that succeeds on zero lines looks like a quiet day.
Two days later, SSH left the public internet. Port 22 now answers only on a private network that my machines and the deploy job join, and the firewall drops it everywhere else. The deploy job joins that network for each run with a short-lived identity from the CI provider, so no long-lived network key is stored. The 96 guessed log-ins in the SSH section describe day one; a bot on the open internet can no longer reach the login prompt at all.
Strong and weak points
Where the setup won:
- Nothing private was reachable. 561 probes, zero 200s, zero 5xx.
- The rate limit caught the two loudest scanners without touching readers.
- SSH key-only meant 96 guessed log-ins never reached a password prompt.
- The log kept no full address, no query string and no cookie, and still answered every question.
Where it lost:
- The dashboards were empty all of day one, and nothing alerted, because the log alerts read "no data" as "all well". I had a dashboard for attacks and none for "is the log shipper alive".
- Reader counts are fuzzy by design: masked ranges merge people and let fake browsers in.
- The answers needed a manual SSH read, a passphrase and a one-off script.
- Before launch, a ZAP active scan of the dev stack passed 135 checks with 0 failures, but its spider never reached
/searchor/docs, so those pages are less tested.
Summary
- A new site is scanned within hours: 561 probe requests from 31 ranges on day one, mostly for
.envfiles and WordPress paths. - Count probes at every status: rate-limited scanners show up as 429s.
- SSH bots on a fresh server are mostly hunting crypto nodes; key-only login stops them before a password prompt.
- A log alert that reads "no data" as "all well" stays silent when the shipper dies. Check that logs are arriving before you trust an empty dashboard.
- Masked addresses give a rough reader count; filter out your own uptime check first.
- Add an alert that fires when Caddy's log lines stop arriving for 15 minutes, so a silent shipper is caught the same hour.
- Make the daily report say how many lines it read, and flag a day with zero.
- Point the next scan's spider at
/searchand/docsdirectly.