CCDV-F practice › Security and Safety · Question 26 of 92
Security and Safety
A support agent's tool output routinely includes customer phone numbers and partial card numbers, and the team logs every raw tool response for debugging. What's the risk and the fix, together?
Show answer and explanation
Answer: B — PII/data leakage risk — redact or mask sensitive fields before they reach logs or downstream storage
Logging raw tool output containing PII is a data-leakage exposure regardless of intent — the standard fix is redaction/masking before anything is written to logs or passed downstream, not avoiding tools or changing model tier.
Keep going
More Security and Safety questions
- 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…
- A team argues broad agent credentials are acceptable because the agent is internal-only…
- An agent processes a scraped webpage that contains hidden text instructing it to email…