AI Slop Code RIsk Monitor

opensandbox-group/OpenSandbox

Secure, Fast, and Extensible Sandbox runtime for AI agents.

17.9 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for opensandbox-group/OpenSandbox, a Python project with 15,776 GitHub stars. SynthScan examined 646,242 lines of code across 2554 source files, recording 8690 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 17.9 (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.

17.9
Adjusted Signal
17.9
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
15.8K
Stars
Python
Language
646.2K
Lines of Code
2.6K
Files
8.7K
Pattern Hits
2026-10-12
Scan Date
0.26
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 45.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 9.2/100 · LOW

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

Agent Over-Engineering Ratio 35.1/100 · MEDIUM

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

PR Review Velocity Impact 62.2/100 · HIGH

Which changes need focused human review? 8690 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 14HIGH 655MEDIUM 250LOW 7771

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 8690 distinct pattern matches across 24 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 Identifiers3443 hits · 3095 pts
SeverityFileLineSnippetContext
LOW…python/tests/test_code_service_adapter_sync_headers.py46def test_sync_adapter_merges_endpoint_headers_into_both_clients() -> None:CODE
LOW…python/tests/test_code_service_adapter_sync_headers.py61def test_sync_adapter_endpoint_headers_override_connection_headers() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py81def test_code_execution_converter_includes_context() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py90async def test_run_code_streaming_happy_path_updates_execution() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py101async def test_run_code_streaming_merges_endpoint_headers() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py125async def test_run_code_can_accept_language_string_without_context() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py136async def test_run_code_rejects_blank_code() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py146async def test_run_code_rejects_mismatched_language_and_context() -> None:CODE
LOW…preter/python/tests/test_code_service_adapter_close.py84async def test_async_adapter_aclose_closes_owned_clients() -> None:CODE
LOW…preter/python/tests/test_code_service_adapter_close.py96async def test_async_adapter_aclose_keeps_shared_transport_open() -> None:CODE
LOW…preter/python/tests/test_code_service_adapter_close.py122def test_sync_adapter_close_closes_owned_clients() -> None:CODE
LOW…preter/python/tests/test_code_service_adapter_close.py132def test_sync_adapter_close_keeps_shared_transport_open() -> None:CODE
LOW…preter/python/tests/test_code_service_adapter_close.py155def test_sync_create_failure_releases_service_clients(monkeypatch) -> None:CODE
LOW…preter/python/tests/test_code_service_adapter_close.py180async def test_async_adapter_aclose_is_idempotent() -> None:CODE
LOW…preter/python/tests/test_code_service_adapter_close.py187def test_supported_language_sync_matches_async_values() -> None:CODE
LOW…ython/tests/test_code_service_adapter_openapi_calls.py32async def test_create_context_uses_openapi_and_converts(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ython/tests/test_code_service_adapter_openapi_calls.py54async def test_interrupt_calls_openapi(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…de-interpreter/python/tests/test_adapter_eager_init.py24async def test_code_service_eager_init_and_client_available() -> None:CODE
LOW…de-interpreter/python/tests/test_adapter_eager_init.py34async def test_code_service_eager_init_merges_endpoint_headers() -> None:CODE
LOW…er/python/tests/test_code_interpreter_proxy_headers.py87async def test_async_code_requests_use_sandbox_proxy_headers(CODE
LOW…er/python/tests/test_code_interpreter_proxy_headers.py119def test_sync_code_requests_use_sandbox_proxy_headers(CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py71async def test_create_requires_sandbox() -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py77async def test_create_wires_code_service_and_delegates_properties(CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py97async def test_create_pings_until_code_service_ready(monkeypatch) -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py117async def test_create_times_out_when_code_service_never_ready(monkeypatch) -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py133async def test_create_skip_health_check_does_not_ping(monkeypatch) -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py148async def test_create_runs_runtime_process_check_script(monkeypatch) -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py169async def test_create_times_out_when_runtime_process_missing(monkeypatch) -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py191async def test_create_failure_releases_service_clients(monkeypatch) -> None:CODE
LOW…preter/python/src/code_interpreter/code_interpreter.py248 async def _is_runtime_process_alive(self) -> bool:CODE
LOW…interpreter/python/src/code_interpreter/models/code.py62 def language_must_not_be_empty(cls, v: str) -> str:CODE
LOW…preter/python/src/code_interpreter/models/code_sync.py39 def language_must_not_be_empty(cls, v: str) -> str:CODE
LOW…preter/python/src/code_interpreter/adapters/factory.py48 def create_code_execution_service(self, endpoint: SandboxEndpoint) -> Codes:CODE
LOW…rpreter/adapters/converter/code_execution_converter.py95 def from_api_code_context_dict(api_context: dict[str, Any]) -> CodeContext:CODE
LOW⚡…r/python/src/code_interpreter/sync/code_interpreter.py220 def _is_runtime_process_alive(self) -> bool:CODE
LOW…r/python/src/code_interpreter/sync/adapters/factory.py44 def create_code_execution_service(self, endpoint: SandboxEndpoint) -> CodesSync:CODE
LOW…preter/javascript/src/factory/defaultAdapterFactory.ts41export function createDefaultAdapterFactory(): AdapterFactory {CODE
LOWsdks/mcp/sandbox/python/tests/test_server_tools.py104async def test_kill_manager_fallback_keeps_shared_transport_open(server) -> None:CODE
LOWsdks/mcp/sandbox/python/tests/test_server_tools.py119def test_borrowed_config_shares_transport_without_ownership() -> None:CODE
LOWsdks/mcp/sandbox/python/tests/test_server_tools.py134async def test_concurrent_connect_creates_single_registry_entry(CODE
LOWsdks/mcp/sandbox/python/tests/test_server_tools.py166async def test_slow_connect_does_not_block_unrelated_registry_ops(CODE
LOWsdks/mcp/sandbox/python/tests/test_server_tools.py210async def test_failed_connect_is_not_sticky(server, monkeypatch) -> None:CODE
LOWsdks/mcp/sandbox/python/tests/test_mcp2_migration.py44def _read_requires_dist_from_source() -> list[str]:CODE
LOWsdks/mcp/sandbox/python/tests/test_mcp2_migration.py75 def test_server_module_imports(self) -> None:CODE
LOWsdks/mcp/sandbox/python/tests/test_mcp2_migration.py88 def test_old_fastmcp_import_raises(self) -> None:CODE
LOWsdks/mcp/sandbox/python/tests/test_cli.py42def test_streamable_http_uses_mcp_defaults(CODE
LOWsdks/mcp/sandbox/python/tests/test_cli.py67def test_streamable_http_forwards_host_and_port(CODE
LOWsdks/mcp/sandbox/python/tests/test_cli.py100def test_stdio_does_not_pass_http_bind_options(CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py133async def test_async_write_files_direct_execd_uses_chunked_upload() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py155async def test_async_write_files_direct_execd_rewinds_seekable_streams() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py174async def test_async_write_files_direct_execd_escapes_filename_header() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py191async def test_async_write_files_server_proxy_uses_content_length_and_preserves_charset() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py215async def test_async_write_files_direct_execd_encodes_strings_with_entry_encoding() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py236async def test_async_chunked_upload_does_not_follow_redirects(CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py264async def test_async_server_proxy_upload_does_not_follow_redirects(CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py297async def test_async_isolated_upload_does_not_follow_redirects(CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py332def test_sync_write_files_direct_execd_uses_chunked_upload() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py353def test_sync_write_files_direct_execd_rewinds_seekable_streams() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py371def test_sync_write_files_direct_execd_escapes_filename_header() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py387def test_sync_write_files_server_proxy_uses_content_length_and_preserves_charset() -> None:CODE
3383 more matches not shown…
Over-Commented Block2357 hits · 2328 pts
SeverityFileLineSnippetContext
LOWsdks/code-interpreter/python/pyproject.toml1# Copyright 2025 The OpenSandbox AuthorsCOMMENT
LOW…python/tests/test_code_service_adapter_sync_headers.py1#COMMENT
LOW…er/python/tests/test_code_service_adapter_streaming.py1#COMMENT
LOW…preter/python/tests/test_code_service_adapter_close.py1#COMMENT
LOW…ython/tests/test_code_service_adapter_openapi_calls.py1#COMMENT
LOW…de-interpreter/python/tests/test_adapter_eager_init.py1#COMMENT
LOW…er/python/tests/test_code_interpreter_proxy_headers.py1# Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…n/tests/test_code_interpreter_create_and_delegation.py1#COMMENT
LOW…preter/python/src/code_interpreter/code_interpreter.py1#COMMENT
LOW…de-interpreter/python/src/code_interpreter/__init__.py1#COMMENT
LOW…interpreter/python/src/code_interpreter/models/code.py1#COMMENT
LOW…rpreter/python/src/code_interpreter/models/__init__.py1#COMMENT
LOW…preter/python/src/code_interpreter/models/code_sync.py1#COMMENT
LOW…r/python/src/code_interpreter/adapters/code_adapter.py1#COMMENT
LOW…reter/python/src/code_interpreter/adapters/__init__.py1#COMMENT
LOW…preter/python/src/code_interpreter/adapters/factory.py1#COMMENT
LOW…rpreter/adapters/converter/code_execution_converter.py1#COMMENT
LOW…on/src/code_interpreter/adapters/converter/__init__.py1#COMMENT
LOW…r/python/src/code_interpreter/sync/code_interpreter.py1#COMMENT
LOW…terpreter/python/src/code_interpreter/sync/__init__.py1#COMMENT
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py1#COMMENT
LOW…/python/src/code_interpreter/sync/adapters/__init__.py1#COMMENT
LOW…r/python/src/code_interpreter/sync/adapters/factory.py1#COMMENT
LOW…eter/python/src/code_interpreter/sync/services/code.py1#COMMENT
LOW…/python/src/code_interpreter/sync/services/__init__.py1#COMMENT
LOW…terpreter/python/src/code_interpreter/services/code.py1#COMMENT
LOW…reter/python/src/code_interpreter/services/__init__.py1#COMMENT
LOW…nSandbox.CodeInterpreter.Tests/CodeInterpreterTests.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…tests/OpenSandbox.CodeInterpreter.Tests/ModelsTests.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…deInterpreter.Tests/CodeInterpreterHealthCheckTests.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…OpenSandbox.CodeInterpreter.Tests/CodesAdapterTests.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…ests/OpenSandbox.CodeInterpreter.Tests/FactoryTests.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs21using OpenSandbox.Services;COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs61 /// Gets or sets whether to skip the strict code-executor readiness check.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs81public class CodeInterpreterWaitUntilReadyOptionsCOMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs101/// and are the same instances as on the underlying <see cref="Sandbox"/>.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs141 {COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs221 /// Healthy means both:COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs21/// </summary>COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs41 /// </summary>COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs61 /// Gets or sets the context ID.COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs101 /// <summary>COMMENT
LOW…c/OpenSandbox.CodeInterpreter/Adapters/CodesAdapter.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs21COMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs41COMMENT
LOW…preter/Factory/DefaultCodeInterpreterAdapterFactory.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs21/// <summary>COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs41 /// <returns>The context.</returns>COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs61 /// <exception cref="InvalidArgumentException">Thrown when <paramref name="contextId"/> is null or empty.</exceptionCOMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs81 /// <exception cref="InvalidArgumentException">Thrown when required request fields are missing.</exception>COMMENT
LOWsdks/code-interpreter/javascript/tsup.config.ts1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOWsdks/code-interpreter/javascript/src/interpreter.ts1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOWsdks/code-interpreter/javascript/src/index.ts1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOWsdks/code-interpreter/javascript/src/models.ts1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…de-interpreter/javascript/src/adapters/openapiError.ts1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
LOW…de-interpreter/javascript/src/adapters/codesAdapter.ts1// Copyright 2026 The OpenSandbox AuthorsCOMMENT
2297 more matches not shown…
Docstring Block Structure383 hits · 1915 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md270Create a new sandbox instance. Args: image: Container image specification timeout: Sandbox timeout STRING
HIGH…preter/python/src/code_interpreter/code_interpreter.py313 Creates a CodeInterpreter from an existing Sandbox instance. This factory method handles the creation STRING
HIGH…r/python/src/code_interpreter/sync/code_interpreter.py279 Create a CodeInterpreterSync from an existing SandboxSync instance (blocking). By default a strict heaSTRING
HIGH…hon/src/code_interpreter/sync/adapters/code_adapter.py268 Execute code within the specified context using SSE streaming (sync). Args: code: Source cSTRING
HIGH…eter/python/src/code_interpreter/sync/services/code.py59 Create a new execution context for code interpretation (blocking). An execution context maintains statSTRING
HIGH…eter/python/src/code_interpreter/sync/services/code.py118 Execute code within the specified context (blocking). This method runs the provided code string in theSTRING
HIGH…terpreter/python/src/code_interpreter/services/code.py75 Creates a new execution context for code interpretation. An execution context maintains the state of vSTRING
HIGH…terpreter/python/src/code_interpreter/services/code.py162 Executes code within the specified context. This method runs the provided code string in the language STRING
HIGHsdks/mcp/sandbox/python/src/opensandbox_mcp/server.py178Create a sandbox and store it in the MCP server session. This allocates a new sandbox instance using the OpenSaSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py292 Get a specific network endpoint for this sandbox. Args: port: The port number to get the eSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py309 Get a signed endpoint URL with an OSEP-0011 route token. Args: port: The port number to geSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py357 Set the sandbox expiration time. The new expiration time will be set to the current time plus the provSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py571 Create a new sandbox instance with the specified configuration. Args: image: Container imaSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py668 Create a new sandbox from a ``Succeeded`` fsb template. Template mode fixes the workload shape on the STRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py867 Connect to an existing sandbox instance by ID. Args: sandbox_id: ID of the existing sandboSTRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py140 List sandboxes with filtering options. Args: filter: Filter criteria for sandbox listing STRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py155 Get information for a single sandbox by its ID. Args: sandbox_id: Sandbox ID to retrieve iSTRING
HIGH…/python/src/opensandbox/adapters/filesystem_adapter.py177Read file content as bytes with support for range and line-based requests. Args: path: Path to the STRING
HIGH…box/python/src/opensandbox/adapters/metrics_adapter.py96Retrieve current resource usage metrics for a sandbox. Args: sandbox_id: The unique identifier of tSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py94Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py129Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py159Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py192Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py80Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py109Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py133Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py160Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py80Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py109Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py133Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py160Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py98Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py127Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py151Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py178Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py89Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py124Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py154Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py187Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py93Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py129Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py160Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py194Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py85Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py117Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py144Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py174Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py99Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py134Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py164Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py197Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py84Get isolated session state Returns runtime status plus the creation parameters of the session. A stateless client STRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py117Get isolated session state Returns runtime status plus the creation parameters of the session. A stateless client STRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py145Get isolated session state Returns runtime status plus the creation parameters of the session. A stateless client STRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py176Get isolated session state Returns runtime status plus the creation parameters of the session. A stateless client STRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py84Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py116Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py143Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py173Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…xecd/api/isolated_execution/isolated_list_directory.py108List directory contents Args: session_id (UUID): path (str): depth (int | Unset): Default:STRING
323 more matches not shown…
Unused Imports780 hits · 687 pts
SeverityFileLineSnippetContext
LOW…er/python/tests/test_code_service_adapter_streaming.py16CODE
LOW…preter/python/tests/test_code_service_adapter_close.py27CODE
LOW…ython/tests/test_code_service_adapter_openapi_calls.py16CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py27CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py28CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py28CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py32CODE
LOW…rpreter/python/src/code_interpreter/models/__init__.py20CODE
LOW…rpreter/python/src/code_interpreter/models/__init__.py20CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py20CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py21CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py24CODE
LOW…on/src/code_interpreter/adapters/converter/__init__.py20CODE
LOW…terpreter/python/src/code_interpreter/sync/__init__.py16CODE
LOW…/python/src/code_interpreter/sync/adapters/__init__.py20CODE
LOW…/python/src/code_interpreter/sync/adapters/__init__.py21CODE
LOW…/python/src/code_interpreter/sync/services/__init__.py23CODE
LOW…reter/python/src/code_interpreter/services/__init__.py20CODE
LOWsdks/mcp/sandbox/python/tests/test_mcp2_protocol.py17CODE
LOWsdks/mcp/sandbox/python/tests/test_server_tools.py17CODE
LOWsdks/mcp/sandbox/python/tests/test_mcp2_migration.py23CODE
LOWsdks/mcp/sandbox/python/tests/test_cli.py15CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/server.py15CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/__init__.py18CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/__main__.py15CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py16CODE
LOW…box/python/tests/test_converters_and_error_handling.py16CODE
LOWsdks/sandbox/python/tests/test_pool_config.py18CODE
LOWsdks/sandbox/python/tests/test_template_adapter.py16CODE
LOWsdks/sandbox/python/tests/test_models_stability.py16CODE
LOW…/sandbox/python/tests/test_credential_vault_adapter.py16CODE
LOWsdks/sandbox/python/tests/test_sse.py16CODE
LOW…ndbox/python/tests/test_isolated_filesystem_adapter.py23CODE
LOWsdks/sandbox/python/tests/test_pool_tracing.py9CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py15CODE
LOWsdks/sandbox/python/tests/test_isolation_run_once.py18CODE
LOWsdks/sandbox/python/tests/test_redis_pool_store.py15CODE
LOW…/sandbox/python/tests/test_execd_proxy_auth_headers.py25CODE
LOW…python/tests/test_sandbox_service_adapter_lifecycle.py16CODE
LOW…x/python/tests/test_command_service_adapter_set_env.py18CODE
LOW…x/python/tests/test_command_service_adapter_session.py18CODE
LOWsdks/sandbox/python/tests/test_retry_policy.py18CODE
LOW…python/tests/test_command_service_adapter_streaming.py16CODE
LOW…s/sandbox/python/tests/test_isolated_service_import.py25CODE
LOW…ndbox/python/tests/test_pool_acquire_auth_fail_fast.py25CODE
LOW…thon/tests/test_sandbox_manager_sync_business_logic.py16CODE
LOW…n/tests/test_sandbox_sync_service_adapter_lifecycle.py16CODE
LOW…ndbox/python/tests/test_sandbox_sync_business_logic.py16CODE
LOWsdks/sandbox/python/tests/test_retry_decision.py18CODE
LOW…n/tests/test_sync_command_service_adapter_streaming.py16CODE
LOWsdks/sandbox/python/tests/test_redirect_integration.py16CODE
LOWsdks/sandbox/python/tests/test_pool_async.py15CODE
LOW…hon/tests/test_sync_command_service_adapter_set_env.py18CODE
LOW…hon/tests/test_sync_command_service_adapter_session.py18CODE
LOW…ndbox/python/tests/test_readiness_error_attribution.py24CODE
LOW…ks/sandbox/python/tests/test_async_redis_pool_store.py15CODE
LOWsdks/sandbox/python/tests/test_pool_manager.py15CODE
LOWsdks/sandbox/python/tests/test_pool_kill_discarded.py25CODE
LOW…ox/python/tests/test_sandbox_manager_business_logic.py16CODE
LOW…s/sandbox/python/tests/test_isolation_session_state.py22CODE
720 more matches not shown…
Decorative Section Separators195 hits · 650 pts
SeverityFileLineSnippetContext
MEDIUM⚡sdks/sandbox/python/tests/test_models_stability.py304# ============================================================================COMMENT
MEDIUM⚡sdks/sandbox/python/tests/test_models_stability.py306# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/tests/test_models_stability.py475# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/tests/test_models_stability.py477# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/src/opensandbox/models/sandboxes.py415# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/src/opensandbox/models/sandboxes.py417# ============================================================================COMMENT
MEDIUM⚡tests/python/tests/test_isolated_session_e2e.py264 # ── RW mode: run-based file tests ─────────────────────────────────COMMENT
MEDIUM⚡tests/python/tests/test_isolated_session_e2e.py482 # ── Overlay mode tests ────────────────────────────────────────────COMMENT
MEDIUM⚡tests/python/tests/test_isolated_session_e2e.py691 # ── Bind mount tests (explicit source->dest binds) ─────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py89 # ── Helpers ────────────────────────────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py102 # ── Core session tests ────────────────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py216 # ── Attach (stateless recovery) ───────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py298 # ── RW mode: filesystem API tests ─────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py421 # ── RO mode tests ─────────────────────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py646 # ── run_once / session convenience method tests ──────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py770 # ── Background run tests ─────────────────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java289 // ── RW mode: filesystem API tests ───────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java529 // ── RO mode tests ───────────────────────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java615 // ── Overlay mode tests ──────────────────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java862 // ── run_once / withSession convenience API tests ─────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java954 // ── Bind mount tests (explicit source->dest binds) ─────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java1095 // ── Multiple overlay mounts (overlays request field) ────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs183 // ── Background runs ─────────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs308 // ── RW mode: filesystem API tests ───────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs545 // ── RO mode tests ───────────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs644 // ── Overlay mode tests ──────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs921 // ── RunOnceAsync / WithSessionAsync convenience API tests ────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs971 // ── Bind mount tests (explicit source->dest binds) ─────────────────COMMENT
MEDIUM…sts/javascript/tests/test_isolated_session_e2e.test.ts725 // ── runOnce / withSession convenience API tests ──────────────────COMMENT
MEDIUM…sts/javascript/tests/test_isolated_session_e2e.test.ts766 // ── Background run tests ──────────────────────────────────────COMMENT
MEDIUMserver/tests/test_signing.py150# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py152# ============================================================COMMENT
MEDIUM⚡server/tests/test_signing.py220# ============================================================COMMENT
MEDIUM⚡server/tests/test_signing.py222# ============================================================COMMENT
MEDIUM⚡server/tests/test_ingress.py75# ============================================================COMMENT
MEDIUM⚡server/tests/test_ingress.py77# ============================================================COMMENT
MEDIUMserver/tests/test_config.py1950# ============================================================COMMENT
MEDIUMserver/tests/test_config.py1952# ============================================================COMMENT
MEDIUMserver/tests/test_docker_service.py4674# ============================================================================COMMENT
MEDIUMserver/tests/test_docker_service.py4676# ============================================================================COMMENT
MEDIUM⚡server/tests/k8s/test_provider_common.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡server/tests/k8s/test_provider_common.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡server/tests/k8s/test_provider_common.py89# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡server/tests/k8s/test_provider_common.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py66# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py68# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py280# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py282# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py396# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py398# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py511# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py513# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py29# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py31# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py72# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py74# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py202# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py204# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py418# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py420# ============================================================================COMMENT
135 more matches not shown…
Excessive Try-Catch Wrapping597 hits · 628 pts
SeverityFileLineSnippetContext
LOW…preter/python/src/code_interpreter/code_interpreter.py245 except Exception:CODE
LOW…preter/python/src/code_interpreter/code_interpreter.py261 except Exception:CODE
LOW…preter/python/src/code_interpreter/code_interpreter.py370 except Exception:CODE
LOW…preter/python/src/code_interpreter/code_interpreter.py379 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py206 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py225 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py243 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py257 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py273 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py355 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py361 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py382 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py402 except Exception as e:CODE
LOW⚡…r/python/src/code_interpreter/sync/code_interpreter.py217 except Exception:CODE
LOW⚡…r/python/src/code_interpreter/sync/code_interpreter.py227 except Exception:CODE
LOW…r/python/src/code_interpreter/sync/code_interpreter.py318 except Exception:CODE
LOW…r/python/src/code_interpreter/sync/code_interpreter.py326 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py187 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py207 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py228 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py241 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py256 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py338 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py343 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py361 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py378 except Exception as e:CODE
LOWsdks/sandbox/python/README.md60 except Exception as e:CODE
MEDIUMsdks/sandbox/python/README.md61 print(f"Error: {e}")CODE
LOWsdks/sandbox/python/README.md292 except Exception:CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py1103 except Exception as exc: # noqa: BLE001CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py1199 except Exception as exc: # noqa: BLE001CODE
LOWsdks/sandbox/python/tests/test_pool_store.py171 except Exception as exc:CODE
MEDIUMsdks/sandbox/python/tests/test_pool_store.py161def worker() -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py106 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py119 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py130 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py216 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py232 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py243 except Exception as exc:CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py462 except Exception as exc:CODE
MEDIUMsdks/sandbox/python/src/opensandbox/pool_async.py887def cleanup() -> None:CODE
MEDIUMsdks/sandbox/python/src/opensandbox/pool_async.py1057def _raise_if_pool_namespace_destroyed(self) -> None:CODE
MEDIUMsdks/sandbox/python/src/opensandbox/pool_async.py1340def _release_primary_lock_best_effort(self) -> None:CODE
LOW⚡sdks/sandbox/python/src/opensandbox/pool_async.py881 except Exception as exc:CODE
LOW⚡sdks/sandbox/python/src/opensandbox/pool_async.py890 except Exception:CODE
LOW⚡sdks/sandbox/python/src/opensandbox/pool_async.py997 except Exception as exc:CODE
LOW⚡sdks/sandbox/python/src/opensandbox/pool_async.py1062 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py224 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py312 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py388 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py427 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py475 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py488 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py501 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py631 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py795 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py1213 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py1345 except Exception as exc:CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py132 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/redis_pool_store.py538 except Exception as exc:STRING
537 more matches not shown…
Empty Error Handlers123 hits · 615 pts
SeverityFileLineSnippetContext
HIGHsdks/sandbox/python/src/opensandbox/pool_async.py592except (asyncio.TimeoutError, TimeoutError):CODE
HIGHsdks/sandbox/python/src/opensandbox/pool_async.py864except (asyncio.TimeoutError, TimeoutError):CODE
HIGHsdks/sandbox/python/src/opensandbox/pool_async.py890except Exception:CODE
HIGHsdks/sandbox/python/src/opensandbox/pool_async.py457except asyncio.CancelledError:CODE
HIGH…ndbox/python/src/opensandbox/config/connection_sync.py201except Exception:CODE
HIGH…ks/sandbox/python/src/opensandbox/config/connection.py221except Exception:CODE
HIGH…andbox/python/src/opensandbox/internal/pool_tracing.py188except Exception:CODE
HIGH…andbox/python/src/opensandbox/internal/pool_tracing.py149except Exception:CODE
HIGH…andbox/python/src/opensandbox/internal/pool_tracing.py157except Exception:CODE
HIGH…/python/src/opensandbox/adapters/filesystem_adapter.py562except JSONDecodeError:CODE
HIGH…rc/opensandbox/adapters/isolated_filesystem_adapter.py343except JSONDecodeError:CODE
HIGH…/opensandbox/adapters/converter/exception_converter.py154except Exception:CODE
HIGH…rc/opensandbox/api/egress/models/credential_binding.py119except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGH…rc/opensandbox/api/egress/models/credential_binding.py127except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGH…rc/opensandbox/api/egress/models/credential_binding.py135except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGH…rc/opensandbox/api/egress/models/credential_binding.py143except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGH…pensandbox/api/execd/models/command_status_response.py141except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGH…rc/opensandbox/api/execd/models/isolated_run_status.py134except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGH…box/python/src/opensandbox/api/lifecycle/models/pvc.py156except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGHsdks/sandbox/python/src/opensandbox/sync/pool.py1073except Exception:CODE
HIGHsdks/sandbox/python/src/opensandbox/sync/pool.py1078except Exception:CODE
HIGHsdks/sandbox/python/src/opensandbox/sync/pool.py1121except Exception:CODE
HIGHsdks/sandbox/python/src/opensandbox/sync/pool.py1117except Exception:CODE
HIGHsdks/sandbox/python/src/opensandbox/sync/pool.py1593except BaseException:CODE
HIGH…on/src/opensandbox/sync/adapters/filesystem_adapter.py484except JSONDecodeError:CODE
HIGH…ensandbox/sync/adapters/isolated_filesystem_adapter.py347except JSONDecodeError:CODE
HIGHtests/python/tests/test_credential_vault_e2e.py569except Exception:CODE
HIGHtests/python/tests/test_execd_init_e2e.py238except Exception: # noqa: BLE001 # the execd connection dies mid-streamCODE
HIGHtests/python/tests/test_sandbox_pool_e2e_async.py1364except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_async.py1368except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_async.py1372except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_async.py1380except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_async.py1384except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_async.py1400except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py336except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py341except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py405except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py410except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py486except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py491except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py551except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py556except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py631except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py636except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py693except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py698except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py772except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py777except Exception:CODE
HIGHtests/python/tests/test_sandbox_e2e_sync.py133except Exception:CODE
HIGHtests/python/tests/test_execd_hardening_e2e.py251except Exception: # noqa: BLE001 # file may not be flushed yetCODE
HIGHtests/python/tests/test_sandbox_pool_e2e_sync.py1262except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_sync.py1266except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_sync.py1270except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_sync.py1278except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_sync.py1282except Exception:CODE
HIGHtests/python/tests/test_sandbox_pool_e2e_sync.py1298except Exception:CODE
HIGHtests/python/tests/test_sandbox_manager_e2e.py183except Exception:CODE
HIGHtests/python/tests/test_sandbox_manager_e2e.py187except Exception:CODE
HIGHtests/python/tests/test_sandbox_manager_e2e.py193except Exception:CODE
HIGHtests/python/tests/test_sandbox_manager_e2e.py199except Exception:CODE
63 more matches not shown…
Cross-File Repetition74 hits · 370 pts
SeverityFileLineSnippetContext
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py0provides access to the connection configuration (including shared transport).STRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py0provides access to the connection configuration (including shared transport).STRING
HIGHsdks/sandbox/python/src/opensandbox/sync/sandbox.py0provides access to the connection configuration (including shared transport).STRING
HIGHsdks/sandbox/python/src/opensandbox/sync/manager.py0provides access to the connection configuration (including shared transport).STRING
HIGH…dbox/python/src/opensandbox/adapters/health_adapter.py0initialize the metrics service adapter. args: connection_config: connection configuration (shared transport, headers, tiSTRING
HIGH…box/python/src/opensandbox/adapters/command_adapter.py0initialize the metrics service adapter. args: connection_config: connection configuration (shared transport, headers, tiSTRING
HIGH…box/python/src/opensandbox/adapters/metrics_adapter.py0initialize the metrics service adapter. args: connection_config: connection configuration (shared transport, headers, tiSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get a new client matching this one with additional headersSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get a new client matching this one with additional headersSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get a new client matching this one with additional headersSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get a new client matching this one with additional headersSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get a new client matching this one with additional cookiesSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get a new client matching this one with additional cookiesSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get a new client matching this one with additional cookiesSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get a new client matching this one with additional cookiesSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/egress/types.py0return a tuple representation that httpx will accept for multipart/form-dataSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/types.py0return a tuple representation that httpx will accept for multipart/form-dataSTRING
HIGH…sandbox/python/src/opensandbox/api/diagnostic/types.py0return a tuple representation that httpx will accept for multipart/form-dataSTRING
HIGH…/sandbox/python/src/opensandbox/api/lifecycle/types.py0return a tuple representation that httpx will accept for multipart/form-dataSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/errors.py0contains shared errors types that can be raised from api functionsSTRING
14 more matches not shown…
Modern Structural Boilerplate218 hits · 217 pts
SeverityFileLineSnippetContext
LOW…preter/python/src/code_interpreter/code_interpreter.py41logger = logging.getLogger(__name__)CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py34__all__ = [CODE
LOW…rpreter/python/src/code_interpreter/models/__init__.py25__all__ = [CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py52logger = logging.getLogger(__name__)CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py26__all__ = [CODE
LOW…on/src/code_interpreter/adapters/converter/__init__.py24__all__ = [CODE
LOW…r/python/src/code_interpreter/sync/code_interpreter.py37logger = logging.getLogger(__name__)CODE
LOW…terpreter/python/src/code_interpreter/sync/__init__.py18__all__ = ["CodeInterpreterSync"]CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py47logger = logging.getLogger(__name__)CODE
LOW…/python/src/code_interpreter/sync/adapters/__init__.py23__all__ = [CODE
LOW…/python/src/code_interpreter/sync/services/__init__.py25__all__ = [CODE
LOW…reter/python/src/code_interpreter/services/__init__.py22__all__ = [CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/__init__.py25__all__ = ["create_server"]CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py1669 def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_async.py1588 async def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_redis.py24__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py43logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py276__all__ = [CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py291 async def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py307 async def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py74logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py1369__all__ = [CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py32logger = logging.getLogger(__name__)CODE
LOW…ks/sandbox/python/src/opensandbox/_async_pool_store.py180 async def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOW…ks/sandbox/python/src/opensandbox/_async_pool_store.py185 async def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py130__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/redis_pool_store.py375 def set_max_idle(self, pool_name: str, max_idle: int) -> None:STRING
LOWsdks/sandbox/python/src/opensandbox/redis_pool_store.py391 def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:STRING
LOWsdks/sandbox/python/src/opensandbox/sandbox.py70logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py34logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool.py52__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_store.py184 def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_store.py189 def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/manager.py48logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py253 def set_max_idle(self, pool_name: str, max_idle: int) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py255 def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py295 async def set_max_idle(self, pool_name: str, max_idle: int) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py297 async def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None: ...CODE
LOW…ndbox/python/src/opensandbox/transport/_async_retry.py42logger = logging.getLogger(__name__)CODE
LOW…s/sandbox/python/src/opensandbox/transport/__init__.py51__all__ = [CODE
LOW…andbox/python/src/opensandbox/transport/_sync_retry.py46logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/config/__init__.py23__all__ = ["ConnectionConfig", "ConnectionConfigSync"]CODE
LOW…x/python/src/opensandbox/internal/lifecycle_metrics.py33logger = logging.getLogger(__name__)CODE
LOW…andbox/python/src/opensandbox/internal/pool_tracing.py94 def set_sandbox_id(self, sandbox_id: str) -> None:CODE
LOW⚡…andbox/python/src/opensandbox/internal/pool_tracing.py144 def _set_attribute(self, key: str, value: Any) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/models/__init__.py96__all__ = [CODE
LOW…/sandbox/python/src/opensandbox/exceptions/__init__.py39__all__ = [CODE
LOW…dbox/python/src/opensandbox/adapters/health_adapter.py33logger = logging.getLogger(__name__)CODE
LOW…x/python/src/opensandbox/adapters/sandboxes_adapter.py72logger = logging.getLogger(__name__)CODE
LOW…dbox/python/src/opensandbox/adapters/egress_adapter.py48logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py60logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py531 async def set_permissions(self, entries: list[SetPermissionEntry]) -> None:CODE
LOW…python/src/opensandbox/adapters/diagnostics_adapter.py35logger = logging.getLogger(__name__)CODE
LOW…box/python/src/opensandbox/adapters/command_adapter.py74logger = logging.getLogger(__name__)CODE
LOW⚡…box/python/src/opensandbox/adapters/command_adapter.py244 async def set_env(self, key: str, value: str) -> None:CODE
LOW…ks/sandbox/python/src/opensandbox/adapters/__init__.py30__all__ = [CODE
LOW…hon/src/opensandbox/adapters/network_policy_adapter.py59logger = logging.getLogger(__name__)CODE
LOW…ox/python/src/opensandbox/adapters/isolated_adapter.py61logger = logging.getLogger(__name__)CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py54logger = logging.getLogger(__name__)CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py311 async def set_permissions(self, entries: list[SetPermissionEntry]) -> None:CODE
158 more matches not shown…
Magic Placeholder Names43 hits · 212 pts
SeverityFileLineSnippetContext
HIGHREADME.md205osb config set connection.api_key <your-api-key>CODE
HIGHsdks/code-interpreter/python/README.md48 api_key="your-api-key",CODE
HIGHsdks/code-interpreter/python/README.md109 api_key="your-api-key",CODE
HIGHsdks/code-interpreter/csharp/README.md33 ApiKey = "your-api-key"CODE
HIGHsdks/code-interpreter/javascript/README.md45 apiKey: "your-api-key",CODE
HIGHsdks/sandbox/go/README.md35 lc := opensandbox.NewLifecycleClient("http://localhost:8080/v1", "your-api-key")CODE
HIGHsdks/sandbox/python/README.md36 api_key="your-api-key"CODE
HIGHsdks/sandbox/python/README.md80 api_key="your-api-key",CODE
HIGHsdks/sandbox/python/src/opensandbox/__init__.py57 api_key="your-api-key",STRING
HIGHsdks/sandbox/kotlin/README.md43 .apiKey("your-api-key")CODE
HIGHsdks/sandbox/kotlin/code-interpreter/README.md54 .apiKey("your-api-key")CODE
HIGHsdks/sandbox/csharp/README.md34 ApiKey = "your-api-key",CODE
HIGHsdks/sandbox/javascript/README.md37 apiKey: "your-api-key",CODE
HIGHspecs/sandbox-lifecycle.yml30 OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHspecs/sandbox-lifecycle.yml35 OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHspecs/sandbox-lifecycle.yml1106 1. HTTP Header: OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHspecs/diagnostic-api.yml27 OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHspecs/diagnostic-api.yml32 OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHspecs/diagnostic-api.yml190 1. HTTP Header: OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHdocs/sdks/kotlin.md51 .apiKey("your-api-key")CODE
HIGHdocs/sdks/kotlin.md87 .apiKey("your-api-key")CODE
HIGHdocs/sdks/go.md402 APIKey: "your-api-key",CODE
HIGHdocs/sdks/python.md42 api_key="your-api-key"CODE
HIGHdocs/sdks/python.md85 api_key="your-api-key",CODE
HIGHdocs/sdks/csharp.md41 ApiKey = "your-api-key",CODE
HIGHdocs/sdks/javascript.md44 apiKey: "your-api-key",CODE
HIGHdocs/cli/index.md61osb config set connection.api_key <your-api-key>CODE
HIGHdocs/cli/index.md511api_key = "your-api-key"CODE
HIGHdocs/examples/rclone-volume-mount.md119export OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHdocs/examples/docker-ossfs-volume-mount.md63export SANDBOX_API_KEY=your-api-keyCODE
HIGHdocs/examples/kubernetes-pvc-volume-mount.md99export OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHdocs/examples/client-pool-schedule.md29export OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHdocs/examples/qwen-code.md36export API_KEY=your-api-keyCODE
HIGHdocs/api/index.md67- HTTP Header: `OPEN-SANDBOX-API-KEY: your-api-key`CODE
HIGHdocs/api/index.md83- HTTP Header: `OPEN-SANDBOX-API-KEY: your-api-key`CODE
HIGHcli/README.md55osb config set connection.api_key <your-api-key>CODE
HIGHcli/README.md519api_key = "your-api-key"CODE
HIGHcli/src/opensandbox_cli/config.py48# api_key = "your-api-key"COMMENT
HIGHexamples/kubernetes-pvc-volume-mount/main.py29 export OPEN_SANDBOX_API_KEY=your-api-keySTRING
HIGHoseps/0003-volume-and-volumebinding-support.md237client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
HIGHoseps/0003-volume-and-volumebinding-support.md297client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
HIGHoseps/0003-volume-and-volumebinding-support.md375client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
HIGHoseps/0003-volume-and-volumebinding-support.md462client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
Cross-Language Confusion30 hits · 168 pts
SeverityFileLineSnippetContext
HIGH…preter/python/src/code_interpreter/code_interpreter.py55 "&& exit 0 || exit 1"CODE
HIGH…r/python/src/code_interpreter/sync/code_interpreter.py51 "&& exit 0 || exit 1"CODE
HIGH…python/tests/test_command_service_adapter_streaming.py154 b'data: {"type":"error","error":{"ename":"CommandExecError","evalue":"fork/exec /usr/bin/bash: resource CODE
HIGH…n/tests/test_sync_command_service_adapter_streaming.py147 b'data: {"type":"error","error":{"ename":"CommandExecError","evalue":"fork/exec /usr/bin/bash: resource CODE
HIGHtests/python/tests/test_execd_init_e2e.py77 "stat=$(cat \"$p/stat\" 2>/dev/null) || continue; "CODE
HIGH⚡tests/python/tests/test_execd_hardening_e2e.py344 _run_command(sandbox, "echo ok > /tmp/hardening-e2e-write && rm /tmp/hardening-e2e-write")CODE
HIGH⚡tests/python/tests/test_execd_hardening_e2e.py478 "echo x > /tmp/rq-probe && chmod 755 /tmp/rq-probe"CODE
HIGH⚡tests/python/tests/test_isolated_session_e2e.py279 await session.run("mkdir -p /tmp/subdir && echo nested > /tmp/subdir/file.txt")CODE
HIGH⚡tests/python/tests/test_isolated_session_e2e.py280 result = await session.run("cat /tmp/persist.txt && cat /tmp/subdir/file.txt")CODE
HIGH⚡tests/python/tests/test_isolated_session_e2e.py492 f"cat /tmp/{marker} 2>&1 || echo NOT_FOUND"CODE
HIGH⚡tests/python/tests/test_isolated_session_e2e.py537 host_check = await self.sandbox.commands.run(f"cat {path} 2>&1 || echo NOT_FOUND")CODE
HIGH⚡tests/python/tests/test_isolated_session_e2e.py843 run = await session.run_background("sleep 2 && echo woke-up")CODE
HIGHtests/python/tests/test_isolated_session_e2e.py186 "cat /tmp/isolated_test_file.txt 2>&1 || echo NOT_FOUND"CODE
HIGHtests/python/tests/test_fsb_e2e.py467 # (upsert + delete via null), renew-expiration.COMMENT
HIGHserver/tests/test_docker_delete_integration.py85 const event = JSON.parse(body); event.acknowledged = false; events.push(event);CODE
HIGH⚡server/tests/k8s/test_k8s_windows_profile.py183 entrypoint=["/bin/sh", "-c", "patch && exec /run/entry.sh"],CODE
HIGH⚡server/tests/k8s/test_k8s_windows_profile.py188 assert main["command"] == ["/bin/sh", "-c", "patch && exec /run/entry.sh"]CODE
HIGHserver/opensandbox_server/config.py550 "Set to 0 to disable (TOML cannot express null). "CODE
HIGHserver/opensandbox_server/api/schema.py485 "When omitted or null, the sandbox will not auto-terminate and must be deleted explicitly. "CODE
HIGHserver/opensandbox_server/services/signing.py23 inner = BE32(len(secret)) || secret || BE32(len(canonical)) || canonicalSTRING
HIGHserver/opensandbox_server/services/signing.py145 ``inner = BE32(len(secret)) || secret || BE32(len(canonical)) || canonical``STRING
HIGH…ver/opensandbox_server/services/k8s/provider_common.py128 "chmod +x /opt/opensandbox/bwrap || true) && "CODE
HIGHcomponents/execd/tests/smoke_api.py54 payload = {"command": "echo smoke-command && sleep 1", "background": True}CODE
HIGHcomponents/execd/tests/smoke_api.py153 "command": "sh -c 'echo long-run-start && sleep 20 && echo long-run-end'",CODE
HIGHexamples/deer-flow/main.py28 cd deer-flow/backend && uv sync --all-packages --extra opensandboxSTRING
HIGHexamples/qwen-code/main.py115 'cd /tmp/qwen-code-example && qwen -p "Compute 1+1 and reply with only the final number."'CODE
HIGHexamples/host-volume-mount/main.py171 "touch /mnt/readonly/should-fail.txt 2>&1 || echo 'Write denied (expected)'"CODE
HIGHexamples/docker-pvc-volume-mount/main.py198 "touch /mnt/readonly/should-fail.txt 2>&1 || echo 'Write denied (expected)'"CODE
HIGHexamples/docker-pvc-volume-mount/main.py312 result = await sandbox.commands.run("test -f /mnt/training-data/marker.txt && echo FOUND || echo NOT-FOUND")CODE
HIGHexamples/docker-pvc-volume-mount/main.py312 result = await sandbox.commands.run("test -f /mnt/training-data/marker.txt && echo FOUND || echo NOT-FOUND")CODE
Structural Annotation Overuse102 hits · 156 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/go/pool_reconciler.go134 // Step 1: Try to acquire the primary lock.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go146 // Step 2: Reap expired idle entries.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go166 // Step 3: Snapshot counters and determine current state.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go179 // Step 4: If idle > maxIdle, shrink excess.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go215 // Step 5: If deficit > 0 and not in backoff, create sandboxes.COMMENT
LOWsdks/sandbox/kotlin/code-interpreter/README.md201// Step 1: Define variablesCOMMENT
LOWsdks/sandbox/kotlin/code-interpreter/README.md211// Step 2: Use variables from previous stepCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py458 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py464 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py476 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py541 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py603 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py609 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py621 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py683 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py746 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py754 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py446 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py529 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py591 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py671 # Step 1: Verify the marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py734 # Step 1: Verify the subpath marker file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py710 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py717 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py791 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py850 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py857 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py869 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py927 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py987 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py997 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py697 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py729 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py779 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py837 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py915 # Step 1: Verify the marker file is readable on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py974 # Step 1: Verify the subpath marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java531 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java540 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java553 // Step 3: Verify the written file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java562 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java608 // Step 1: Verify the host marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java617 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java666 // Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java674 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java687 // Step 3: Verify the written file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java695 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java741 // Step 1: Verify the marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java749 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java799 // Step 1: Verify the subpath marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java807 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java823 // Step 3: Write a file and verifyCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts305 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts311 // Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts447 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts453 // Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts590 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts599 // Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts289 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts327 // Step 4: Verify the mount path is a proper directoryCOMMENT
42 more matches not shown…
Hallucination Indicators14 hits · 140 pts
SeverityFileLineSnippetContext
CRITICAL…m/alibaba/opensandbox/sandbox/EndpointReadinessTest.kt218 val server = com.sun.net.httpserver.HttpServer.create(java.net.InetSocketAddress("127.0.0.1", 0), 0)CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt1697 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt1750 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt1879 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2411 throw com.alibaba.opensandbox.sandbox.domain.exceptions.PoolStateStoreUnavailableException(CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2421 throw com.alibaba.opensandbox.sandbox.domain.exceptions.PoolStateStoreUnavailableException(CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2481 throw com.alibaba.opensandbox.sandbox.domain.exceptions.PoolStateStoreUnavailableException(CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2496 return com.alibaba.opensandbox.sandbox.domain.pool.TakeIdleResult.of(null)CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt99 com.alibaba.opensandbox.sandbox.infrastructure.cache.EndpointCache(CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt293 name?.let { com.alibaba.opensandbox.sandbox.api.models.CreateSnapshotRequest(name = it) },CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt405 val key = com.alibaba.opensandbox.sandbox.infrastructure.cache.EndpointCacheKey(sandboxId, port, useServerProxy)CODE
CRITICAL…tructure/adapters/service/IsolatedFilesystemAdapter.kt236 com.alibaba.opensandbox.sandbox.api.models.execd.Permission(CODE
CRITICAL…x/infrastructure/adapters/service/FilesystemAdapter.kt264 com.alibaba.opensandbox.sandbox.api.models.execd.Permission(CODE
CRITICALserver/tests/test_docker_service.py290 binds = mock_client.api.create_host_config.call_args.kwargs.get("binds")CODE
Deep Nesting144 hits · 118 pts
SeverityFileLineSnippetContext
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py260CODE
LOWsdks/sandbox/python/tests/test_pool_store.py152CODE
LOWsdks/sandbox/python/tests/test_pool_store.py161CODE
LOWsdks/sandbox/python/tests/test_redirect_integration.py332CODE
LOWsdks/sandbox/python/tests/test_redirect_integration.py365CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py230CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py411CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py466CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py661CODE
LOW…/sandbox/python/src/opensandbox/transport/_decision.py103CODE
LOWsdks/sandbox/python/src/opensandbox/config/client_ip.py172CODE
LOW…andbox/python/src/opensandbox/internal/pool_tracing.py72CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py282CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py341CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py353CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py185CODE
LOW…src/opensandbox/adapters/converter/response_handler.py215CODE
LOW…ndbox/adapters/converter/filesystem_model_converter.py74CODE
LOW…ndbox/adapters/converter/execution_event_dispatcher.py45CODE
LOW…rc/opensandbox/api/egress/models/credential_binding.py56CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py264CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py499CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py524CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py715CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py1155CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py1537CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py256CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py312CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py323CODE
LOW…thon/src/opensandbox/sync/adapters/isolated_adapter.py264CODE
LOW…ensandbox/sync/adapters/isolated_filesystem_adapter.py189CODE
LOW…/sync/adapters/converter/execution_event_dispatcher.py41CODE
LOWtests/python/tests/test_sandbox_pool_e2e_async.py1389CODE
LOWtests/python/tests/test_execd_hardening_e2e.py233CODE
LOWtests/python/tests/test_sandbox_pool_e2e_sync.py1287CODE
LOWtests/python/tests/test_lifecycle_metrics_e2e.py82CODE
LOWtests/python/tests/test_lifecycle_metrics_e2e.py135CODE
LOWtests/python/tests/test_lifecycle_metrics_e2e.py174CODE
LOWtests/python/tests/test_code_interpreter_e2e.py116CODE
LOWtests/python/tests/test_code_interpreter_e2e.py172CODE
LOWtests/python/tests/test_code_interpreter_e2e.py303CODE
LOWtests/python/tests/test_code_interpreter_e2e.py139CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py109CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py165CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py132CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py935CODE
LOWtests/python/tests/test_sandbox_manager_e2e_sync.py54CODE
LOWserver/tests/test_snapshot_repository_postgresql.py92CODE
LOWserver/tests/test_docker_delete_integration.py238CODE
LOWserver/tests/test_docker_service.py3548CODE
LOWserver/tests/test_docker_service.py3708CODE
LOWserver/tests/k8s/test_kubernetes_service.py3097CODE
LOWserver/opensandbox_server/config.py425CODE
LOWserver/opensandbox_server/config.py1494CODE
LOWserver/opensandbox_server/tenants/__init__.py57CODE
LOWserver/opensandbox_server/api/proxy.py502CODE
LOWserver/opensandbox_server/services/sandbox_service.py67CODE
LOW…er/opensandbox_server/services/docker/container_ops.py402CODE
LOW…r/opensandbox_server/services/docker/docker_service.py515CODE
LOW…r/opensandbox_server/services/docker/docker_service.py709CODE
84 more matches not shown…
Verbosity Indicators70 hits · 108 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/go/pool_reconciler.go134 // Step 1: Try to acquire the primary lock.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go146 // Step 2: Reap expired idle entries.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go166 // Step 3: Snapshot counters and determine current state.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go179 // Step 4: If idle > maxIdle, shrink excess.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go215 // Step 5: If deficit > 0 and not in backoff, create sandboxes.COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py458 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py464 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py476 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py541 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py603 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py609 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py621 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py683 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py746 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e_sync.py754 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py446 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py529 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py591 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py671 # Step 1: Verify the marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py734 # Step 1: Verify the subpath marker file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py710 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py717 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py791 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py850 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py857 # Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py869 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py927 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py987 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOW⚡tests/python/tests/test_sandbox_e2e.py997 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py697 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py729 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py779 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py837 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py915 # Step 1: Verify the marker file is readable on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py974 # Step 1: Verify the subpath marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java531 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java540 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java553 // Step 3: Verify the written file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java562 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java608 // Step 1: Verify the host marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java617 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java666 // Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java674 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java687 // Step 3: Verify the written file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java695 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java741 // Step 1: Verify the marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java749 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java799 // Step 1: Verify the subpath marker file is readableCOMMENT
LOW⚡…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java807 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java823 // Step 3: Write a file and verifyCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts305 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts311 // Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts447 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts453 // Step 3: Verify the written file is readableCOMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts590 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOW⚡tests/javascript/tests/test_sandbox_e2e.test.ts599 // Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts289 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts327 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts372 // Step 1: Verify the host marker file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts388 // Step 2: Verify writing is denied on read-only mountCOMMENT
10 more matches not shown…
Fake / Example Data48 hits · 46 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/go/credential_vault_test.go61 "placeholder": "__api_token__",CODE
LOWsdks/sandbox/go/types.go546 Placeholder string `json:"placeholder"`CODE
LOW…ensandbox/api/egress/models/credential_substitution.py62 "placeholder": placeholder,CODE
LOW…ensandbox/api/egress/models/credential_substitution.py74 placeholder = d.pop("placeholder")CODE
LOW…x/infrastructure/adapters/service/EgressAdapterTest.kt206 assertEquals("__api_token__", substitution["placeholder"]!!.jsonPrimitive.content)CODE
LOW…ndbox/infrastructure/adapters/service/EgressAdapter.kt364 put("placeholder", JsonPrimitive(placeholder))CODE
LOW…OpenSandbox.Tests/EgressAdapterCredentialVaultTests.cs89 root.GetProperty("bindings")[0].GetProperty("auth").GetProperty("substitutions")[0].GetProperty("placeholder").GCODE
LOWsdks/sandbox/csharp/src/OpenSandbox/Models/Sandboxes.cs251 [JsonPropertyName("placeholder")]CODE
LOWtests/python/tests/test_credential_vault_e2e.py303 "placeholder": "__query_secret__",CODE
LOWtests/python/tests/test_credential_vault_e2e.py317 "placeholder": "__path_secret__",CODE
LOWtests/python/tests/test_credential_vault_e2e.py331 "placeholder": "__body_secret__",CODE
LOWserver/tests/test_routes_proxy.py1577 OPEN_SANDBOX_EGRESS_AUTH_HEADER.lower(): "caller-fake-token",CODE
LOWdocs/guides/credential-vault.md204 "placeholder": "__client_secret__",CODE
LOW⚡docs/guides/credential-vault.md261 "placeholder": "__tenant_id__",CODE
LOW⚡docs/guides/credential-vault.md266 "placeholder": "__api_key__",CODE
LOW⚡docs/guides/credential-vault.md271 "placeholder": "__client_secret__",CODE
LOWdocs/guides/credential-vault.md366 "ANTHROPIC_API_KEY": "fake-key-inside-sandbox",CODE
LOWdocs/examples/openclaw.md25| `OPENCLAW_TOKEN` | `dummy-token-for-sandbox` | Gateway authentication token |CODE
LOWdocs/examples/openclaw.md92- Token: `OPENCLAW_GATEWAY_TOKEN` (default: `dummy-token-for-sandbox`)CODE
LOWdocs/examples/aks-kata.md224# Expected: fake-key-inside-sandboxCOMMENT
LOWcomponents/egress/mitmscripts/decision_snapshot.py219 "placeholder",CODE
LOWcomponents/egress/mitmscripts/decision_snapshot.py224 placeholder, rendered = substitution["placeholder"], substitution["value"]CODE
LOWcomponents/egress/mitmscripts/system.py508 placeholder = substitution.get("placeholder")CODE
LOWcomponents/egress/mitmscripts/system.py547 {"placeholder": placeholder, "value": value, "in": surfaces}CODE
LOWcomponents/egress/mitmscripts/system.py996 placeholder = substitution.get("placeholder")CODE
LOWcomponents/egress/tests/test_decision_snapshot.py175 {"placeholder": "__token__", "value": "", "in": ["header"]}CODE
LOWcomponents/egress/tests/test_decision_snapshot.py196 {"placeholder": "__del__", "value": "\x7f", "in": ["body"]}CODE
LOW⚡components/egress/tests/test_mitmscripts_system.py668 "placeholder": "__secret__",CODE
LOW⚡components/egress/tests/test_mitmscripts_system.py678 payload["redactions"].append(substitution["placeholder"])CODE
LOW⚡components/egress/tests/test_mitmscripts_system.py1423 "placeholder": "__query_secret__",CODE
LOW⚡components/egress/tests/test_mitmscripts_system.py1428 "placeholder": "__tenant_id__",CODE
LOW⚡components/egress/tests/test_mitmscripts_system.py1433 "placeholder": "__body_secret__",CODE
LOW⚡components/egress/tests/test_mitmscripts_system.py1438 "placeholder": "__form_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py981 "placeholder": placeholder,CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1049 "placeholder": placeholder,CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1541 "placeholder": "__a__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1546 "placeholder": "__b__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1584 "placeholder": "__header_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1666 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1701 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py2314 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py2379 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py2421 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py2463 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/pkg/credentialvault/vault.go151 Placeholder string `json:"placeholder"`CODE
LOWcomponents/egress/pkg/credentialvault/vault.go208 Placeholder string `json:"placeholder"`CODE
LOWexamples/openclaw/main.py30DEFAULT_TOKEN = os.getenv("OPENCLAW_TOKEN", "dummy-token-for-sandbox")CODE
LOWexamples/aks-kata/main.py209 "AZURE_OPENAI_API_KEY": "fake-key-inside-sandbox",CODE
Modern AI Meta-Vocabulary13 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUMdocs/architecture/control-plane/operator.md92## Task orchestrationCOMMENT
MEDIUMkubernetes/cmd/controller/main.go54 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMkubernetes/cmd/controller/main.go143 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMkubernetes/cmd/controller/main.go515 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMkubernetes/config/crd/kustomization.yaml8# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUMkubernetes/config/crd/kustomization.yaml13# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUM⚡kubernetes/config/default/kustomization.yaml225# targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.COMMENT
MEDIUM⚡kubernetes/config/default/kustomization.yaml226# +kubebuilder:scaffold:crdkustomizecainjectionnsCOMMENT
MEDIUM⚡kubernetes/config/default/kustomization.yaml233# targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.COMMENT
MEDIUM⚡kubernetes/config/default/kustomization.yaml234# +kubebuilder:scaffold:crdkustomizecainjectionnameCOMMENT
MEDIUMkubernetes/config/samples/kustomization.yaml6# +kubebuilder:scaffold:manifestskustomizesamplesCOMMENT
MEDIUMkubernetes/internal/controller/suite_test.go40 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMkubernetes/internal/controller/suite_test.go71 // +kubebuilder:scaffold:schemeCOMMENT
Overly Generic Function Names17 hits · 16 pts
SeverityFileLineSnippetContext
LOW…preter/python/tests/test_code_service_adapter_close.py63 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py56 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py116 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…/sandbox/python/tests/test_credential_vault_adapter.py80 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…ndbox/python/tests/test_isolated_filesystem_adapter.py56 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py1675 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…s/sandbox/python/tests/test_follow_redirects_config.py54 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…s/sandbox/python/tests/test_follow_redirects_config.py88 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…/sandbox/python/tests/test_execd_proxy_auth_headers.py57 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…thon/tests/test_sandbox_manager_sync_business_logic.py113 def handle_request(self, request: httpx.Request) -> httpx.Response: # pragma: no coverCODE
LOW…n/tests/test_sync_command_service_adapter_streaming.py50 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…n/tests/test_sync_command_service_adapter_streaming.py322 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…hon/tests/test_sync_command_service_adapter_set_env.py63 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsdks/sandbox/python/tests/test_pool_manager.py182 def handle_request(self, request: Any) -> Any:CODE
LOWsdks/sandbox/python/tests/test_retry_transport.py69 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…andbox/python/src/opensandbox/transport/_sync_retry.py70 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…box/python/src/opensandbox/transport/_deadline_sync.py137 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
Example Usage Blocks10 hits · 14 pts
SeverityFileLineSnippetContext
LOWcomponents/egress/tests/mitm-sse-truncation/run.sh26# Usage:COMMENT
LOWcomponents/execd/bootstrap.sh492# Usage:COMMENT
LOWcomponents/execd/tests/init_mode.sh23# Usage:COMMENT
LOWcomponents/execd/tests/init_container.sh39# Usage:COMMENT
LOWcomponents/execd/tests/smoke_overlays.sh37# Usage:COMMENT
LOWcomponents/execd/tests/sigterm_forward.sh21# Usage:COMMENT
LOWcomponents/execd/tests/smoke_bwrap.sh21# Usage:COMMENT
LOWcomponents/execd/configs/isolation.example.toml17# Usage:COMMENT
LOWscripts/fast-sandbox-env/integration-env.sh36# Usage:COMMENT
LOWmanifests/release/build-fast-sandbox.sh35# Usage:COMMENT
AI Structural Patterns16 hits · 12 pts
SeverityFileLineSnippetContext
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/server.py161CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py85CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py547CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py654CODE
LOW…s/sandbox/python/src/opensandbox/exceptions/sandbox.py128CODE
LOWsdks/sandbox/python/src/opensandbox/sync/sandbox.py515CODE
LOWsdks/sandbox/python/src/opensandbox/sync/sandbox.py623CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py86CODE
LOWtests/python/tests/test_sandbox_pool_e2e_async.py1266CODE
LOWtests/python/tests/test_sandbox_pool_e2e_sync.py1174CODE
LOWserver/tests/test_docker_service.py4686CODE
LOWserver/tests/k8s/test_pool_service.py30CODE
LOWserver/tests/k8s/test_egress_helper.py56CODE
LOWserver/opensandbox_server/middleware/auth.py136CODE
LOWserver/opensandbox_server/middleware/auth.py153CODE
LOWcomponents/egress/tests/test_tls_registry.py81CODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMsdks/sandbox/python/src/opensandbox/sync/sandbox.py107 # Create a sandbox (blocking)STRING
MEDIUM⚡tests/python/tests/test_isolated_session_e2e.py702 # Create the source dir and the destination mount point (bwrap bindsCOMMENT
MEDIUM…/opensandbox_server/services/k8s/kubernetes_service.py1097 # Create the workload CR. Three failure modes drive PVC cleanup:COMMENT
MEDIUMkubernetes/config/crd/kustomizeconfig.yaml1# This file is for teaching kustomize how to substitute name and namespace reference in CRDCOMMENT
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/guides/secure-container.md39OpenSandbox is designed to execute untrusted code generated by AI models (Claude, GPT-4, Gemini, etc.). Secure runtimes CODE
HIGHoseps/0004-secure-container-runtime.md47OpenSandbox is designed to execute untrusted code generated by AI models (such as Claude, GPT-4, Gemini). While standardCODE
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/python/scripts/generate_api.py358 # Check if openapi-python-client is availableCOMMENT
LOWtests/python/tests/test_code_interpreter_e2e.py244 # Check if it's a retryable network errorCOMMENT
LOWcomponents/execd/tests/init_container.sh42# Set EXECD_TEST_IMAGE to an existing image (with /bootstrap.sh, /execd andCOMMENT
LOWexamples/kubernetes-pvc-volume-mount/main.py106 # Read the file written by the previous sandboxCOMMENT
LOWoseps/init-osep.sh176# Check if destination existsCOMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/python/tests/test_execd_hardening_e2e.py134# Landlock). The e2e harness now places the PV on the node rootfsCOMMENT
LOWserver/tests/k8s/test_kubernetes_service.py1754 # must catch this for ALL PVC mounts, not just create-if-not-exists.COMMENT