Reducing supply chain risk
Lower the chance of a bad dependency: use fewer trusted ones, pin exact versions, verify their integrity with hashes, and scan them for known vulnerabilities.
Understanding Reducing supply chain risk in ACARA Digital Technologies Years 9–10
What it does: This command works out the file's SHA-256 hash. If it matches the published hash, the file has not been changed. A short list with one trusted package pinned to an exact version means fewer places for an attacker to get in. Pinning does not make code perfect. It stops unexpected updates arriving unchecked, so you decide when to upgrade. The == sign locks one exact version. >=0 accepts almost any version, including a bad one. Dependency scanners compare the versions you use with databases of known vulnerabilities and warn you to update or replace them. Pinning keeps versions steady, but it also keeps a vulnerable version. Scan regularly and move to a patched version when one is available.
Common mistakes: The >= sign lets pip install any newer version, including one that has been tampered with. To pin a version you must use == and an exact number: flask==3.0.2. The check is the wrong way round. With != it says ok when the hash does NOT match the trusted hash. It should use == so only an unchanged file passes.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 828–859) and word search (Modules 810–859).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
reduce supply chain riskFill in the Blanks
Spot the Error
Student with a class code? Join your class →