← All Learning Paths

Security Engineer

A security engineering path covering input boundaries, path traversal, command execution, secret hygiene, environment validation, password hashing, and JWT.

roleadvanced14 nodes13.92h total

A rigorous learning path for security engineers covering network security, cryptography, web vulnerabilities, penetration testing, secure coding, and incident response for robust defense.

  1. Reconstruct the reasoning behind "Security Boundaries in Modern Web Applications" by tracing "The Same-Origin Policy" to the failure it prevents in security systems.

    Completion criteria: Attach a decision log for "Security Boundaries in Modern Web Applications": the "Content Security Policy" section, one rejected alternative, and the diff of the file you changed.

    Next step: A Complete Guide to JWT Authentication in Web Applications

    ⏱ 1h

  2. Read "A Complete Guide to JWT Authentication in Web Applications" for the "Client-Side Storage and the XSS Question" argument, then name the decision in security work it would change.

    Prerequisites: Security Boundaries in Modern Web Applications

    Completion criteria: Attach a decision log for "A Complete Guide to JWT Authentication in Web Applications": the "Client-Side Storage and the XSS Question" section, one rejected alternative, and the diff of the file you changed.

    Next step: Run Commands With Argument Arrays Not Shell Strings

    ⏱ 1h

  3. Adapt "Run Commands With Argument Arrays Not Shell Strings" to a second input and compare the new output with the behavior described in "A command runner that executes binaries with an argument array and no shell, so untrusted".

    Prerequisites: A Complete Guide to JWT Authentication in Web Applications

    Completion criteria: Change one constant in "Run Commands With Argument Arrays Not Shell Strings", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Validate Untrusted Input At A Single Boundary

    ⏱ 0.75h

  4. Execute "Validate Untrusted Input At A Single Boundary", change one constant, and describe how the output diverges from "A boundary parser that validates raw external input once and hands typed, sanitized values".

    Prerequisites: Run Commands With Argument Arrays Not Shell Strings

    Completion criteria: Paste the command, the exit code, and the output line matching "A boundary parser that validates raw external input once and hands typed, sanitized values"; then show a second run with a changed parameter.

    Next step: Safe Path Join Blocking Traversal

    ⏱ 0.75h

  5. Adapt "Safe Path Join Blocking Traversal" to a second input and compare the new output with the behavior described in "the PathTraversalError entry point".

    Prerequisites: Validate Untrusted Input At A Single Boundary

    Completion criteria: Attach the terminal transcript for "Safe Path Join Blocking Traversal": command, exit code, and the printed result you used to confirm "the PathTraversalError entry point".

    Next step: Log Scrubber Redacting Secret Values

    ⏱ 0.75h

  6. Adapt "Log Scrubber Redacting Secret Values" to a second input and compare the new output with the behavior described in "A structured log scrubber that masks known secret keys and bearer tokens before".

    Prerequisites: Safe Path Join Blocking Traversal

    Completion criteria: Attach the terminal transcript for "Log Scrubber Redacting Secret Values": command, exit code, and the printed result you used to confirm "A structured log scrubber that masks known secret keys and bearer tokens before".

    Next step: Load Secrets From Environment Not From Files

    ⏱ 0.75h

  7. Execute "Load Secrets From Environment Not From Files", change one constant, and describe how the output diverges from "A config loader that keeps secret values out of committed files by resolving them from the".

    Prerequisites: Log Scrubber Redacting Secret Values

    Completion criteria: Paste the command, the exit code, and the output line matching "the SecretConfigError entry point"; then show a second run with a changed parameter.

    Next step: Typed Environment Validation At Startup

    ⏱ 0.75h

  8. Run the security snippet "Typed Environment Validation At Startup", capture stdout, and show which line demonstrates the documented behavior: "the EnvValidationError entry point".

    Prerequisites: Load Secrets From Environment Not From Files

    Completion criteria: Paste the command, the exit code, and the output line matching "the EnvValidationError entry point"; then show a second run with a changed parameter.

    Next step: Validate Environment Config At Startup

    ⏱ 0.75h

  9. Adapt "Validate Environment Config At Startup" to a second input and compare the new output with the behavior described in "A typed environment loader that fails fast on missing or malformed variables instead of".

    Prerequisites: Typed Environment Validation At Startup

    Completion criteria: Attach the terminal transcript for "Validate Environment Config At Startup": command, exit code, and the printed result you used to confirm "the ConfigError entry point".

    Next step: bcrypt

    ⏱ 0.75h

  10. Stand up "bcrypt" for a security task, confirm "bcrypt.hash bcrypt.hash(data, saltOrRounds): Promise<string>" holds, and document one failure you triggered.

    Prerequisites: Validate Environment Config At Startup

    Completion criteria: Run a request against "bcrypt", paste the response, and add one deliberately invalid call with its error.

    Next step: jsonwebtoken

    ⏱ 1h

  11. Wire "jsonwebtoken" into a scratch security project, following "jwt.verify jwt.verify(token, secret, opts?): object", and record one working request/response pair.

    Prerequisites: bcrypt

    Completion criteria: Attach one successful call and one invalid call against "jsonwebtoken", citing "jwt.verify jwt.verify(token, secret, opts?): object" as the documented surface.

    Next step: SHA-256 Hash Generator

    ⏱ 1h

  12. Run two different inputs through "SHA-256 Hash Generator" and show where the outputs diverge.

    Prerequisites: jsonwebtoken

    Completion criteria: Run two inputs through "SHA-256 Hash Generator", record both outputs, and show one case where "text to hash" changes as expected.

    Next step: Map Threats to STRIDE Categories

    ⏱ 0.25h

  13. Build "Map Threats to STRIDE Categories" for security code and verify [{description:An attacker spoofs a service against both samples.

    Prerequisites: SHA-256 Hash Generator

    Completion criteria: Attach the solution file for "Security Engineer", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: Security Engineer

    ⏱ 0.42h

  14. Deliver the "Build a Secrets Rotation Service" blueprint with "Rollback handler" working and "Implement secret lifecycle that solves rotating credentials on a schedule without exposing a" recorded as evidence.

    Prerequisites: SHA-256 Hash Generator, Map Threats to STRIDE Categories

    Completion criteria: Run the project's test command for "Build a Secrets Rotation Service", paste the passing output, and attach the acceptance note for "Rollback handler" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h