Disclosed weakness · no CVE recorded
LiteLLM Presidio output masking could leave tool arguments exposed
LiteLLM · LiteLLM · Presidio output guardrail
First documented disclosure · Review checkpoint
Summary
Masked reply text could accompany tool arguments containing the original sensitive value.
Severity and exploitation evidence
No CVSS score recorded in this review.
Exploitation not established: Reviewed public reports and controlled reproductions do not establish malicious exploitation against users. No exploit was executed in this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Output masking did not cover non-streamed tool calls across the supported APIs and streamed Anthropic tool-call arguments consistently; malformed JSON replacement could also make arguments unparsable.
Conditions required
A Presidio guardrail scans model output, and a response contains PII in a tool call rather than only ordinary text.
Potential impact
An agent or logging consumer can receive sensitive tool arguments even when visible prose is masked.
Affected versions and configurations
The public correction documents affected main-branch behavior; a complete released-version range is unverified.
Fix and mitigation status
PR53396 is merged on main. No stable or prerelease carrying this correction was verified in the bounded release inventory.
Practical next steps
Track the released correction, list the required pii_entities_config and output scope, and mask sensitive inputs or use BLOCK when an agent must never receive the original value. Validate tool compatibility with placeholders.
Operating lesson
Treat tool arguments, citations and errors as output data that needs its own policy coverage.
Evidence and limits
The November 21 public report includes controlled Claude Code writes and multiple-provider checks; these were not independently rerun. The correction only opts tool-call masking in when entities are listed and output scanning is configured. callbacks=[presidio] retains its previous behavior. Streamed Responses tool calls outside a policy pipeline, nested JSON strings, server-tool results, thinking text and escaped PII retain stated limits. A pipeline unable to write a masked tool call may retain its arguments and log a warning; output-only masking can be defeated by an agent reconstructing the value from its prompt. This row concerns omitted output fields, distinct from client/SSE parsing disagreement. PR53396 merged November23 at 11:09:44Z as fdf3bab02f77b5bb28e6b4f0a062f4557d71d8ef, inside this review interval; the November21 public disclosure date is preserved.
Sources
- Merged Presidio tool-call masking correction
Primary source ·
- Merged initial correction commit
Primary source ·