Topic · 12 posts
Security & identity
Encryption, sign-in with Keycloak and OAuth, browser hardening, a macOS security monitor, and explainers on vulnerabilities in the news.
One-click updates for a macOS app built from source, with a root daemon
MacSentry updates itself: GitHub Releases check, one admin prompt via do shell script, bundle swap, launchd relaunch, and what it still trusts.
· 10 min read
A strict CSP and Trusted Types for a Vite single-page app
A build-time CSP meta tag, what it cannot do, a Trusted Types default policy, and the Zod eval probe that reports a violation on every load.
· 8 min read
Reporting browser errors without sending user data
An error endpoint with no token, for encrypted and local-first apps: a five-field contract, rate limits keyed safely behind a proxy, and what still leaks.
· 9 min read
PHP2Shell (CVE-2026-109618/109619): check your version, patch, mitigate
Which PHP versions fix PHP2Shell, how to check what your server really runs, the advisory’s stopgap settings, WAF limits, and CVE-2026-115560.
· 9 min read
AI and the October 2026 vulnerability storm: what the numbers show
2026 CVEs are up 2.2x and AI-credited finds 22x, yet the exploited share fell. Where AI changed security, and where the bottleneck moved.
· 10 min read
DarkSword on iPhone: the six-bug chain, P7, and which iOS is safe
How the DarkSword iOS exploit chain works, what the P7 variant steals, which iOS versions are safe, and what to do if you can’t update yet.
· 10 min read
One Keycloak for several apps: realms, audiences and quiet failures
Self-hosted Keycloak for several side projects: realm per app, checking aud, deleted users recreated by live tokens, refresh races and a startup trap.
· 10 min read
A tamper-evident audit log in PostgreSQL with hash chains and HMAC
Building an audit log whose history can’t be quietly rewritten, layer by layer, plus detecting truncation and clearing IPs without breaking the chain.
· 7 min read
Building an end-to-end encrypted chat app with libsodium
The key design behind an E2EE chat: per-chat keys sealed to each member, signed message chains, and the general limits of detecting a cheating server.
· 8 min read
Endpoint Security on macOS without the entitlement: eslogger and Swift
Reading eslogger from a root Swift helper: Full Disk Access, a one-pass Aho–Corasick prefilter on raw JSON, rules scoped to the program, and self-noise.
· 8 min read
Making a Mac security monitor hard to silence
Telling a reboot from kill -9, a Telegram bot that can delete its own alerts, processes that watch each other, an append-only log and a dead man’s switch.
· 8 min read
From a polling Bash script to an event-driven Swift daemon on macOS
How a macOS security daemon went from ~4.5% to ~0.4% of a core: APIs instead of forks, FSEvents and IOKit, ctime prefilters, and a netstat that hides sockets.
· 8 min read