Software Testing / Learning brief

Tom and the clerk who obeyed

What this means in plain language

A search box shows a database error, and a task title turns bold on the list. A clerk who follows instructions in the name field shows why input must stay data, and why scope comes first.

Understand the full idea, step by step

A form is meant to hold a name. Someone writes instructions in the name box. The clerk reads the box and does what it says.

At Daily List, a to-do list app, Tom checks that the app files what people type as data.

He starts with a written scope from Mei, and he uses only the test site.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Injection, output encoding and authorised scope as taught in this academy. The people and the Daily List app are invented.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Only harmless probes are shown, and no attack steps are given.

Sources for this brief — 5 sources
  1. Market practice

    Structured Query Language (SQL) injection prevention cheat sheet (Open Worldwide Application Security Project) ↗ — Open Worldwide Application Security Project (OWASP) · SQL injection prevention cheat sheet: parameterized queries are the main defence because the database can tell code from data; escaping all input is strongly discouraged (search excerpt, page not opened)

    Per the search excerpt, parameterized queries are the main defence because the database can tell code from data. Escaping all input is strongly discouraged. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Read complete official repository sheet. Bind values; dynamic SQL structure requires separate safe handling, and object authorisation remains distinct.

  2. Market practice

    Cross site scripting prevention cheat sheet (Open Worldwide Application Security Project) ↗ — Open Worldwide Application Security Project (OWASP) · Cross site scripting prevention cheat sheet: use the framework's output encoding first, and match the encoding to where the data lands (page text, script, address, style) (search excerpt, page not opened)

    Per the search excerpt, output encoding that matches the place the data lands (page text, script, address, style) is the main defence, and the framework's own encoding is the place to start. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Read framework security, context-specific output encoding, sanitisation and safe-sink sections. HTML interpretation alone does not establish script execution; intentionally accepted rich HTML needs appropriate sanitisation.

  3. Market practice

    Open Worldwide Application Security Project cheat sheet series: input validation ↗ — Open Worldwide Application Security Project (OWASP) · Input validation cheat sheet (registry entry): check input on the server and prefer allow-lists

    The Open Worldwide Application Security Project's cheat sheet on input validation. Cited for three points: check both the syntax and the meaning of a value, reject invalid input with a clear error, and check data again where it crosses a trust boundary. · Checked 2026-10-18

    Search excerpt, page not opened: returned by WebSearch on 2026-10-18. The excerpts did not use the phrase as early as possible in the data flow, so this site does not quote it. It is guidance for software in general, not for payments.

    V34 review, 6 November 2026: Read complete official repository sheet. Syntax, semantic business rules, server checks and safe handling of legitimate Unicode/punctuation have distinct roles.

  4. Market practice

    Open Worldwide Application Security Project (OWASP) Top 10:2021, introduction ↗ — Open Worldwide Application Security Project (OWASP) · Top 10:2021 introduction: injection is ranked third, with cross-site scripting folded into it (search excerpt, page not opened)

    Per the search excerpt, the 2021 edition ranks broken access control first and injection third, with cross-site scripting folded into injection. The list changes between editions, so check the current one. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: 2021 edition. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREHostile input and injection ideasSoftware must treat what people type as data, never as instructions. Test with harmless odd input, check it is shown as plain text, and work only inside written permission.Opens at L0 Explain simply · about 12 min

Related briefs

Tom asks Nina who wins the edit

Two people change the same task at once. Nobody knows what Daily List should do. Tom starts wide, narrows down and says it back, and finds the gap before a bug does. A good doctor shows how.

READ BRIEF