Avatar for the langchain-ai user
langchain-ai
deepagents
BlogDocsChangelog

fix(code): guard `fetch_url` against SSRF

#3411Merged
Comparing
mdrxy/code/fetch-ssrf
(
c05135d
) with
main
(
4421bec
)
CodSpeed Performance Gauge
0%
Untouched
32
Skipped
62

Benchmarks

94 total
test_import_tool_display
libs/code/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+1%
24.2 ms23.9 ms
test_import_configurable_model
libs/code/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
+1%
638.3 ms631.9 ms
test_no_heavy_imports_on_lightweight_path[_cli_context.CLIContext]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
122.8 ms122.5 ms
test_import_textual_adapter
libs/code/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
54.8 ms54.7 ms
test_ask_user_middleware_loads_langchain
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
0%
2.1 s2 s
test_import_config
libs/code/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
19.2 ms19.2 ms
test_no_heavy_imports_on_lightweight_path[tool_display]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
191.6 ms191.8 ms
test_help_under_threshold
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
0%
559.6 ms560 ms
test_version_under_threshold
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
0%
432.3 ms432.9 ms
test_module_import_time[tool_display]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
191.2 ms191.5 ms
test_no_heavy_imports_on_lightweight_path[config.is_ascii_mode]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
186.9 ms187.2 ms
test_module_import_time[main]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
211.4 ms211.8 ms
test_no_heavy_imports_on_lightweight_path[file_ops]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
142.3 ms142.5 ms
test_import_ask_user
libs/code/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
0%
509.6 ms510.7 ms
test_no_heavy_imports_on_lightweight_path[ui]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
334.9 ms335.7 ms
test_no_heavy_imports_on_lightweight_path[_ask_user_types]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
311.6 ms312.3 ms
test_no_heavy_imports_on_lightweight_path[main.parse_args]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
211.3 ms212 ms
test_sessions_import_available
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
0%
200.7 ms201.4 ms
test_import_app
libs/code/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
90.2 ms90.5 ms
test_no_heavy_imports_on_lightweight_path[skills.commands]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
152.7 ms153.2 ms
test_module_import_time[skills.commands]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
148.7 ms149.3 ms
test_no_heavy_imports_on_lightweight_path[main.check_cli_dependencies]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
211.3 ms212.1 ms
test_agent_import_loads_langchain
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
0%
3.4 s3.4 s
test_no_heavy_imports_on_lightweight_path[textual_adapter]
libs/code/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
-1%
918 ms923.1 ms
test_import_main
libs/code/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
-1%
10.8 ms10.9 ms

Commits

Click on a commit to change the comparison range
Base
main
4421bec
-0.27%
fix(code): guard `fetch_url` against SSRF
c05135d
21 hours ago
by mdrxy
© 2026 CodSpeed Technology
Home Terms Privacy Docs