Vulnerabilities/

LangSmith SDK: Streaming token events bypass output redaction

Severity:
Medium

Description

The LangSmith SDK’s output redaction controls (hideOutputs in JS, hide_outputs in Python) do not apply to streaming token events. When an LLM run produces streaming output, each chunk is recorded as a new_token event containing the raw token value.

Recommendation

Update the langsmith package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
langsmith
Anything's wrong? Let us know Last updated on April 24, 2026