← All Learning Paths

Threat Modeling Engineer

Design security in, not on: attack surfaces, blast radius, least privilege, zero trust, tabletop exercises, and PII discovery before auditors find it.

roleintermediate8 nodes13.92h total

Path overview

威胁建模是把绝对安全翻译成可管理风险的工程语言。本路径从攻击面与爆炸半径讲起,覆盖最小权限与零信任的结构性防御,再用生产访问评审与桌面演练把流程跑顺,收尾于 PII 扫描与安全事件响应。

Threat modeling translates absolute security into managed risk. This path covers attack surfaces, blast radius, least privilege, zero trust, tabletop exercises, and PII discovery.

  1. Compare "Cross-Site Scripting" with "Cross-Site Request Forgery" in "Security Boundaries in Modern Web Applications" and state which trade-off you would accept in security code.

    Completion criteria: Write a five-line decision note citing "Cross-Site Request Forgery" from "Security Boundaries in Modern Web Applications", name the option you rejected, and attach the before/after diff of one file you changed.

    Next step: Run a Production Access Review

    ⏱ 1h

  2. Use "Run a Production Access Review" to decide "Classify by necessity: Mark each identity as active, seasonal, service-owned, or stale.", then prove the outcome with "Every identity has an owner and a justification, or is marked for removal.".

    Prerequisites: Security Boundaries in Modern Web Applications

    Completion criteria: Deliver a transcript of "Run a Production Access Review" with each step's command and observed state, ending at "Every identity has an owner and a justification, or is marked for removal.".

    Next step: Run a Tabletop Exercise for a Critical Incident

    ⏱ 1.5h

  3. Follow "Run a Tabletop Exercise for a Critical Incident" and record "Exercise the incident response process with the people who would actually respond, surface" at the step where it should appear, using "Every participant can restate the objectives and the scenario in one sentence." as the check.

    Prerequisites: Run a Production Access Review

    Completion criteria: Record the state "Exercise the incident response process with the people who would actually respond, surface" at the verification step, then paste the output of "Every participant can restate the objectives and the scenario in one sentence." that proves it.

    Next step: Scan Databases for Unlabeled PII

    ⏱ 1h

  4. Apply "Scan Databases for Unlabeled PII" to a security task, checking that "Install the analyzer and confirm the English NLP model loads." appears after the "A result list containing an EMAIL_ADDRESS entity with a score above 0.6." step.

    Prerequisites: Run a Tabletop Exercise for a Critical Incident

    Completion criteria: Run "Scan Databases for Unlabeled PII" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Test Data Masking Before It Ships

    ⏱ 0.5h

  5. Execute "Test Data Masking Before It Ships" end to end, then repeat the last step with one parameter changed and compare "Verify masking functions and every output path that handles personal data, with tests that".

    Prerequisites: Scan Databases for Unlabeled PII

    Completion criteria: Run the steps through "Verify masking functions and every output path that handles personal data, with tests that", paste the command output, and mark the line that matches "[email protected] becomes a***@example.com and 4242424242424242 becomes **** **** **** 4242."; then rerun with one parameter changed.

    Next step: Security Incident Response Runbook

    ⏱ 0.5h

  6. Follow "Security Incident Response Runbook" and record "One owner, one channel, and a timestamped record exist." at the step where it should appear, using "Declare and scope: Assign an incident lead, record the time, and state the suspected scope" as the check.

    Prerequisites: Test Data Masking Before It Ships

    Completion criteria: Record the state "One owner, one channel, and a timestamped record exist." at the verification step, then paste the output of "Declare and scope: Assign an incident lead, record the time, and state the suspected scope" that proves it.

    Next step: Map Threats to STRIDE Categories

    ⏱ 2h

  7. Solve "Map Threats to STRIDE Categories" for security work: turn JSON object: { threats: string[] } into [{description:An attacker spoofs a service and pass both samples.

    Prerequisites: Security Incident Response Runbook

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

    Next step: Capstone: Threat Modeling Engineer

    ⏱ 0.42h

  8. Build "Build a WAF Rule Engine" through its phases, keeping "Pattern matcher" independently testable.

    Prerequisites: Security Incident Response Runbook, Map Threats to STRIDE Categories

    Completion criteria: Run the project's test command for "Build a WAF Rule Engine", paste the passing output, and attach the acceptance note for "Pattern matcher" with the test name.

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

    ⏱ 4h