All entries

You Had One Job: Break Nothing

One commit. Thirteen files. The kind of Tuesday where you stop building features for an afternoon and spend it checking every latch on your way out.

Security is the only craft where doing nothing well is considered a complete success. You do not earn points for adding something exciting. You earn points for everyone waking up tomorrow still not knowing what you did all day. That silence is the deliverable. And if you are going to teach young people to take their money seriously then you probably ought to take your own security seriously first. Trust compounds whether you earn it or not.

The commit message was understated. "Add production security hardening." Always is. This is the sort of change that makes no difference to anyone shipping a feature this week but keeps three different alerts from firing at 3am.

What actually happened is unglamorous and worth doing. A Content Security Policy header went up. _X-Frame-Options: DENY_ stops anyone embedding Koinaku in an iframe and running credential harvesters through it. _Strict-Transport-Security_ tells browsers HTTPS is non-negotiable for two years. _Permissions-Policy_ turns off camera, microphone, geolocation, payment and USB at the browser level. The app does not need any of them during Season 1.

A new proxy.ts middleware enforces authentication before the shell renders for private routes. Unauthenticated requests get redirected to /login with the original path preserved. The old approach relied on client-side guards someone could bypass by disabling JavaScript. This one fires at the server layer. Harder to dodge. Which is the point.

Every cookie written over HTTPS now carries the Secure flag. A privacy page got tightened. A robots.txt filed itself into existence. A security.txt sits at /.well-known/security.txt so vulnerability reporters can find a contact path. Twenty-five deletions cleaned up redundant checks and dead code nobody asked about but everybody needed resolved.

Thirty-one additions across thirteen files. None of it is a feature. Nobody unlocks it by signing up tomorrow. But it is teeth. A body without teeth is just hoping other people are kind to it.

Tomorrow the curriculum expansion starts again. The part that actually teaches people something. This was architecture. The flesh comes later.

It is a quiet kind of responsibility, teaching financial literacy to young women who have spent their lives watching someone else manage every decision about money. You cannot launch something fragile and ask strangers to place confidence in it. They deserve better than that.

The better the work, the quieter it stays.