Security by Design Starts With One Question

Most security vulnerabilities you can influence while designing and building software come down to one unanswered question: “How do I know that…?” Ask it at every arrow in your architecture diagram and you either find a verification to add, or admit there is no answer and add a protection that limits the damage.

The video applies the question to a standard e-commerce checkout flow: browser, web app, order service, external payment provider, webhook, and return URL.

What’s covered:

  • The two rules: if there is an answer, add a verification; if not, add a protection
  • Spoofing and session theft: short sessions, re-authentication, MFA, rate limits
  • Confused deputy and why “it’s inside our network” is not an answer: service identity and mutual TLS
  • Payment provider spoofing, man-in-the-middle and DNS attacks: hostname validation, pinned endpoints, trusted DNS
  • Forged webhook callbacks and replay: signatures, replay protection, confirming with the provider
  • Open redirects and phishing: allow lists and no user-supplied redirect targets
  • Quick applications: SSRF, supply chain, CI/CD, DNS, tampering with stored data, and LLM prompt injection

Architecture and code can’t fix everything, but one question repeated often enough removes a lot of vulnerabilities before they ship.

Recommended products

Subscribe to channel

More from the Blog


0
    0
    Your Cart
    Your cart is empty
      Apply Coupon
      Scroll to Top