← Cyber safety and privacy

Kinds of weakness

Systems have three kinds of weakness. Software: a flaw in the app's own code (fix: update and test). User: what people do, like weak or shared passwords or being tricked (fix: training, strong passwords, MFA). Supply chain: something the app relies on, like an add-on or library, goes bad (fix: check and update what you rely on). Perfect code alone doesn't make a system safe.

Three clubs' apps went wrong this year. One had a bug, one had a password on a sticky note, and one trusted a free add-on. Which was the club's fault?

Your mission: other clubs' apps have had incidents. Learn from them, then check the Coding Club's app for the same kinds of weakness before anything goes wrong.

EngageCommit to a prediction before you test anything. A wrong guess is fine: it shows you what to look for.

Engage: whose fault?

A club's programmers test every line of their app's code and find no bugs. Is the app safe?

ExploreTry it on the board and compare what happens with your prediction.

Explore: three incidents

Was your prediction right?

Try it yourselfYour edits are saved in this browser.

Where was each weakness: in the app's own code, in what a person did, or in something the app relies on?

Use the board. This ticks when you get there.

ExplainPut a name to what you saw, and why it works.

Explain: three kinds

Worked exampleBefore each step, say what you think comes next.
  1. Software\text{Software}A flaw in the app's own code, such as never checking what is typed. Fix: test it and install updates.

Find the mistake

Sam's team checks their app. Click the line where it first goes wrong.

ElaborateUse the idea in a new situation.

Elaborate: six incidents

Try it yourselfYour edits are saved in this browser.

Sort all six incidents and choose the fix that would have stopped each one.

Use the board. This ticks when you get there.

ElaborateUse the idea in a new situation.

Elaborate: our own app

Try it yourselfYour edits are saved in this browser.
Need a hint?

Is the problem in the club's own code, in what people do, or in something the app relies on?

Another hint

Each kind has its own fix.

Your review of the club app found three weaknesses. Name each kind and its fix.

Use the board. This ticks when you get there.

EvaluateLook back at your first ideas and what changed.

Evaluate: look back

A school app uses a free maps library. The library's makers stop updating it. What kind of weakness is growing?

For teachers

Students sort incidents at fictional club apps into software, user and supply-chain weaknesses with the fix for each, then review the Coding Club's own app (AC9TDI10P13 node 2). Descriptive and defensive throughout. A 5E mission lesson. About 45 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

Try the board yourself. The clubs and incidents are made up.

The one idea: weaknesses come from the app's own code, from people, and from what the app relies on; each needs its own fix.

This lesson stays descriptive and defensive: what each kind is and how it is fixed. Node 3 (exploring a vulnerability in the student's own software) is left to class, with the teacher, on the students' own projects.

Wider: news reports of real breaches can be sorted into the three kinds. Choose the reports yourself.

Running the lesson

  1. Engage: ask who was at fault in each of the hook's three stories.
  2. Explore: ask which incident was hardest to place, and why.
  3. Explain: model naming the kind and the fix for one incident.
  4. Elaborate: ask why the lookalike library name is supply chain and not user.
  5. Evaluate: discuss what the school should do about the old maps library.

The hard part (on purpose)

Students call every incident software because it happened in an app. Ask: whose action, or whose code, was the weak part?

When students get stuck

Stretch and support

Stretch: Find a news report of a real breach and sort its causes into the three kinds.

Support: A card with the three kinds, an example and a fix for each.

Where it leads

Next: The Australian Privacy Principles.

What each step is for

Now you can
Next lesson7. The Australian Privacy PrinciplesThe Australian Privacy Principles (APPs) say what organisations must do with personal information: collect only what they need (APP 3), tell people what and why (APP 5), use and share it only for that purpose unless people agree (APP 6), keep it secure (APP 11), and let people see and correct it (APP 12). A privacy policy doesn't override them.