trifectapp · Practice with evidence

Worked solutions

Compare your reasoning with the evidence, not just the answer letter. These are original learning scenarios, not official exam questions.

Return to practice

Case 1 · A retrieved note tries to take control

Best choice: Indirect prompt injection. Untrusted retrieved content tries to become an instruction with authority over the assistant’s task. The failed send does not make the attempt harmless or prove disclosure occurred.

Verification or reasoning check: Keep document text separate from action authority. Test that the external note cannot expand permissions or authorize a send; inspect the denial record and confirm no data left.

Why the other choices fit less well

Remember: Classify the attack mechanism separately from whether the attempted action succeeded.

Technical context: OWASP: Prompt Injection (2025). The scenario facts are original teaching inputs.

Case 2 · Tampering before the next fine-tune

Best choice: Data poisoning. Deliberate dataset tampering crosses the boundary from untrusted changes into trusted learning material and influences the adapted model.

Verification or reasoning check: Preserve dataset and model versions, identify the unauthorized changes, rebuild from reviewed data, and compare behavior on held-out tests before reuse.

Why the other choices fit less well

Remember: Dataset provenance, review and versioning address a different boundary from screening a live chat prompt.

Technical context: OWASP: Data and Model Poisoning (2025). The scenario facts are original teaching inputs.

Case 3 · A summary becomes executable page content

Best choice: Improper output handling. Generated text crossed into an executable browser context without appropriate handling. Treat the response as untrusted data and render it safely for the intended context.

Verification or reasoning check: Render plain summaries as text. If approved formatting is needed, apply a suitable HTML sanitizer and safe rendering rules; test that script-bearing output stays inert.

Why the other choices fit less well

Remember: A model response must not gain code-execution authority merely because an application received it.

Technical context: OWASP: Improper Output Handling (2025) · OWASP: Cross-Site Scripting Prevention. The scenario facts are original teaching inputs.

Case 4 · A correct answer reaches the wrong person

Best choice: Sensitive-information exposure. The application crossed the requester’s access boundary and disclosed restricted notes. An ordinary question can expose a retrieval authorization defect.

Verification or reasoning check: Enforce the requester’s record-level permissions before retrieval and before release. Retest with permitted and unpermitted users, and handle the observed disclosure through the incident process.

Why the other choices fit less well

Remember: A correct answer can still be a security failure when it reaches an unauthorized person.

Technical context: OWASP: Sensitive Information Disclosure (2025). The scenario facts are original teaching inputs.

Case 5 · A convincing maintenance claim has no source

Best choice: Hallucination or unsupported generated claim. The observed issue is a credible-looking invented claim. Independent checking caught it; the available evidence does not establish an attack mechanism.

Verification or reasoning check: Record the incorrect claim, consult the genuine vendor documentation and test any eventual approved change in a safe environment. Ask for evidence, not just reassurance from the same assistant.

Why the other choices fit less well

Remember: Distinguish an unreliable result from evidence of an attack. Further investigation may change the classification.

Technical context: NIST AI 600-1: Generative AI Profile · OWASP: Misinformation (2025). The scenario facts are original teaching inputs.