What changed

LangChain's signed Deep Agents Code 0.2.16 release hardens fetch_url against parser-confusion SSRF bypasses and unpinned hosts, prevents project .env files from redirecting provider endpoints, and binds MCP approvals to resolved launch values.

Why it matters

The patch moves several trust decisions from display-time assumptions to the actual host and arguments used at execution, reducing ways a repository or crafted URL can redirect an approved coding-agent action.

What to do

Upgrade to 0.2.16 in a disposable repository, retest URL fetching against redirects and encoded hosts, and confirm MCP approval prompts show the final expanded values before restoring broad network access.

Caveat

The evidence is the vendor's signed release and linked fixes, not an independent security audit. It does not prove that every network path, plugin or third-party MCP server is free of SSRF or approval-confusion flaws.