Lesson 1: How a hallucinated package becomes an attack · 9 min
Before you begin · The package that did not exist · The chain
Learners sign in, so every finish and score is recorded. 8 fields to fill in with your details.



Minutes are an estimate.
Before you begin · The package that did not exist · The chain
Six failure modes · Spot the flaw · Check
Prompt, inspect, test, disclose · Share or never share · Check
The stack trace · The agent and the issue · The untested pull request
Approved set-up · Labelling and review
12 questions, 80% to pass. The result is saved to the learner's record.
Taken from the course itself.
What should Priya have done before installing the suggested library?
Answer: Checked that the package exists, is approved and is what she expected. She should have checked that the package exists, that her team approves it and that it is the library she expected, before installing anything. Asking the assistant to vouch for its own suggestion is not a check, and installing in a throwaway folder still runs the code on her machine.
Lesson 1: How a hallucinated package becomes an attack
You paste a failing test's output into an approved assistant and notice it contains a customer's name and order number. What is the right habit?
Answer: Remove the customer details and share only the error type and relevant lines. Remove or replace the customer details before you share, and give only what the assistant needs, such as the error type and the relevant lines. Adding a request not to store the data does not stop it being stored, and pasting everything because the tool is approved ignores your data rules.
Lesson 3: The secure AI coding loop
Why does your team ask you to label an AI-assisted pull request?
Answer: So the reviewer knows to read the change closely. The label tells the reviewer to read closely, because assistant-written code can look finished and still hide flaws. It is not a mark of blame, and it does not replace review or testing.
Lesson 5: Approved tools, settings and AI-use pull request labelling
A failing job prints a customer's details.
Best response: Strip the data and share only the error type.
Weaker responses: Paste it all; Ask a colleague to paste it; Skip the assistant and do nothing.
An article from the AhaSlides blog that uses this course.
Comments from trainers
No comments yet. Tell other trainers how the course went.
Your comment
Comments are public. We remove spam and personal details.