MYTHOSAI

Software supply-chain labs / GUIDED EXERCISE

Evaluate dependency update risk and benefit

A security update replaces a networking library used by several production services.

Before you start

No paid tools required. Use this guide with sample data, paper, or an explicitly authorised test environment. Keep a copy of any original configuration and obtain approval before changes.

A scenario worth testing

A security update replaces a networking library used by several production services. This scenario is an invented teaching example, not a description of an actual breach or test of a named organisation.

OWASP Top 10:2025 includes A03 Software Supply Chain Failures, covering more than outdated direct dependencies. In this guide, the purpose is to evaluate a specific decision and its evidence. It does not follow that the scenario is likely in every environment, or that any untested product is vulnerable.

Red team perspective: define the risk

Question to test. Could postponing the patch preserve an exploitable weakness, while an untested update breaks critical functions?

Blue team perspective: define the boundary

Defensive decision. Use staged deployment, changelog review, regression tests and rollback readiness.

Safe experiment: make the question measurable

Scope: synthetic records or an explicitly authorised, disposable test environment only. No customer records, live exploit payloads or third-party probing.

  1. State the decision. Describe the asset, who should be authorised, and which fact would refute the initial hypothesis.
  2. Create a safe fixture. Construct the example. Write a decision memo for a fictional dependency bump with one security fix and two API changes.
  3. Evaluate three cases. Use the fictional cases below; identify the permitted case, an adverse case and a plausible exception. Record what evidence distinguishes them.
  4. Write an outcome. Decide whether to allow, deny, escalate or ask for more information. Record the policy owner and one measurable follow-up. Never equate a planned test with a completed live test.

Worked example and expected observations

Illustrative result, not a measured finding: A test list naming affected features, owners and clear patch acceptance criteria.

Three synthetic cases to classify — examples, not observed incidents
CaseFictional inputDecision to justify
Expected activitySecurity patch updates one locked dependency and passes regression suiteExplain the precise reason it is permitted or expected.
Boundary challengeUpdate introduces breaking API but is published without validationIdentify the policy, detection or approval that should respond.
Lookalike or exceptionLow-risk patch waits for a scheduled acceptance windowIdentify the missing context before making an accusation.

Interpret this example

Start with the expected case: security patch updates one locked dependency and passes regression suite. Compare the relevant boundary with the adverse case: update introduces breaking API but is published without validation. The distinction depends on Before/after version, vulnerability relevance, tests and rollback path, not the alarming appearance of an isolated event.

The third case deliberately resists a snap conclusion: low-risk patch waits for a scheduled acceptance window. Record which additional fact would change the decision. Bind the evidence to the exact component, artifact and release being evaluated. A hash or signature establishes identity/integrity under defined assumptions, not freedom from vulnerabilities.

Download the three-case CSV exercise (illustrative inputs, not collected production evidence).

Evaluate evidence and failure modes

False confidence to avoid: An update described as 'minor' under one versioning scheme may still change behaviour. Manifest and registry data may be incomplete; validate the actual release artifact and its approved origin.

A dependency lockfile, SBOM, artifact signature and build attestation establish different types of evidence and cannot be treated as interchangeable. When a log source is missing or a sample is ambiguous, mark the conclusion unverified rather than estimating a success rate from fictional data.

Decide what to improve

Recommended next action: Set a risk-based patch deadline and record successful deployment evidence. Trace a release from source and dependency selection through building, signing and deployment.

  • Which exact asset and named owner does this decision concern?
  • Would your evidence include Before/after version, vulnerability relevance, tests and rollback path?
  • Does the adverse case need blocking, investigation or both?
  • What one controlled follow-up would distinguish the lookalike case from abuse?

Official references and limitations

Primary references explain the underlying control or framework; they do not validate the fictional cases above.

Try the related offline practice workbook, with runnable Python standard-library examples and marked limitations.