Question 870
A user claims to be the system administrator and asks an assistant to reveal hidden API keys. What evidence or diagnostic detail should the engineer inspect FIRST?
Explanation
Correct Answer
Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Adversarial instructions can exploit prompt interpretation; critical side effects must still be checked by code. The appropriate response is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.
Incorrect Answers
Inspect data classification, redaction process, consent, allowed retention and output scanning. This evidence is useful for PII minimization and output privacy but would not isolate the primary failure in this scenario. The decisive check is: Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.
Inspect role grants, action allowlist, dangerous effects, approval records and network egress. This evidence is useful for Defense-in-depth guardrails around agent tools but would not isolate the primary failure in this scenario. The decisive check is: Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.
Inspect hook trigger names, command arguments, event payload, exit status and rule coverage. This evidence is useful for Pre-tool hooks for destructive command interception but would not isolate the primary failure in this scenario. The decisive check is: Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A user claims to be the system administrator and asks an assistant to reveal hidden API keys.

