Notes on self-hosting & AI/MCP security
Short, practical write-ups from real work — hardening, MCP security, and running your own stack.
Lynis said 65. Then the reboot said 69.
My hardening score went up five points, then down one after a reboot. The drop was the only honest number in the sequence — plus the eight suggestions I refused.
SSH host key changed: when to accept it, and when to stop
The wall of @@@ is not noise. What changed, why SSH refuses, and the one question that tells you whether to accept.
The file is not the configuration
One question — is password authentication on? The file said nothing. The answer was yes. It took four files to find out, and I never wrote one of them.
What a hardening report actually looks like (real example)
Most hardening is sold as a list of advice. Here's the actual report a client gets — before/after, raw evidence, and the section most vendors leave out.
I poisoned my own MCP server — here's what it looks like
I built a small MCP server, poisoned a tool description, and captured what the client actually receives. Then I wrote the 15-line scanner that catches it.
Your MCP server is probably exposed — here's how to check
MCP servers are showing up on the internet without auth. The five risks that bite, and how to check yours in five minutes.
The sysctl settings that actually matter (and three that don't)
state-witness flagged four sysctl checks on a hardened box. Two were real, two were noise — and the gap is the point.
Self-hosted n8n: the 10-point security checklist
n8n self-hosted is a box with API keys in it, exposed to the internet. The ten things I actually check.