Security Articles
Secure Session Management: Cookies, SameSite, Rotation and Logout
Implement secure web sessions: HttpOnly, Secure and SameSite cookies, session ID rotation, timeouts, CSRF protection, logout everywhere and storage choices.
JWT Security Pitfalls: alg=none, Weak Secrets, Storage and Revocation
Avoid common JSON Web Token mistakes: algorithm confusion, weak HMAC secrets, missing claim validation, localStorage storage, long lifetimes.
OpenID Connect (OIDC) Explained: Login with Identity Providers
How OpenID Connect adds authentication to OAuth 2.0: ID tokens, claims, discovery documents, userinfo, validating tokens.
OAuth 2.0 Authorization Code Flow with PKCE, Explained Step by Step
How OAuth 2.0 delegated authorization works: roles, the authorization code flow with PKCE, scopes, access and refresh tokens, and common security mistakes.
Passkeys Explained: How WebAuthn Replaces Passwords
How passkeys work: public-key credentials, WebAuthn and FIDO2, phishing resistance, synced vs device-bound passkeys, user experience and account recovery.
Automated Dependency Updates with Renovate and Dependabot
Keep dependencies current safely: Dependabot vs Renovate, grouping and scheduling updates, automerge rules, release-age delays and security update priorities...
SLSA Framework Explained: Build Provenance and Supply Chain Levels
What SLSA (Supply-chain Levels for Software Artifacts) is, build track levels, provenance attestations, how to generate them in GitHub Actions and verify the...
SBOM Explained: Software Bills of Materials in SPDX and CycloneDX
What an SBOM is, why regulators and customers ask for them, SPDX vs CycloneDX, generating SBOMs with Syft or Trivy, and using them for vulnerability response...
npm Package Security: Defending Against Malicious Packages and Worms
Protect JavaScript projects from malicious npm packages: lockfiles, install scripts, provenance, minimum release age, audit tools, token hygiene.
Software Supply Chain Security Explained: From Dependencies to Deployment
What software supply chain attacks are, where they happen (dependencies, build systems, CI, registries), and the layered defences every team should adopt.