Building a Chrome Extension That Bridges Three SaaS ToolsWhat it actually takes to inject yourself into someone else's app — content scripts, message passing, OAuth across three providers, and the DOM-shift bugs nobody warns you about.9 min read·hammad-khan.hashnode.devJun 10
From Singleton AuditService to Event-Driven AuditModule: A Decoupling StorySingleton → event-driven audit module refactor10 min read·hammad-khan.hashnode.devMay 23
CSRF Double-Submit Cookies: The Underrated Defense for Same-Origin SaaSWhy SameSite=Lax isn't enough for a real SaaS portal — and how double-submit cookies fill the gap without the session-state baggage of synchronizer tokens.10 min read·hammad-khan.hashnode.devMay 22
CSP Headers in Practice: Lessons From a Real Security Audit PassWhat strict-dynamic, nonces, and report-only mode actually look like when you deploy CSP against a real codebase — and the inline handlers, third-party scripts, and SVGs that will break first.8 min read·hammad-khan.hashnode.devMay 16
HMAC Request Signing for Third-Party Webhook SecurityWhy bearer tokens aren't enough for webhook endpoints — and how to get HMAC signing right (canonicalization, timing-safe compare, replay windows, key rotation).8 min read·hammad-khan.hashnode.devMay 13