Cyber Hygiene Does Not Happen by Itself
I asked AI to look for weaknesses in my blog, and it found more open doors than I expected. Here is how I inspected, scored and fixed them over a month – with Claude doing the testing and me making the decisions.

I had focused the setup of my blog around making everything easy for myself, and even though my focus was there, I had a question in the back of my head for a while about how secure this setup actually was. One day I decided to ask AI about weaknesses in my setup – it turned out my blog had more open doors than I expected. Over the past month since this revelation, I closed the worst ones. Claude did most of the inspecting and testing; I made the decisions.
The blog is small, but not simple. I run it almost entirely from my phone, and AI agents write to the database, upload images and gather research for me. That convenience comes with a question all of us should ask: if one piece of this setup went wrong, how much damage could it do?
How I worked: three steps
Three plain steps, done in the evenings from the sofa.
- Inspect – Look before touching anything. Claude went through how each part of the site was set up, what was reachable from the internet, who could log in to the database and what the public pages sent back. No changes, only notes.
- Score – Each finding got two numbers from 1 to 5: how likely it was to be used against me, and how bad it would be if it were. Multiply them and you get a risk score that sets the deadline: a week, a month or a quarter. My yardstick for "bad" was simple – anything that could damage your trust in what you read here counts more than a short outage.
- Fix – Root cause first. Several findings shared one underlying weakness, so fixing that one shrank the others too. Every change was tested before it went live, verified afterwards and logged in a change log. Not a single fix took the blog offline.
What got fixed
One superuser account for everything
The biggest finding was also the easiest to explain. Every part of the blog – the public website, the image uploader and the AI tools I publish with – logged in to the PostgreSQL database with the same database superuser account.
The fix was least privilege: separate database accounts, each with only the access it needs.
- Public website – reads published content and counts page views, nothing else.
- Image uploader – handles images only.
- Publishing tool – edits content, but cannot change how the database itself is built.
- Superuser account – used by no service. I only log in with it by hand when I really need it.
Each new account was tested before the old one was removed, so readers never noticed.
Forgotten services with database access
As the blog evolved, I had left older versions of it running. Nobody visited them, but they were reachable from the internet and still held a key to the database. A week of traffic logs showed that the only visitors were automated scanners probing for weaknesses. The old services were switched off and deleted. An old API endpoint that accepted new articles without a password was closed too.
Rotating every secret after a provider incident
In late October my hosting provider reported a security incident that could have exposed the settings where passwords are stored. At about the same time, a security fix was released for the software my publishing tool runs on. I handled it as a small incident response:
- Integrity check – had any article, page or setting changed when it should not have? Nothing had.
- Rotate every secret – every password and secret key was replaced. That also logged me out of my own tools until I reconnected from my phone.
- Patch – I asked for "version 24" of the software, assuming that meant the latest patched release. It quietly gave me an older, unpatched one. Only pinning the exact version number made the fix land.
In my view, that last point applies well beyond a hobby blog: "we applied the patch" and "the patch is running" are not the same statement.
A copy of everything, somewhere else
A backup in the same place as the original does not help much if that place has a bad day. Every week the blog now packs all articles, pages and images into one file and stores it in Dropbox, outside the hosting platform. Each upload is checked against a fingerprint, the twelve latest copies are kept, and a watchdog checks every Sunday that a fresh backup has actually arrived.
A read-only account for the backup
The first version of the backup used – once again – the superuser account. A backup job has no reason to delete anything, so it got its own account that can read everything and change nothing. We tested it by asking it to delete a row; the database refused. The backup now also refuses to run if anyone hands it superuser credentials. Found and fixed the same evening.
What I took away
- Convenience creeps – none of these weaknesses came from a bad decision. Each was a quick, sensible shortcut taken while building something new. Shortcuts pile up quietly, and only a deliberate look shows you the pile.
- The boring method works – inspect, score, fix. It scales down to a one-person blog without any changes, and the fixes map to familiar ISO 27001 controls: privileged access rights, backup and vulnerability management.
- AI is a great security assistant, not a security owner – Claude found in minutes what would have taken me evenings, and tested every change carefully. But I set the scores and the priorities. When AI agents can change what your readers see, someone still has to decide how much power those agents get.
- Write it down as you go – the change log felt like extra work at the time. It turned out to be the most valuable part, both as evidence and as the raw material for this article.
Security is never finished, but this blog is a good deal harder to break than it was a month ago.
If you run something similar – a blog, a side project, a small web shop – try the first step this week: list every key to your data and who holds it. I would be happy to hear what you find.