AI Slop Code RIsk Monitor

e2b-dev/E2B

Open-source, secure environment with real-world tools for enterprise-grade agents.

21.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for e2b-dev/E2B, a Python project with 14,274 GitHub stars. SynthScan examined 162,400 lines of code across 856 source files, recording 2081 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 21.0 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

21.0
Adjusted Signal
21.0
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
14.3K
Stars
Python
Language
162.4K
Lines of Code
856
Files
2.1K
Pattern Hits
2026-10-12
Scan Date
0.36
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 54.1/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 1550 finding(s).

Hallucinated Dependency & Supply Chain Risk 8.8/100 · LOW

Are imports declared and package/API names verified? 312 finding(s).

Agent Over-Engineering Ratio 45.2/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 1475 finding(s).

PR Review Velocity Impact 67.7/100 · HIGH

Which changes need focused human review? 2081 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 310MEDIUM 20LOW 1751

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2081 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1220 hits · 1339 pts
SeverityFileLineSnippetContext
LOWpackages/dockerfile-utils-js/src/syntax.ts178function parseStringsWhitespaceDelimited(rest: string) {CODE
LOWpackages/python-sdk/tests/test_api_exception.py15def test_refused_pause_is_a_busy_exception_with_the_status_and_message():CODE
LOWpackages/python-sdk/tests/test_api_exception.py32def test_generic_failure_stays_a_sandbox_exception_and_carries_its_status():CODE
LOWpackages/python-sdk/tests/test_api_exception.py40def test_generic_failure_without_a_body_carries_its_status():CODE
LOWpackages/python-sdk/tests/test_api_exception.py60def test_exceptions_that_bypass_the_initializer_still_expose_the_status():CODE
LOWpackages/python-sdk/tests/conftest.py44def pytest_runtest_makereport(item, call):CODE
LOWpackages/python-sdk/tests/conftest.py230 def catch_cmd_exit_error_in_background(cmd: AsyncCommandHandle):CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py25def test_maps_invalid_argument():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py30def test_maps_unauthenticated():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py40def test_maps_resource_exhausted_to_rate_limit():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py50def test_maps_unavailable_with_port_closed_to_unreachable():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py56def test_maps_unavailable_to_timeout():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py61def test_maps_deadline_exceeded_to_timeout():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py69def test_falls_back_to_sandbox_exception():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py74def test_returns_original_when_not_connect_error():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py146def test_wrapped_client_failure_maps_by_code():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py154def test_health_check_not_run_for_wrapped_client_failure():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py162def test_cancellation_restores_cancelled_error():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py169def test_health_check_not_run_for_cancellation():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py177def test_returns_raw_transport_failure_without_health_result():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py183def test_unavailable_sandbox_not_found_returns_not_running():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py193def test_unavailable_port_closed_is_not_not_running():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py199def test_unavailable_sandbox_not_found_does_not_probe():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py217def test_ambiguous_unavailable_probes_health_and_returns_not_running():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py225def test_ambiguous_unavailable_with_sandbox_running_is_unreachable_with_unknown_state():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py235def test_ambiguous_unavailable_with_failing_probe_is_unreachable():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py284async def test_async_unavailable_sandbox_not_found_returns_not_running():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py294def test_health_check_confirms_sandbox_killed():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py303def test_health_check_running_returns_raw_error():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py309def test_health_check_unknown_returns_raw_error():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py315def test_health_check_port_closed_keeps_probe_exception():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py357def test_connect_failure_with_sandbox_killed_returns_not_running():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py362def test_connect_failure_with_unreachable_health_returns_unreachable():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py370def test_health_check_not_run_for_other_exceptions():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py380async def test_async_health_check_confirms_sandbox_killed():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py389async def test_async_health_check_failure_returns_unreachable():CODE
LOW⚡packages/python-sdk/tests/test_envd_rpc_exception.py399async def test_async_connect_failure_with_unreachable_health_returns_unreachable():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py119def test_transport_failure_detection():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py246def test_ambiguous_unavailable_without_probe_is_unreachable_with_unknown_state():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py252def test_port_closed_unavailable_does_not_probe():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py263async def test_async_ambiguous_unavailable_probes_health_and_returns_not_running():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py273async def test_async_ambiguous_unavailable_with_sandbox_running_is_unreachable():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py327def test_health_check_failure_returns_unreachable():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py339def test_connect_failure_is_transport_failure():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py343def test_connect_failure_runs_health_check():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py85def test_sync_stream_reset_leaves_the_shared_connection_usable():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py108def test_sync_dropped_connection_redials_for_the_health_probe():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py129async def test_async_stream_reset_leaves_the_shared_connection_usable():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py150async def test_async_dropped_connection_redials_for_the_health_probe():CODE
LOWpackages/python-sdk/tests/test_paginator.py25def test_paginator_exposes_state_and_advances():CODE
LOWpackages/python-sdk/tests/test_paginator.py47def test_paginator_raises_once_exhausted():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py28def test_api_url_has_correct_priority(monkeypatch):CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py35def test_sandbox_url_uses_stable_host_for_supported_domain():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py41def test_sandbox_url_uses_stable_host_for_supported_non_prod_domain():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py47def test_sandbox_url_uses_explicit_url_first():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py55def test_sandbox_url_falls_back_to_per_sandbox_host_for_custom_domain():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py64def test_sandbox_url_falls_back_to_per_sandbox_host_for_unsupported_subdomain():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py73def test_sandbox_url_debug_uses_localhost():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py79def test_get_host_keeps_per_sandbox_host_for_supported_domain():CODE
LOW⚡packages/python-sdk/tests/test_connection_config.py85def test_sandbox_direct_url_keeps_per_sandbox_host_for_supported_domain():CODE
1160 more matches not shown…
Docstring Block Structure200 hits · 1000 pts
SeverityFileLineSnippetContext
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py124List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py173List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py217List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py264List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py79List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py110List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py136List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py165List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py86Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py120Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py149Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py181Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py74Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py108Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py137Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py169Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py93Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py131Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py164Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py200Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py78Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py114Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py145Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py179Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py67Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py98Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py124Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py153Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…-sdk/e2b/api/client/api/sandboxes/post_v2_sandboxes.py86Create sandbox (v2) Create a sandbox from the template. All system communication with the sandbox is secured. STRING
HIGH…-sdk/e2b/api/client/api/sandboxes/post_v2_sandboxes.py118Create sandbox (v2) Create a sandbox from the template. All system communication with the sandbox is secured. STRING
HIGH…-sdk/e2b/api/client/api/sandboxes/post_v2_sandboxes.py145Create sandbox (v2) Create a sandbox from the template. All system communication with the sandbox is secured. STRING
HIGH…-sdk/e2b/api/client/api/sandboxes/post_v2_sandboxes.py175Create sandbox (v2) Create a sandbox from the template. All system communication with the sandbox is secured. STRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py86Create sandbox Create a sandbox from the template. Use POST /v2/sandboxes instead. Args: body (NewSanSTRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py117Create sandbox Create a sandbox from the template. Use POST /v2/sandboxes instead. Args: body (NewSanSTRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py143Create sandbox Create a sandbox from the template. Use POST /v2/sandboxes instead. Args: body (NewSanSTRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py172Create sandbox Create a sandbox from the template. Use POST /v2/sandboxes instead. Args: body (NewSanSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py100Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py135Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py165Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py198Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py105Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py151Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py192Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py236Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py69Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py100Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py126Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py155Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py82Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py119Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py151Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py186Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py83Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py120Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py152Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py187Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py96Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py130Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py159Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py191Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
140 more matches not shown…
Empty Error Handlers44 hits · 220 pts
SeverityFileLineSnippetContext
HIGHpackages/python-sdk/tests/test_file_stream_reader.py58except OSError:CODE
HIGHpackages/python-sdk/tests/test_file_stream_reader.py89except OSError:CODE
HIGHpackages/python-sdk/tests/test_envd_api_exception.py151except SandboxUnreachableException:CODE
HIGHpackages/python-sdk/tests/test_envd_api_exception.py205except httpx.ConnectError:CODE
HIGHpackages/python-sdk/tests/test_envd_api_exception.py257except httpx.ConnectError:CODE
HIGHpackages/python-sdk/tests/test_envd_api_exception.py164except SandboxUnreachableException:CODE
HIGHpackages/python-sdk/tests/test_volume_client.py281except OSError:CODE
HIGHpackages/python-sdk/tests/test_logging_option.py132except RuntimeError:CODE
HIGH…es/python-sdk/tests/async/sandbox_async/test_create.py91except Exception:CODE
HIGH…es/python-sdk/tests/async/sandbox_async/test_create.py203except Exception:CODE
HIGH…es/python-sdk/tests/async/sandbox_async/test_create.py36except httpx.HTTPError:CODE
HIGH…ages/python-sdk/tests/sync/sandbox_sync/test_create.py88except Exception:CODE
HIGH…ages/python-sdk/tests/sync/sandbox_sync/test_create.py198except Exception:CODE
HIGH…ages/python-sdk/tests/sync/sandbox_sync/test_create.py33except httpx.HTTPError:CODE
HIGHpackages/python-sdk/e2b/template_sync/build_api.py175except Exception:CODE
HIGHpackages/python-sdk/e2b/template_async/build_api.py177except Exception:CODE
HIGHpackages/python-sdk/e2b/envd/client_shared.py114except ValueError:CODE
HIGHpackages/python-sdk/e2b/sandbox_async/main.py256except Exception:CODE
HIGH…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py44except Exception:CODE
HIGH…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py73except Exception:CODE
HIGH…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py764except Exception:CODE
HIGH…kages/python-sdk/e2b/sandbox_async/commands/command.py399except Exception:CODE
HIGH…ython-sdk/e2b/sandbox_async/commands/command_handle.py216except Exception:CODE
HIGH…ython-sdk/e2b/sandbox_async/commands/command_handle.py234except StopAsyncIteration:CODE
HIGHpackages/python-sdk/e2b/sandbox_async/commands/pty.py187except Exception:CODE
HIGHpackages/python-sdk/e2b/sandbox_async/commands/pty.py236except Exception:CODE
HIGHpackages/python-sdk/e2b/template/dockerfile_parser.py607except (OSError, ValueError):CODE
HIGHpackages/python-sdk/e2b/template/utils.py382except Exception:CODE
HIGHpackages/python-sdk/e2b/sandbox_sync/main.py250except Exception:CODE
HIGH…ckages/python-sdk/e2b/sandbox_sync/commands/command.py394except Exception:CODE
HIGH…python-sdk/e2b/sandbox_sync/commands/command_handle.py184except StopIteration:CODE
HIGHpackages/python-sdk/e2b/sandbox_sync/commands/pty.py178except Exception:CODE
HIGHpackages/python-sdk/e2b/sandbox_sync/commands/pty.py222except Exception:CODE
HIGH…thon-sdk/e2b/api/client/models/template_with_builds.py112except: # noqa: E722CODE
HIGH…e2b/api/client/models/sandbox_network_update_config.py125except: # noqa: E722CODE
HIGH…on-sdk/e2b/api/client/models/sandbox_network_config.py137except: # noqa: E722CODE
HIGH…ckages/python-sdk/e2b/api/client/models/new_sandbox.py190except: # noqa: E722CODE
HIGHpackages/python-sdk/e2b/api/client/models/template.py160except: # noqa: E722CODE
HIGHpackages/python-sdk/e2b/api/client/models/template.py175except: # noqa: E722CODE
HIGH…ges/python-sdk/e2b/api/client/models/new_sandbox_v2.py184except: # noqa: E722CODE
HIGH…n-sdk/e2b/api/client/models/template_build_start_v2.py121except: # noqa: E722CODE
HIGH…n-sdk/e2b/api/client/models/template_build_start_v2.py131except: # noqa: E722CODE
HIGHpackages/desktop-python/e2b_desktop/main.py314except CommandExitException:CODE
HIGHpackages/desktop-python/e2b_desktop/main.py296except Exception:CODE
Cross-File Repetition44 hits · 220 pts
SeverityFileLineSnippetContext
HIGHpackages/python-sdk/e2b/client.py0generate a subclass of ``cls`` carrying ``api_params`` as its bound params.STRING
HIGHpackages/desktop-python/e2b_desktop/client.py0generate a subclass of ``cls`` carrying ``api_params`` as its bound params.STRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0generate a subclass of ``cls`` carrying ``api_params`` as its bound params.STRING
HIGHpackages/python-sdk/e2b/client.py0e2b client with an explicitly bound connection configuration. the resource classes exposed by the client (`sandbox`, `asSTRING
HIGHpackages/desktop-python/e2b_desktop/client.py0e2b client with an explicitly bound connection configuration. the resource classes exposed by the client (`sandbox`, `asSTRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0e2b client with an explicitly bound connection configuration. the resource classes exposed by the client (`sandbox`, `asSTRING
HIGHpackages/python-sdk/e2b/client.py0create a new client with the api params bound to it. :param opts: api params used as the defaults for every call made thSTRING
HIGHpackages/desktop-python/e2b_desktop/client.py0create a new client with the api params bound to it. :param opts: api params used as the defaults for every call made thSTRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0create a new client with the api params bound to it. :param opts: api params used as the defaults for every call made thSTRING
HIGHpackages/python-sdk/e2b/client.py0`volume` class bound to this client's connection configuration.STRING
HIGHpackages/desktop-python/e2b_desktop/client.py0`volume` class bound to this client's connection configuration.STRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0`volume` class bound to this client's connection configuration.STRING
HIGHpackages/python-sdk/e2b/client.py0`asyncvolume` class bound to this client's connection configuration.STRING
HIGHpackages/desktop-python/e2b_desktop/client.py0`asyncvolume` class bound to this client's connection configuration.STRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0`asyncvolume` class bound to this client's connection configuration.STRING
HIGHpackages/python-sdk/e2b/client.py0`template` class bound to this client's connection configuration.STRING
HIGHpackages/desktop-python/e2b_desktop/client.py0`template` class bound to this client's connection configuration.STRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0`template` class bound to this client's connection configuration.STRING
HIGHpackages/python-sdk/e2b/client.py0`asynctemplate` class bound to this client's connection configuration.STRING
HIGHpackages/desktop-python/e2b_desktop/client.py0`asynctemplate` class bound to this client's connection configuration.STRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0`asynctemplate` class bound to this client's connection configuration.STRING
HIGHpackages/python-sdk/e2b/client.py0`secret` class bound to this client's connection configuration.STRING
HIGHpackages/desktop-python/e2b_desktop/client.py0`secret` class bound to this client's connection configuration.STRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0`secret` class bound to this client's connection configuration.STRING
HIGHpackages/python-sdk/e2b/client.py0`asyncsecret` class bound to this client's connection configuration.STRING
HIGHpackages/desktop-python/e2b_desktop/client.py0`asyncsecret` class bound to this client's connection configuration.STRING
HIGH…code-interpreter-python/e2b_code_interpreter/client.py0`asyncsecret` class bound to this client's connection configuration.STRING
HIGHpackages/python-sdk/e2b/sandbox_async/git.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/main.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/git.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/main.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/sandbox_api.py0get the metrics of the sandbox specified by sandbox id. :param sandbox_id: sandbox id :param start: start time for the mSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/main.py0get the metrics of the sandbox specified by sandbox id. :param sandbox_id: sandbox id :param start: start time for the mSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/main.py0get the metrics of the sandbox specified by sandbox id. :param sandbox_id: sandbox id :param start: start time for the mSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/main.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/main.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGH…-python/e2b_code_interpreter/code_interpreter_async.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGH…r-python/e2b_code_interpreter/code_interpreter_sync.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGH…i/client/api/templates/delete_templates_template_id.py0delete a path args: volume_id (str): path (str): raises: errors.unexpectedstatus: if the server returns an undocumented STRING
HIGH…e2b/api/client/api/volumes/delete_volumes_volume_id.py0delete a path args: volume_id (str): path (str): raises: errors.unexpectedstatus: if the server returns an undocumented STRING
HIGH…ent/api/volumes/delete_volumecontent_volume_id_path.py0delete a path args: volume_id (str): path (str): raises: errors.unexpectedstatus: if the server returns an undocumented STRING
HIGHpackages/python-sdk/e2b/secret/secret_async.py0module for managing e2b secrets and workload identity helpers. secret values are write-only: they are accepted by ``creaSTRING
HIGHpackages/python-sdk/e2b/secret/base.py0module for managing e2b secrets and workload identity helpers. secret values are write-only: they are accepted by ``creaSTRING
HIGHpackages/python-sdk/e2b/secret/secret_sync.py0module for managing e2b secrets and workload identity helpers. secret values are write-only: they are accepted by ``creaSTRING
Unused Imports294 hits · 202 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/e2b/__init__.py28CODE
LOWpackages/python-sdk/e2b/__init__.py28CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py40CODE
LOWpackages/python-sdk/e2b/__init__.py64CODE
LOWpackages/python-sdk/e2b/__init__.py64CODE
LOWpackages/python-sdk/e2b/__init__.py64CODE
LOWpackages/python-sdk/e2b/__init__.py64CODE
LOWpackages/python-sdk/e2b/__init__.py64CODE
LOWpackages/python-sdk/e2b/__init__.py64CODE
LOWpackages/python-sdk/e2b/__init__.py72CODE
LOWpackages/python-sdk/e2b/__init__.py73CODE
LOWpackages/python-sdk/e2b/__init__.py73CODE
LOWpackages/python-sdk/e2b/__init__.py73CODE
LOWpackages/python-sdk/e2b/__init__.py74CODE
LOWpackages/python-sdk/e2b/__init__.py74CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py79CODE
LOWpackages/python-sdk/e2b/__init__.py80CODE
LOWpackages/python-sdk/e2b/__init__.py81CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
LOWpackages/python-sdk/e2b/__init__.py82CODE
234 more matches not shown…
Excessive Try-Catch Wrapping109 hits · 118 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/tests/conftest.py161 except Exception as e:CODE
LOWpackages/python-sdk/tests/conftest.py205 except Exception as e:CODE
LOWpackages/python-sdk/tests/conftest.py256 except Exception as e:CODE
LOWpackages/python-sdk/tests/envd_frame_server.py152 except Exception as e: # noqa: BLE001 — surfaced via assert_no_errorsCODE
LOWpackages/python-sdk/tests/envd_frame_server.py306 except Exception as e: # noqa: BLE001 — surfaced via assert_no_errorsCODE
LOWpackages/python-sdk/tests/envd_frame_server.py410 except Exception as e: # noqa: BLE001 — surfaced via assert_no_errorsCODE
MEDIUMpackages/python-sdk/tests/envd_frame_server.py90def run(self):CODE
LOW…thon-sdk/tests/async/template_async/test_stacktrace.py98 except Exception as e: # noqa: BLE001 - we want to assert on the traceback regardless of typeCODE
LOW⚡…es/python-sdk/tests/async/sandbox_async/test_create.py91 except Exception:CODE
LOW…es/python-sdk/tests/async/sandbox_async/test_create.py203 except Exception:CODE
LOW…sdk/tests/async/sandbox_async/files/test_files_list.py151 except Exception as err:CODE
LOW…python-sdk/tests/sync/template_sync/test_stacktrace.py98 except Exception as e: # noqa: BLE001 - we want to assert on the traceback regardless of typeCODE
LOW…ckages/python-sdk/tests/sync/sandbox_sync/test_host.py20 except Exception as e:CODE
LOW⚡…ages/python-sdk/tests/sync/sandbox_sync/test_create.py88 except Exception:CODE
LOW…ages/python-sdk/tests/sync/sandbox_sync/test_create.py198 except Exception:CODE
LOW…n-sdk/tests/sync/sandbox_sync/files/test_files_list.py151 except Exception as err:CODE
LOWpackages/python-sdk/e2b/template_sync/build_api.py175 except Exception:CODE
LOWpackages/python-sdk/e2b/template_sync/build_api.py181 except Exception as e:CODE
LOWpackages/python-sdk/e2b/template_async/build_api.py177 except Exception:CODE
LOWpackages/python-sdk/e2b/template_async/build_api.py183 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/client_shared.py48 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py143 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py158 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py179 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py204 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/api.py66 except Exception:CODE
LOWpackages/python-sdk/e2b/envd/api.py77 except Exception:CODE
LOW⚡packages/python-sdk/e2b/envd/api.py124 except Exception as probe_error:CODE
LOW⚡packages/python-sdk/e2b/envd/api.py138 except Exception as probe_error:CODE
LOWpackages/python-sdk/e2b/envd/rpc.py182 except Exception as probe_error:CODE
LOWpackages/python-sdk/e2b/envd/rpc.py199 except Exception as probe_error:CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py147 except Exception:CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py213 except Exception as err:CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py227 except Exception as err:CODE
LOWpackages/python-sdk/e2b/sandbox_async/main.py256 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py44 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py63 except Exception as e:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py73 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py93 except Exception as e:CODE
MEDIUM…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py47def _iterate_events(self):CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py527 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py556 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py587 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py611 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py644 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py672 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py761 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py764 except Exception:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py96 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py124 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py157 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py188 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py396 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py399 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py187 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py216 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py236 except Exception as e:CODE
MEDIUM…ython-sdk/e2b/sandbox_async/commands/command_handle.py141def _iterate_events(CODE
MEDIUM…ython-sdk/e2b/sandbox_async/commands/command_handle.py219def _handle_events(self):CODE
LOWpackages/python-sdk/e2b/sandbox_async/commands/pty.py89 except Exception as e:CODE
49 more matches not shown…
Cross-Language Confusion15 hits · 85 pts
SeverityFileLineSnippetContext
HIGHpackages/python-sdk/tests/test_command_handle.py101 events.push(_stdout_event(b"a"))CODE
HIGHpackages/python-sdk/tests/test_command_handle.py114 events.push(_stdout_event(b"b"))CODE
HIGH⚡…s/async/template_async/methods/test_from_dockerfile.py212 assert instructions[2]["args"] == ["echo one && echo two"]CODE
HIGH…hon-sdk/tests/async/sandbox_async/pty/test_pty_kill.py12 f"for i in $(seq 1 50); do kill -0 {terminal.pid} 2>/dev/null || exit 0; "CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py12 git_sandbox.git.push(CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py33 git_sandbox.git.push(repo_path, set_upstream=False)CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py47 git_sandbox.git.push(CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py64 git_sandbox.git.push(repo_path)CODE
HIGHpackages/python-sdk/tests/shared/git/test_clone.py13 git_sandbox.git.push(CODE
HIGH⚡…sts/sync/template_sync/methods/test_from_dockerfile.py212 assert instructions[2]["args"] == ["echo one && echo two"]CODE
HIGH…ython-sdk/tests/sync/sandbox_sync/pty/test_pty_kill.py12 f"for i in $(seq 1 50); do kill -0 {terminal.pid} 2>/dev/null || exit 0; "CODE
HIGHpackages/python-sdk/e2b/template/main.py621 + " | sudo tee /devcontainer.sh > /dev/null && sudo chmod +x /devcontainer.sh && sudo touch /devcontaineCODE
HIGH⚡…/dockerfile-utils-python/tests/test_buildkit_parser.py203 '["a",null,"b"]',CODE
HIGH⚡packages/dockerfile-utils-python/tests/test_syntax.py35 assert ast.instructions[1].args == ["apt-get update && apt-get install -y curl"]CODE
HIGHpackages/desktop-python/e2b_desktop/main.py336 "pgrep -x xfce4-session >/dev/null && pgrep -x xfwm4 >/dev/null && pgrep -x xfdesktop >/dev/null",CODE
Self-Referential Comments13 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUM…es/python-sdk/tests/async/template_async/test_build.py31 # Create a symlink to a file that does not existCOMMENT
MEDIUM…sdk/tests/async/sandbox_async/files/test_files_list.py222 # Create a dictionary of entries by name for easier verificationCOMMENT
MEDIUM…hon-sdk/tests/async/sandbox_async/commands/test_run.py27 # Create a string with 8191 'a' characters followed by the problematic byte 0xe2COMMENT
MEDIUM⚡…ts/shared/template/utils/test_get_all_files_in_path.py123 # Create a mix of files and directoriesCOMMENT
MEDIUM⚡…ts/shared/template/utils/test_get_all_files_in_path.py205 # Create a complex structureCOMMENT
MEDIUM…ts/shared/template/utils/test_get_all_files_in_path.py295 # Create a file and a symlink to itCOMMENT
MEDIUM…ages/python-sdk/tests/sync/template_sync/test_build.py31 # Create a symlink to a file that does not existCOMMENT
MEDIUM…n-sdk/tests/sync/sandbox_sync/files/test_files_list.py221 # Create a dictionary of entries by name for easier verificationCOMMENT
MEDIUM⚡…ython-sdk/tests/sync/sandbox_sync/commands/test_run.py25 # Create a string with 8191 'a' characters followed by the problematic byte 0xe2COMMENT
MEDIUMpackages/python-sdk/e2b/template/main.py1037 # Create a TemplateBuilder first to use its methodsCOMMENT
MEDIUM⚡packages/desktop-python/tests/conftest.py13 # Create a new sandbox instance for each testCOMMENT
MEDIUMpackages/desktop-python/tests/test_controls.py77 # Create a file and open it in a text editorCOMMENT
MEDIUMpackages/desktop-python/e2b_desktop/main.py255 # Initialize environment variables with DISPLAYCOMMENT
AI Structural Patterns36 hits · 36 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/e2b/connection_config.py263CODE
LOWpackages/python-sdk/e2b/template_sync/main.py201CODE
LOWpackages/python-sdk/e2b/template_sync/main.py308CODE
LOWpackages/python-sdk/e2b/template_async/main.py201CODE
LOWpackages/python-sdk/e2b/template_async/main.py307CODE
LOW…ckages/python-sdk/e2b/envd/filesystem/filesystem_pb.py311CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py258CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py631CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py664CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py695CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py728CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py819CODE
LOWpackages/python-sdk/e2b/sandbox_async/main.py173CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py192CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py224CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py255CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py274CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py258CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py619CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py650CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py679CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py710CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py801CODE
LOWpackages/python-sdk/e2b/sandbox_sync/main.py169CODE
LOW…ckages/python-sdk/e2b/sandbox_sync/commands/command.py201CODE
LOW…ckages/python-sdk/e2b/sandbox_sync/commands/command.py233CODE
LOW…ckages/python-sdk/e2b/sandbox_sync/commands/command.py262CODE
LOWpackages/python-sdk/e2b/volume/connection_config.py96CODE
LOWpackages/desktop-python/e2b_desktop/main.py216CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py107CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py142CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py175CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py133CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py103CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py138CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py171CODE
Deep Nesting36 hits · 35 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/tests/envd_frame_server.py90CODE
LOWpackages/python-sdk/tests/envd_frame_server.py229CODE
LOWpackages/python-sdk/tests/envd_frame_server.py358CODE
LOWpackages/python-sdk/tests/mock_volume_content.py85CODE
LOWpackages/python-sdk/tests/test_client.py80CODE
LOW…thon-sdk/tests/async/template_async/test_stacktrace.py94CODE
LOW…dk/tests/shared/template/utils/test_tar_file_stream.py17CODE
LOW…python-sdk/tests/sync/template_sync/test_stacktrace.py94CODE
LOWpackages/python-sdk/e2b/template_sync/build_api.py266CODE
LOWpackages/python-sdk/e2b/template_async/build_api.py268CODE
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py433CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py219CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py118CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py175CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py274CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py322CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py569CODE
LOWpackages/python-sdk/e2b/sandbox_sync/sandbox_api.py362CODE
LOW…python-sdk/e2b/sandbox_sync/commands/command_handle.py160CODE
LOWpackages/python-sdk/e2b/sandbox/sandbox_api.py737CODE
LOW…ages/python-sdk/e2b/sandbox/filesystem/watch_handle.py36CODE
LOWpackages/python-sdk/e2b/volume/volume_sync.py585CODE
LOWpackages/python-sdk/e2b/volume/volume_async.py492CODE
LOWpackages/python-sdk/e2b/volume/volume_async.py552CODE
LOW…/dockerfile-utils-python/tests/test_buildkit_parser.py35CODE
LOW…file-utils-python/e2b_dockerfile_utils/dockerignore.py49CODE
LOW…file-utils-python/e2b_dockerfile_utils/dockerignore.py73CODE
LOW…file-utils-python/e2b_dockerfile_utils/dockerignore.py215CODE
LOW…/dockerfile-utils-python/e2b_dockerfile_utils/lexer.py153CODE
LOW…/dockerfile-utils-python/e2b_dockerfile_utils/lexer.py381CODE
LOW…dockerfile-utils-python/e2b_dockerfile_utils/syntax.py217CODE
LOW…dockerfile-utils-python/e2b_dockerfile_utils/syntax.py354CODE
LOW…dockerfile-utils-python/e2b_dockerfile_utils/syntax.py512CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py328CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py462CODE
LOW…code-interpreter-python/e2b_code_interpreter/charts.py213CODE
Synthetic Comment Markers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHREADME.md20[E2B](https://e2b.dev/?utm_source=github&utm_medium=referral&utm_campaign=readme&utm_content=E2B) is an open-source infrCODE
HIGHpackages/python-sdk/README.md17[E2B](https://e2b.dev/?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=e2b) is an open-source infrasCODE
HIGHpackages/js-sdk/README.md20[E2B](https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b) is an open-source infrastCODE
HIGHpackages/code-interpreter-js/README.md20[E2B](https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=code-interpreter) is an open-sCODE
HIGHpackages/code-interpreter-python/README.md20[E2B](https://e2b.dev/?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=code-interpreter) is an open-CODE
Modern Structural Boilerplate21 hits · 22 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/e2b/__init__.py169__all__ = [CODE
LOWpackages/python-sdk/e2b/paginator.py50 def _update_pagination(self, headers: Mapping[str, str]) -> None:CODE
LOWpackages/python-sdk/e2b/connection_config.py199 def set_integration(cls, integration: Optional[str]) -> None:CODE
LOWpackages/python-sdk/e2b/sandbox_async/main.py46logger = logging.getLogger(__name__)CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py17__all__ = [CODE
LOWpackages/python-sdk/e2b/sandbox_sync/main.py45logger = logging.getLogger(__name__)CODE
LOWpackages/python-sdk/e2b/sandbox/_git/__init__.py47__all__ = [CODE
LOWpackages/python-sdk/e2b/api/client/types.py54__all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]CODE
LOWpackages/python-sdk/e2b/api/client/errors.py16__all__ = ["UnexpectedStatus"]CODE
LOWpackages/python-sdk/e2b/secret/__init__.py5__all__ = [CODE
LOWpackages/python-sdk/e2b/volume/types.py61__all__ = [CODE
LOWpackages/python-sdk/e2b/volume/client/types.py54__all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]CODE
LOWpackages/python-sdk/e2b/volume/client/errors.py16__all__ = ["UnexpectedStatus"]CODE
LOW…ckerfile-utils-python/e2b_dockerfile_utils/__init__.py15__all__ = [CODE
LOW…dockerfile-utils-python/e2b_dockerfile_utils/syntax.py134 def _set_escape_token(self, token: str) -> None:CODE
LOW⚡packages/desktop-python/tests/conftest.py8logger = logging.getLogger(__name__)CODE
LOWpackages/desktop-python/e2b_desktop/client.py11__all__ = ["E2B", "E2BClientParams"]CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py35logger = logging.getLogger(__name__)CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py37logger = logging.getLogger(__name__)CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py31logger = logging.getLogger(__name__)CODE
LOW…code-interpreter-python/e2b_code_interpreter/client.py12__all__ = ["E2B", "E2BClientParams"]CODE
Over-Commented Block15 hits · 15 pts
SeverityFileLineSnippetContext
LOWredocly.yaml1# Filters the synced REST API spec (spec/openapi.yml) down to the endpointCOMMENT
LOWscripts/fetch-spec.sh1#!/usr/bin/env bashCOMMENT
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py221 # Stream the response body instead of buffering it in memory.COMMENT
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py381 # Gzip compression only works with the octet-stream upload (theCOMMENT
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py181 # Optional scalar: unset reads as "" — the presenceCOMMENT
LOWpackages/python-sdk/e2b/api/client_async/__init__.py141"""Cache key: proxy, idle read bound, HTTP version — fixed when a pyqwestCOMMENT
LOWpackages/python-sdk/e2b/volume/volume_async.py521 timeout = VolumeConnectionConfig._get_request_timeout(COMMENT
LOW…ages/js-sdk/tests/runtimes/browser/processEnv.setup.ts1// Browsers have no `process`: `getEnvVar` (src/api/metadata.ts) resolves to ''COMMENT
LOW…/js-sdk/tests/runtimes/browser/noProcessGlobal.test.ts1import { assert, test } from 'vitest'COMMENT
LOWpackages/js-sdk/tests/bundle/edgeCompat.test.ts1import { existsSync, readFileSync } from 'node:fs'COMMENT
LOWpackages/js-sdk/src/retry.ts21 'EHOSTDOWN',COMMENT
LOW…-python/e2b_code_interpreter/code_interpreter_async.py61COMMENT
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py61 return self.connection_config.get_sandbox_url(COMMENT
LOWpackages/desktop-js/tests/mouse.test.ts21// sandboxTest('mouse left click', async ({ sandbox }) => {COMMENT
LOW.vscode/settings.json81 "cursorpyright.analysis.typeCheckingMode": "basic",COMMENT
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippetContext
LOWscripts/fetch-spec.sh45# Set COPYBARA_IMAGE to skip the image build and use a prebuilt image insteadCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/paginator.py98 # Check if res.parsed is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py317 # Check if res.parse is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py426 # Check if res.parse is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py524 # Check if res.parse is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_sync/paginator.py98 # Check if res.parsed is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_sync/sandbox_api.py514 # Check if res.parse is ErrorCOMMENT
LOWpackages/desktop-python/tests/test_controls.py16 # Check if there is any differenceCOMMENT
LOWpackages/desktop-python/tests/test_controls.py52 # Check if the image is a valid image formatCOMMENT
Verbosity Indicators6 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/cli/src/commands/template/init.ts177 // Step 1: Get template name (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts197 // Step 2: Get language (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts227 // Step 3: Create template directory - fail if it already existsCOMMENT
LOW⚡packages/cli/src/commands/template/init.ts239 // Step 4: Generate template and build files in the template directoryCOMMENT
LOW⚡packages/cli/src/commands/template/init.ts246 // Step 5: Add scriptsCOMMENT
LOWpackages/cli/src/commands/template/init.ts259 // Step 6: Create README.mdCOMMENT
Structural Annotation Overuse6 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/cli/src/commands/template/init.ts177 // Step 1: Get template name (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts197 // Step 2: Get language (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts227 // Step 3: Create template directory - fail if it already existsCOMMENT
LOW⚡packages/cli/src/commands/template/init.ts239 // Step 4: Generate template and build files in the template directoryCOMMENT
LOW⚡packages/cli/src/commands/template/init.ts246 // Step 5: Add scriptsCOMMENT
LOWpackages/cli/src/commands/template/init.ts259 // Step 6: Create README.mdCOMMENT
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…ages/dockerfile-utils-js/tests/buildkit-parser.test.ts306print('hello world')CODE
HIGH…s/js-sdk/tests/template/methods/fromDockerfile.test.ts320print("hi")CODE
Overly Generic Function Names4 hits · 3 pts
SeverityFileLineSnippetContext
LOW…es/python-sdk/tests/test_rate_limit_retry_transport.py20 def handle_request(self, request):CODE
LOW…es/python-sdk/tests/test_rate_limit_retry_transport.py350 def handle_request(self, request):CODE
LOW…es/python-sdk/tests/test_rate_limit_retry_transport.py378 def handle_request(self, request):CODE
LOWpackages/python-sdk/e2b/retry.py162 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackages/python-sdk/tests/test_watch_handle.py119CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/cli/tests/user_config_migration.test.ts20 email: 'user@example.com',CODE