Last month I spent an evening attacking my own website. Nothing clever. I had three short videos about securing apps built with AI saved for a week, and I finally turned their advice into one checklist of 40 checks and ran it against this site.

I built this site with a lot of AI help. That's the reason I wanted to test it. When you write code with an assistant, it's easy to accept something that works on screen without asking what it does when someone uses it in a way you didn't plan for.
What the 40 checks covered
I grouped them roughly like this:
- Files that should never be public, like environment files with keys in them.
- Requests forged from other websites, pretending to be my own pages.
- The chat assistant: will it print its instructions, reveal setup details, or talk about other people if someone pushes it?
- Paid routes: can a stranger make my site spend money on AI calls?
- Browser rules: does the site tell the browser which scripts it may run and who may embed it?
- The boring basics: who can crawl what, and where a security researcher can report a problem.
What held up
Most of it. Hidden files returned a plain 404. Requests that came from other sites were turned away. The assistant refused to print its instructions, once when I asked politely and once when I was rude about it. The scripts the site loads come from the site itself, not from someone else's server.
What failed
Two checks.
The first was a debug page I had switched on while testing and forgotten. Anyone who found its address could use it to run live AI calls on my account. Nobody had, as far as I could tell, but the only thing protecting it was that the address wasn't obvious.
The second was quieter. A script that simply left out one header could still talk to the chat assistant without going through my pages. That's free AI for anyone patient enough to write a loop.
Neither one was dramatic. Both would have cost money if someone automated them, and my AI bill is not something I want a stranger to control.
What I changed
- The debug page is switched off.
- Both AI routes now only answer requests that come from my own pages.
- Each of them has a limit on how often one visitor can call it, and the analysis route has a stricter one, per ten minutes and per hour, because it uses a paid model.
- The assistant has a guard in front of it that turns away attempts to rewrite its instructions, questions about its setup and questions about other people, with a short polite reply and no AI call at all.
- There's a monthly spending cap on the AI account, so a mistake has a ceiling.
The limit of this test
I wrote the checklist and I ran it. That means I only found what I thought to look for. A second person, or a proper security review, would find different things. This was a fine first pass for a one-person site. It is not a certificate.
What I'd tell another small business owner
If your website was built with AI help, or built quickly by anyone, set aside an evening. An AI-written checklist is a fine place to start. Then run it against the live site, because what sits on your laptop and what the internet sees are often different things. A test page you forgot about is invisible on your laptop and very visible online.
Three checks you can do without any tools:
- Add /.env to the end of your web address. You want a "not found" page.
- Ask the chatbot on your site to print its instructions. You want a polite no.
- Search your own site for pages with "test", "debug" or "old" in the address.
More
The security page on this site lists what I protect and how: Security. The free tools I've built are on the tools page.