The Wire · Showcase
LANGCHAIN PATCHES CREDENTIAL LEAK IN STREAMING CALLBACKS
By RepoJournal · Filed · About AI Agents
LangChain patched a critical flaw that exposed remote MCP credentials to callback handlers and persisted traces, even when invocation params were redacted.
The vulnerability [1] lived in streaming callbacks that constructed options from original, unredacted kwargs instead of sanitized integration parameters. Remote credentials could leak to LangSmith traces and callback handlers downstream. The fix applies integration-sanitized parameters to streaming and v3 streaming-event callbacks while preserving original values for model invocation [3]. Across the stack, LangChain also fixed type annotations for text stream projections [2], updated Anthropic config tests [4], and OpenHands shipped live agent activity visualization in chat [5] while ironing out composer gating and run status rendering bugs [6] [7]. Cline closed out the sprint with fixes for Slack bot mention stripping [10], CLI dialog cleanup on exit [8], and browser opener failures on headless hosts [9].
One email a day. Unsubscribe in one click.
Keep up with AI Agents in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Update LangChain to redacted streaming callbacks patch langchain-ai/langchain [immediate]
- → Review any callback handlers consuming streaming options for credential exposure langchain-ai/langchain [immediate]
- → Monitor OpenHands live activity features and profile gating logic in canvases OpenHands/OpenHands [plan]
- → Deploy Cline CLI fixes for Slack and headless environment stability cline/cline [plan]
References
- [1] fix(core): redact streaming callback options ↗ langchain-ai/langchain
- [2] fix(core): type text stream projections ↗ langchain-ai/langchain
- [3] fix(core): redact streaming callback options (#39179) langchain-ai/langchain
- [4] fix(langchain): update Anthropic config test (#39172) langchain-ai/langchain
- [5] feat: show live agent activity in chat ↗ OpenHands/OpenHands
- [6] fix(home): don't gate the composer on the seeded default profile's LLM ref ↗ OpenHands/OpenHands
- [7] fix(automations): render CANCELLED and SKIPPED run statuses ↗ OpenHands/OpenHands
- [8] fix(cli): silence dialog-container 'not a child of __root__' warning on exit (#12795) cline/cline
- [9] fix(cli): don't crash when no browser opener binary exists (#12782) cline/cline
- [10] fix(connectors): strip the Slack bot mention from incoming messages (#12780) cline/cline