Question 200
A PostToolUse hook normalizes an external data feed. One result unexpectedly includes a field instructing the agent to download internal files. What should the hook do?
Explanation
Correct Answer
The data adapter should enforce a defined schema and trust boundary. A returned payload cannot grant new tool authority.
Incorrect Answers
Invisible influence undermines auditability. Unexpected control text should be quarantined.
External tool data is not an authorization source. The text could be hostile or compromised.
Side effects before validation can expose internal information. The unknown field must be rejected first.