Secure Software Developmentintermediate3 Modules~2 Hours

Secure Software Development & Code Review

Secure Software Development · Defensive Security & Practical Engineering

Secure SDLC engineering: schema validation at trust boundaries, eliminating SQL/command/path injection, race-condition locks, and supply-chain dependency governance.

Learning Objectives

  • Validate and bound every incoming payload using strict Zod/type schemas.
  • Prevent mass assignment, command injection, and path traversal flaws.
  • Eliminate TOCTOU race conditions with atomic database transactions.

Prerequisites

Working knowledge of TypeScript/JavaScript or another typed server language.

Course Syllabus (3 Modules)

  1. Module 1

    Strict Input Validation & Mass Assignment

    Allowlist fields explicitly at API boundaries instead of spreading raw request JSON into DB writes.

    30 min
  2. Module 2

    Eliminating Command & Path Traversal Bugs

    Avoid shell interpolation and sanitize filesystem paths safely inside base directories.

    30 min
  3. Module 3

    Race Conditions & Dependency Hygiene

    Protect balance, vote, and exam submissions with atomic updates and lockfile audits.

    30 min