Skip to content

Blog

Fixing an Advisory That Can't Be Reached Anyway

8 November 2026

Fixing an Advisory That Can't Be Reached Anyway

A moderate Dependabot alert landed on a dev-only transitive dependency that never sees untrusted input. Fixing it was still worth ten minutes, with a narrowly scoped override, a way out, and the checks that prove nothing else moved.

security
A Local Tool With No Login Still Needs a Host Check

31 October 2026

A Local Tool With No Login Still Needs a Host Check

A dashboard that only listens on localhost still talks to your browser, and any web page open in that browser can try to talk to it too. Three small checks keep working-agents from leaking session data to a random tab.

securitynodejsprojects
A Token Fallback That Came With an Expiry Date

19 October 2026

A Token Fallback That Came With an Expiry Date

Pinning JWT verification to an issuer and audience would have logged everyone out at deploy time. A temporary fallback avoided that, and the part that mattered was giving it a date, a TODO and a ticket so it actually got deleted.

securityprocess
Binding a Port to Loopback Instead of Writing a Firewall Rule

2 October 2026

Binding a Port to Loopback Instead of Writing a Firewall Rule

A monitoring dashboard needed to be reachable for a one-time setup and invisible afterward. The fix was one word in a docker-compose file, not a firewall rule to remember to keep in sync.

infrastructuresecurity
Setting Up a Private Admin Panel Without Ever Opening It Myself

24 September 2026

Setting Up a Private Admin Panel Without Ever Opening It Myself

A monitoring tool that never touches the public internet still needs a first-run setup wizard completed once. The setup happened through a tunnel and a script, not a browser tab someone sat in front of.

observabilitysecurity
A Public MCP Server With Nothing Private to Leak

4 September 2026

A Public MCP Server With Nothing Private to Leak

The read-only tools an AI agent gets to call are backed by the exact same published-only queries the public blog already uses — which is what makes skipping authentication a non-decision instead of a risk.

aisecurity
The Dollar Sign That Broke My Bcrypt Hash

28 July 2026

The Dollar Sign That Broke My Bcrypt Hash

A bcrypt hash stored in .env stopped matching after a routine restart. The cause was not the hash — it was Next.js expanding $ as a shell-style variable reference.

debuggingsecurity
Why My Blog API Requires Login Even to Read

10 July 2026

Why My Blog API Requires Login Even to Read

Unlike /api/projects, GET /api/posts is auth-gated. The reasoning is about what a draft is allowed to leak, not about performance or caching.

security