Verify an HMAC Webhook Signature in Express with the Raw Body
Verify an HMAC-SHA256 webhook signature in Express with express.raw and timingSafeEqual, with real output for five cases including the express.json bug.
10 articles tagged with #Security
Verify an HMAC-SHA256 webhook signature in Express with express.raw and timingSafeEqual, with real output for five cases including the express.json bug.
In January 2021, CVE-2021-3129 showed how much damage one config value can do. On any Laravel app running facade/ignition older than 2.5.2 with APPDEBUG=true, an unauthenticated attacker could…
Real security improvements that take hours, not months. Learn the high-impact fixes we implemented after our security audit revealed critical gaps—complete with code, metrics, and lessons learned the…
Build field-level envelope encryption in Python, rotate keys with no downtime, search with blind indexes, and see where AWS/GCP KMS fits and costs.
Test and harden a Laravel 12 checkout with real output: the CSRF-off-in-tests gotcha, the Stripe webhook CSRF blind spot, CSP, rate limits, a k6 smoke test and PCI DSS SAQ A vs A-EP.
Secure authentication checklist for 2026 per NIST SP 800-63B Rev 4 and OWASP, with tested code: argon2id timings, session cookies, CSRF, TOTP replay protection, login throttling.
Learn how we built a production-ready e-commerce platform handling $2M+ in monthly transactions. Real implementation details, security patterns, and performance optimizations from our payment process…
Learn how we secured 50M+ requests/month with production-grade SSL/TLS implementations. Real certificate management, perfect forward secrecy, and the edge cases that broke our deployment.
Eight Docker best practices applied to one Express app, each with a command that proves it: what actually shrinks the image, non-root, read-only, healthchecks, limits and a Trivy scan.
Learn how to implement production-ready authentication using JWT, OAuth2, and session security. This comprehensive guide covers the strengths and weaknesses of each, as well as real-world scenarios a…