---
title: "Hammad Khan (@hammadxcm) | Hashnode"
description: "Software Engineer | Open Source Contributor. Read the latest articles by Hammad Khan on Hashnode."
url: "https://hashnode.com/@hammadxcm"
---

@hammadxcm

# Hammad Khan

@hammadxcm · Lahore · Joined April 2026

Software Engineer | Open Source Contributor

[Website](http://hk.fyniti.co.uk/)

### [Building a Chrome Extension That Bridges Three SaaS Tools](https://hammad-khan.hashnode.dev/building-a-chrome-extension-that-bridges-three-saas-tools?utm_source=hashnode&utm_medium=feed)

What 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.dev](https://hammad-khan.hashnode.dev/building-a-chrome-extension-that-bridges-three-saas-tools?utm_source=hashnode&utm_medium=feed)

[Jun 10](https://hashnode.com/posts/building-a-chrome-extension-that-bridges-three-saas-tools/6a298d0f5fcd902f3ab271a3)

### [From Singleton AuditService to Event-Driven AuditModule: A Decoupling Story](https://hammad-khan.hashnode.dev/singleton-to-event-driven-auditmodule?utm_source=hashnode&utm_medium=feed)

Singleton → event-driven audit module refactor

10 min read · [hammad-khan.hashnode.dev](https://hammad-khan.hashnode.dev/singleton-to-event-driven-auditmodule?utm_source=hashnode&utm_medium=feed)

[May 23](https://hashnode.com/posts/singleton-to-event-driven-auditmodule/6a12100b1a3cf7bffc54461e)

### [CSRF Double-Submit Cookies: The Underrated Defense for Same-Origin SaaS](https://hammad-khan.hashnode.dev/csrf-double-submit-cookies-saas?utm_source=hashnode&utm_medium=feed)

Why 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.dev](https://hammad-khan.hashnode.dev/csrf-double-submit-cookies-saas?utm_source=hashnode&utm_medium=feed)

[May 22](https://hashnode.com/posts/csrf-double-submit-cookies-saas/6a10c7ca1f237623ea362809)

### [CSP Headers in Practice: Lessons From a Real Security Audit Pass](https://hammad-khan.hashnode.dev/csp-headers-in-practice-lessons-from-a-real-security-audit-pass?utm_source=hashnode&utm_medium=feed)

What 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.dev](https://hammad-khan.hashnode.dev/csp-headers-in-practice-lessons-from-a-real-security-audit-pass?utm_source=hashnode&utm_medium=feed)

[May 16](https://hashnode.com/posts/csp-headers-in-practice-lessons-from-a-real-security-audit-pass/6a08739b10b27f0425029195)

### [HMAC Request Signing for Third-Party Webhook Security](https://hammad-khan.hashnode.dev/hmac-request-signing-for-third-party-webhook-security?utm_source=hashnode&utm_medium=feed)

Why 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.dev](https://hammad-khan.hashnode.dev/hmac-request-signing-for-third-party-webhook-security?utm_source=hashnode&utm_medium=feed)

[May 13](https://hashnode.com/posts/hmac-request-signing-for-third-party-webhook-security/6a047bf4a0c1540277386cee)
