CCDV-F practice › Security and Safety · Question 24 of 92
Security and Safety
An agent processes a scraped webpage that contains hidden text instructing it to email its conversation history externally. What's the correct defense?
Show answer and explanation
Answer: B — Treat all external content as untrusted and enforce a permission boundary so the action can't execute regardless
A polite system-prompt plea is not an enforceable control — it's exactly the wrong answer the exam tests for. Untrusted-content isolation plus a real permission boundary is what actually stops the action from executing.
Keep going
More Security and Safety questions
- An autonomous agent runs with the full API credentials of the engineer who launched it…
- A support agent's tool output routinely includes customer phone numbers and partial card…
- Where should a production application's Claude API key actually live?
- A retrieved document contains embedded text targeting the model, while a user in chat…
- An agent authenticates successfully on every request while being manipulated into…