Repository Analysis

opensandbox-group/OpenSandbox

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

19.1 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of opensandbox-group/OpenSandbox, a Go project with 14,801 GitHub stars. SynthScan v2.0 examined 496,482 lines of code across 2132 source files, recording 6804 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 19.1 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

19.1
Adjusted Score
19.1
Raw Score
100%
Time Factor
2026-08-28
Last Push
14.8K
Stars
Go
Language
496.5K
Lines of Code
2.1K
Files
6.8K
Pattern Hits
2026-08-29
Scan Date
0.25
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 13HIGH 512MEDIUM 281LOW 5998

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 6804 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers2412 hits · 2233 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…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…n/tests/test_code_interpreter_create_and_delegation.py53async def test_create_requires_sandbox() -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py59async def test_create_wires_code_service_and_delegates_properties() -> None: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.py38 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/adapters/factory.py44 def create_code_execution_service(self, endpoint: SandboxEndpoint) -> CodesSync:CODE
LOW…preter/javascript/src/factory/defaultAdapterFactory.ts41export function createDefaultAdapterFactory(): AdapterFactory {CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py60async def test_async_write_files_direct_execd_uses_chunked_upload() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py82async def test_async_write_files_direct_execd_rewinds_seekable_streams() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py101async def test_async_write_files_direct_execd_escapes_filename_header() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py118async def test_async_write_files_server_proxy_uses_content_length_and_preserves_charset() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py142async def test_async_write_files_direct_execd_encodes_strings_with_entry_encoding() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py161def test_sync_write_files_direct_execd_uses_chunked_upload() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py182def test_sync_write_files_direct_execd_rewinds_seekable_streams() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py200def test_sync_write_files_direct_execd_escapes_filename_header() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py216def test_sync_write_files_server_proxy_uses_content_length_and_preserves_charset() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py63def test_parse_sandbox_error_from_json_bytes() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py70def test_parse_sandbox_error_from_plain_text_string() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py85def test_handle_api_error_raises_with_parsed_message() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py103def test_handle_api_error_noop_on_success() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py130def test_handle_api_error_sets_is_retryable_by_status() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py146def test_to_sandbox_exception_connection_is_retryable() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py161def test_handle_api_error_rate_limit_without_retry_after_header() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py174def test_handle_api_error_attaches_raw_response_body() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py191def test_handle_api_error_rate_limit_preserves_raw_body_when_unparsed() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py209def test_handle_api_error_truncates_long_raw_body_in_message() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py227def test_handle_api_error_prefers_parsed_message_over_raw_body() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py288def test_exception_converter_maps_read_timeout_to_timeout_exception() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py299def test_exception_converter_maps_connect_error_to_connection_exception() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py310def test_exception_converter_maps_connect_timeout_to_connection_exception() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py358def test_require_parsed_includes_request_id_on_invalid_payload() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py369def test_exception_converter_maps_common_types() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py377def test_exception_converter_maps_generated_unexpected_status_to_api_exception() -> (CODE
LOW…box/python/tests/test_converters_and_error_handling.py390def test_exception_converter_splices_unstructured_body_into_message() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py404def test_exception_converter_splices_plain_text_body_into_message() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py426def test_exception_converter_truncates_long_unstructured_body_in_message() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py438def test_exception_converter_preserves_structured_code_without_message() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py449def test_exception_converter_maps_httpx_status_error_to_api_exception() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py464def test_execution_converter_to_api_run_command_request() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py513def test_run_command_opts_validates_gid_requires_uid() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py518def test_filesystem_and_metrics_converters() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py546def test_sandbox_model_converter_to_api_create_request_and_renew_tz() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py606def test_sandbox_model_converter_omits_empty_lifecycle() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py643def test_platform_spec_accepts_windows() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py649def test_sandbox_model_converter_preserves_null_timeout_for_manual_cleanup() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py667def test_sandbox_model_converter_snapshot_restore_request() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py688def test_sandbox_model_converter_maps_platform_from_create_response() -> None:CODE
2352 more matches not shown…
Over-Commented Block1891 hits · 1870 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml21 # entry: gofmtCOMMENT
LOWsandboxes/code-interpreter/build.sh1#!/bin/bashCOMMENT
LOW…-interpreter/tests/test_code_interpreter_node_setup.sh1#!/usr/bin/env bashCOMMENT
LOWsandboxes/code-interpreter/scripts/code-interpreter.sh1#!/bin/bashCOMMENT
LOW…boxes/code-interpreter/scripts/code-interpreter-env.sh1#!/bin/bashCOMMENT
LOW…es/code-interpreter/scripts/jupyter_notebook_config.py1# Copyright 2025 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/python/pyproject.toml1# Copyright 2025 Alibaba Group Holding Ltd.COMMENT
LOW…python/tests/test_code_service_adapter_sync_headers.py1#COMMENT
LOW…er/python/tests/test_code_service_adapter_streaming.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…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 Alibaba Group Holding Ltd.COMMENT
LOW…tests/OpenSandbox.CodeInterpreter.Tests/ModelsTests.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…OpenSandbox.CodeInterpreter.Tests/CodesAdapterTests.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…ests/OpenSandbox.CodeInterpreter.Tests/FactoryTests.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs41/// <summary>COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs61 /// </summary>COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
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 Alibaba Group Holding Ltd.COMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs21COMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs41COMMENT
LOW…preter/Factory/DefaultCodeInterpreterAdapterFactory.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
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 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/interpreter.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/index.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/models.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…de-interpreter/javascript/src/adapters/openapiError.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…de-interpreter/javascript/src/adapters/codesAdapter.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/adapters/sse.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
1831 more matches not shown…
Docstring Block Structure359 hits · 1795 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md269Create a new sandbox instance. Args: image: Container image specification timeout: Sandbox timeout STRING
HIGH…preter/python/src/code_interpreter/code_interpreter.py174 Creates a CodeInterpreter from an existing Sandbox instance. This factory method handles the creation STRING
HIGH…r/python/src/code_interpreter/sync/code_interpreter.py151 Create a CodeInterpreterSync from an existing SandboxSync instance (blocking). Args: sandbSTRING
HIGH…hon/src/code_interpreter/sync/adapters/code_adapter.py244 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.py146Create 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.py215 Get a specific network endpoint for this sandbox. Args: port: The port number to get the eSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py232 Get a signed endpoint URL with an OSEP-0011 route token. Args: port: The port number to geSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py280 Renew the sandbox expiration time to delay automatic termination. The new expiration time will be set STRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py519 Create a new sandbox instance with the specified configuration. Args: image: Container imaSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py681 Connect to an existing sandbox instance by ID. Args: sandbox_id: ID of the existing sandboSTRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py134 List sandboxes with filtering options. Args: filter: Filter criteria for sandbox listing STRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py149 Get information for a single sandbox by its ID. Args: sandbox_id: Sandbox ID to retrieve iSTRING
HIGH…/python/src/opensandbox/adapters/filesystem_adapter.py169Read 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.py98Retrieve 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
HIGH…xecd/api/isolated_execution/isolated_list_directory.py143List directory contents Args: session_id (UUID): path (str): depth (int | Unset): Default:STRING
299 more matches not shown…
Decorative Section Separators228 hits · 808 pts
SeverityFileLineSnippetContext
MEDIUMsdks/sandbox/python/tests/test_models_stability.py304# ============================================================================COMMENT
MEDIUMsdks/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.py411# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/src/opensandbox/models/sandboxes.py413# ============================================================================COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py264 # ── RW mode: run-based file tests ─────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py482 # ── Overlay mode tests ────────────────────────────────────────────COMMENT
MEDIUMtests/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.java280 // ── RW mode: filesystem API tests ───────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java519 // ── RO mode tests ───────────────────────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java605 // ── Overlay mode tests ──────────────────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java852 // ── run_once / withSession convenience API tests ─────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java942 // ── Bind mount tests (explicit source->dest binds) ─────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs155 // ── Background runs ─────────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs280 // ── RW mode: filesystem API tests ───────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs517 // ── RO mode tests ───────────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs616 // ── Overlay mode tests ──────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs893 // ── RunOnceAsync / WithSessionAsync convenience API tests ────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs943 // ── 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.py34# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py36# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py74# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py76# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py127# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py129# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py234# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py236# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py164# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py166# ============================================================COMMENT
MEDIUMserver/tests/test_ingress.py75# ============================================================COMMENT
MEDIUMserver/tests/test_ingress.py77# ============================================================COMMENT
MEDIUMserver/tests/test_config.py1465# ============================================================COMMENT
MEDIUMserver/tests/test_config.py1467# ============================================================COMMENT
MEDIUMserver/tests/test_docker_service.py3906# ============================================================================COMMENT
MEDIUMserver/tests/test_docker_service.py3908# ============================================================================COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py63# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py65# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py279# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py281# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py397# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py399# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py512# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py514# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/pool.py73# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/pool.py75# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py29# ============================================================================COMMENT
168 more matches not shown…
Unused Imports692 hits · 610 pts
SeverityFileLineSnippetContext
LOW…er/python/tests/test_code_service_adapter_streaming.py16CODE
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/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_models_stability.py16CODE
LOW…/sandbox/python/tests/test_credential_vault_adapter.py16CODE
LOWsdks/sandbox/python/tests/test_sse.py16CODE
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…python/tests/test_sandbox_service_adapter_lifecycle.py16CODE
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…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_pool_async.py15CODE
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
LOW…ndbox/python/tests/test_diagnostics_service_adapter.py16CODE
LOW…ks/sandbox/python/tests/test_sandbox_business_logic.py16CODE
LOWsdks/sandbox/python/tests/test_isolation_list.py18CODE
LOWsdks/sandbox/python/tests/test_exceptions_retryable.py18CODE
LOWsdks/sandbox/python/tests/test_sandbox_destroy.py16CODE
LOWsdks/sandbox/python/tests/test_isolation_background.py18CODE
LOWsdks/sandbox/python/tests/test_isolation_attach.py18CODE
LOWsdks/sandbox/python/tests/test_retry_transport.py18CODE
LOW…s/sandbox/python/tests/test_connection_config_retry.py18CODE
LOWsdks/sandbox/python/src/opensandbox/pool_redis.py21CODE
LOWsdks/sandbox/python/src/opensandbox/pool_redis.py22CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py18CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py18CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py18CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py26CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py18CODE
632 more matches not shown…
Excessive Try-Catch Wrapping501 hits · 524 pts
SeverityFileLineSnippetContext
LOW…preter/python/src/code_interpreter/code_interpreter.py215 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py189 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py208 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py226 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py240 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py256 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py338 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py344 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py365 except Exception as e:CODE
LOW…r/python/src/code_interpreter/sync/code_interpreter.py175 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py163 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py183 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py204 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py217 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py232 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py314 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py319 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py337 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.md291 except Exception:CODE
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.py751def _raise_if_pool_namespace_destroyed(self) -> None:CODE
MEDIUMsdks/sandbox/python/src/opensandbox/pool_async.py1006def _release_primary_lock_best_effort(self) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py756 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py808 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py818 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py1011 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py167 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py252 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py286 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py302 except Exception as kill_exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py312 except Exception as close_exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py383 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py433 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py446 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py459 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py575 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py597 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py611 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py786 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py796 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py894 except Exception as exc:CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py126 except Exception as exc:CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py131 except Exception:CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py177 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/redis_pool_store.py538 except Exception as exc:STRING
LOWsdks/sandbox/python/src/opensandbox/sandbox.py392 except Exception as e:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py427 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py467 except Exception as e:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py653 except Exception as cleanup_ex:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py747 except Exception as e:CODE
441 more matches not shown…
Cross-File Repetition79 hits · 395 pts
SeverityFileLineSnippetContext
HIGH…r/python/src/code_interpreter/adapters/code_adapter.py0return the client for execd api (no auth required).STRING
HIGH…dbox/python/src/opensandbox/adapters/health_adapter.py0return the client for execd api (no auth required).STRING
HIGH…/python/src/opensandbox/adapters/filesystem_adapter.py0return the client for execd api (no auth required).STRING
HIGH…box/python/src/opensandbox/adapters/command_adapter.py0return the client for execd api (no auth required).STRING
HIGH…box/python/src/opensandbox/adapters/metrics_adapter.py0return the client for execd api (no auth required).STRING
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
19 more matches not shown…
Magic Placeholder Names47 hits · 235 pts
SeverityFileLineSnippetContext
HIGHREADME.md111osb 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
HIGH…main/kotlin/com/alibaba/opensandbox/sandbox/Sandbox.kt790 * .apiKey("your-api-key")COMMENT
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.yml764 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.md49 .apiKey("your-api-key")CODE
HIGHdocs/sdks/go.md40 lc := opensandbox.NewLifecycleClient("http://localhost:8080/v1", "your-api-key")CODE
HIGHdocs/sdks/go.md121 APIKey: "your-api-key",CODE
HIGHdocs/sdks/python.md42 api_key="your-api-key"CODE
HIGHdocs/sdks/python.md86 api_key="your-api-key",CODE
HIGHdocs/sdks/csharp.md40 ApiKey = "your-api-key",CODE
HIGHdocs/sdks/javascript.md43 apiKey: "your-api-key",CODE
HIGHdocs/sdks/code-interpreter/kotlin.md58 .apiKey("your-api-key")CODE
HIGHdocs/sdks/code-interpreter/python.md52 api_key="your-api-key",CODE
HIGHdocs/sdks/code-interpreter/python.md113 api_key="your-api-key",CODE
HIGHdocs/sdks/code-interpreter/csharp.md37 ApiKey = "your-api-key"CODE
HIGHdocs/sdks/code-interpreter/javascript.md51 apiKey: "your-api-key",CODE
HIGHdocs/cli/index.md59osb config set connection.api_key <your-api-key>CODE
HIGHdocs/cli/index.md392api_key = "your-api-key"CODE
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/qwen-code.md36export API_KEY=your-api-keyCODE
HIGHdocs/api/index.md49- HTTP Header: `OPEN-SANDBOX-API-KEY: your-api-key`CODE
HIGHdocs/api/index.md63- HTTP Header: `OPEN-SANDBOX-API-KEY: your-api-key`CODE
HIGHcli/README.md54osb config set connection.api_key <your-api-key>CODE
HIGHcli/README.md397api_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
Structural Annotation Overuse109 hits · 187 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
LOWtests/python/tests/test_sandbox_e2e_sync.py458 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py464 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py476 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py541 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py603 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py609 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py621 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py683 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py746 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/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
LOWtests/python/tests/test_sandbox_e2e.py710 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py717 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py791 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py850 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py857 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py869 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py927 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py987 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/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
LOWtests/javascript/tests/test_sandbox_e2e.test.ts305 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts311 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts447 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts453 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts590 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOWtests/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
49 more matches not shown…
Modern Structural Boilerplate180 hits · 178 pts
SeverityFileLineSnippetContext
LOW…preter/python/src/code_interpreter/code_interpreter.py36logger = 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.py33logger = 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.py1058 def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_async.py1115 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.py1031__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py58logger = logging.getLogger(__name__)CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py34logger = 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.py65logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py35logger = 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.py42logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py256 def set_max_idle(self, pool_name: str, max_idle: int) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py258 def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py298 async def set_max_idle(self, pool_name: str, max_idle: int) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py300 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.py45logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/config/__init__.py23__all__ = ["ConnectionConfig", "ConnectionConfigSync"]CODE
LOW…x/python/src/opensandbox/internal/lifecycle_metrics.py28logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/models/__init__.py95__all__ = [CODE
LOW…/sandbox/python/src/opensandbox/exceptions/__init__.py39__all__ = [CODE
LOW…dbox/python/src/opensandbox/adapters/health_adapter.py31logger = logging.getLogger(__name__)CODE
LOW…x/python/src/opensandbox/adapters/sandboxes_adapter.py61logger = logging.getLogger(__name__)CODE
LOW…dbox/python/src/opensandbox/adapters/egress_adapter.py47logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py58logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py518 async def set_permissions(self, entries: list[SetPermissionEntry]) -> None:CODE
LOW…python/src/opensandbox/adapters/diagnostics_adapter.py34logger = logging.getLogger(__name__)CODE
LOW…box/python/src/opensandbox/adapters/command_adapter.py59logger = logging.getLogger(__name__)CODE
LOW…ks/sandbox/python/src/opensandbox/adapters/__init__.py30__all__ = [CODE
LOW…ox/python/src/opensandbox/adapters/isolated_adapter.py60logger = logging.getLogger(__name__)CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py53logger = logging.getLogger(__name__)CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py305 async def set_permissions(self, entries: list[SetPermissionEntry]) -> None:CODE
LOW…box/python/src/opensandbox/adapters/metrics_adapter.py40logger = logging.getLogger(__name__)CODE
LOW…src/opensandbox/adapters/converter/response_handler.py39logger = logging.getLogger(__name__)CODE
LOW…/opensandbox/adapters/converter/exception_converter.py63logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/converter/__init__.py48__all__ = [CODE
120 more matches not shown…
Verbosity Indicators83 hits · 146 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
LOWtests/python/tests/test_sandbox_e2e_sync.py458 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py464 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py476 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py541 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py603 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py609 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py621 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py683 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py746 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/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
LOWtests/python/tests/test_sandbox_e2e.py710 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py717 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py791 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py850 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py857 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py869 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py927 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py987 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/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
LOWtests/javascript/tests/test_sandbox_e2e.test.ts305 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts311 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts447 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts453 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts590 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOWtests/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
23 more matches not shown…
Cross-Language Confusion25 hits · 142 pts
SeverityFileLineSnippetContext
HIGH…python/tests/test_command_service_adapter_streaming.py115 b'data: {"type":"error","error":{"ename":"CommandExecError","evalue":"fork/exec /usr/bin/bash: resource CODE
HIGH…n/tests/test_sync_command_service_adapter_streaming.py104 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
HIGHtests/python/tests/test_execd_hardening_e2e.py344 _run_command(sandbox, "echo ok > /tmp/hardening-e2e-write && rm /tmp/hardening-e2e-write")CODE
HIGHtests/python/tests/test_execd_hardening_e2e.py478 "echo x > /tmp/rq-probe && chmod 755 /tmp/rq-probe"CODE
HIGHtests/python/tests/test_isolated_session_e2e.py279 await session.run("mkdir -p /tmp/subdir && echo nested > /tmp/subdir/file.txt")CODE
HIGHtests/python/tests/test_isolated_session_e2e.py280 result = await session.run("cat /tmp/persist.txt && cat /tmp/subdir/file.txt")CODE
HIGHtests/python/tests/test_isolated_session_e2e.py492 f"cat /tmp/{marker} 2>&1 || echo NOT_FOUND"CODE
HIGHtests/python/tests/test_isolated_session_e2e.py537 host_check = await self.sandbox.commands.run(f"cat {path} 2>&1 || echo NOT_FOUND")CODE
HIGHtests/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
HIGHserver/tests/k8s/test_k8s_windows_profile.py141 entrypoint=["/bin/sh", "-c", "patch && exec /run/entry.sh"],CODE
HIGHserver/tests/k8s/test_k8s_windows_profile.py146 assert main["command"] == ["/bin/sh", "-c", "patch && exec /run/entry.sh"]CODE
HIGHserver/opensandbox_server/config.py542 "Set to 0 to disable (TOML cannot express null). "CODE
HIGHserver/opensandbox_server/api/schema.py480 "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.py155 "command": "sh -c 'echo long-run-start && sleep 20 && echo long-run-end'",CODE
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
Hallucination Indicators13 hits · 130 pts
SeverityFileLineSnippetContext
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt1686 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt1739 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt1868 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2400 throw com.alibaba.opensandbox.sandbox.domain.exceptions.PoolStateStoreUnavailableException(CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2410 throw com.alibaba.opensandbox.sandbox.domain.exceptions.PoolStateStoreUnavailableException(CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2470 throw com.alibaba.opensandbox.sandbox.domain.exceptions.PoolStateStoreUnavailableException(CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt2485 return com.alibaba.opensandbox.sandbox.domain.pool.TakeIdleResult.of(null)CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt77 com.alibaba.opensandbox.sandbox.infrastructure.cache.EndpointCache(CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt272 name?.let { com.alibaba.opensandbox.sandbox.api.models.CreateSnapshotRequest(name = it) },CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt317 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.kt238 com.alibaba.opensandbox.sandbox.api.models.execd.Permission(CODE
CRITICALserver/tests/test_docker_service.py243 binds = mock_client.api.create_host_config.call_args.kwargs.get("binds")CODE
Deep Nesting88 hits · 75 pts
SeverityFileLineSnippetContext
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py236CODE
LOWsdks/sandbox/python/tests/test_pool_store.py152CODE
LOWsdks/sandbox/python/tests/test_pool_store.py161CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py173CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py367CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py424CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py583CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py652CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py61CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py111CODE
LOW…/sandbox/python/src/opensandbox/transport/_decision.py103CODE
LOWsdks/sandbox/python/src/opensandbox/config/client_ip.py172CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py274CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py329CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py341CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py183CODE
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.py179CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py382CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py407CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py554CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py618CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py240CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py292CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py303CODE
LOW…thon/src/opensandbox/sync/adapters/isolated_adapter.py265CODE
LOW…ensandbox/sync/adapters/isolated_filesystem_adapter.py187CODE
LOW…/sync/adapters/converter/execution_event_dispatcher.py41CODE
LOWtests/python/tests/test_sandbox_pool_e2e_async.py1034CODE
LOWtests/python/tests/test_execd_hardening_e2e.py233CODE
LOWtests/python/tests/test_sandbox_pool_e2e_sync.py905CODE
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_service.py2797CODE
LOWserver/tests/test_docker_service.py2962CODE
LOWserver/opensandbox_server/config.py413CODE
LOWserver/opensandbox_server/config.py1223CODE
LOWserver/opensandbox_server/tenants/__init__.py57CODE
LOWserver/opensandbox_server/api/proxy.py431CODE
LOWserver/opensandbox_server/services/sandbox_service.py64CODE
LOW…er/opensandbox_server/services/docker/container_ops.py386CODE
LOW…r/opensandbox_server/services/docker/docker_service.py528CODE
LOW…/opensandbox_server/services/docker/windows_profile.py119CODE
LOW…/opensandbox_server/services/docker/windows_profile.py198CODE
LOWserver/opensandbox_server/services/docker/volumes.py49CODE
LOWserver/opensandbox_server/services/docker/volumes.py349CODE
28 more matches not shown…
Modern AI Meta-Vocabulary15 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUMserver/opensandbox_server/api/lifecycle.py315 # Delegate to the service layer for pause orchestrationCOMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py352 # Delegate to the service layer for resume orchestrationCOMMENT
MEDIUMkubernetes/cmd/controller/main.go51 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMkubernetes/cmd/controller/main.go138 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMkubernetes/cmd/controller/main.go484 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMkubernetes/config/crd/kustomization.yaml8# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUMkubernetes/config/crd/kustomization.yaml13# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUMkubernetes/config/default/kustomization.yaml225# targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.COMMENT
MEDIUMkubernetes/config/default/kustomization.yaml226# +kubebuilder:scaffold:crdkustomizecainjectionnsCOMMENT
MEDIUMkubernetes/config/default/kustomization.yaml233# targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.COMMENT
MEDIUMkubernetes/config/default/kustomization.yaml234# +kubebuilder:scaffold:crdkustomizecainjectionnameCOMMENT
MEDIUMkubernetes/config/samples/kustomization.yaml6# +kubebuilder:scaffold:manifestskustomizesamplesCOMMENT
MEDIUMkubernetes/config/scorecard/kustomization.yaml18# +kubebuilder:scaffold:patchesCOMMENT
MEDIUMkubernetes/internal/controller/suite_test.go40 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMkubernetes/internal/controller/suite_test.go71 // +kubebuilder:scaffold:schemeCOMMENT
Fake / Example Data37 hits · 36 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/go/credential_vault_test.go61 "placeholder": "__api_token__",CODE
LOWsdks/sandbox/go/types.go388 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.py253 "placeholder": "__query_secret__",CODE
LOWtests/python/tests/test_credential_vault_e2e.py267 "placeholder": "__path_secret__",CODE
LOWtests/python/tests/test_credential_vault_e2e.py281 "placeholder": "__body_secret__",CODE
LOWdocs/guides/credential-vault.md173 "placeholder": "__client_secret__",CODE
LOWdocs/guides/credential-vault.md230 "placeholder": "__tenant_id__",CODE
LOWdocs/guides/credential-vault.md235 "placeholder": "__api_key__",CODE
LOWdocs/guides/credential-vault.md240 "placeholder": "__client_secret__",CODE
LOWdocs/guides/credential-vault.md329 "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.md221# Expected: fake-key-inside-sandboxCOMMENT
LOWcomponents/egress/mitmscripts/system.py506 placeholder = substitution.get("placeholder")CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py288 "placeholder": "__query_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py293 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py298 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py303 "placeholder": "__form_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py406 "placeholder": "__a__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py411 "placeholder": "__b__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py449 "placeholder": "__header_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py499 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py534 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py924 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py989 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1031 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py1073 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/pkg/credentialvault/vault.go142 Placeholder string `json:"placeholder"`CODE
LOWcomponents/egress/pkg/credentialvault/vault.go199 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
Self-Referential Comments7 hits · 19 pts
SeverityFileLineSnippetContext
MEDIUMsdks/sandbox/python/src/opensandbox/sync/sandbox.py99 # Create a sandbox (blocking)STRING
MEDIUMtests/python/tests/test_isolated_session_e2e.py702 # Create the source dir and the destination mount point (bwrap bindsCOMMENT
MEDIUMserver/tests/test_docker_service.py3677 # Create the subPath directoryCOMMENT
MEDIUMserver/tests/test_docker_service.py3723 # Create a symlink within the allowed path that points to /COMMENT
MEDIUMserver/tests/k8s/test_provider_factory.py128 # Create a custom provider classSTRING
MEDIUM…/opensandbox_server/services/k8s/kubernetes_service.py908 # 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
AI Structural Patterns13 hits · 10 pts
SeverityFileLineSnippetContext
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/server.py129CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py67CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py495CODE
LOW…s/sandbox/python/src/opensandbox/exceptions/sandbox.py128CODE
LOWsdks/sandbox/python/src/opensandbox/sync/sandbox.py481CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py66CODE
LOWtests/python/tests/test_sandbox_pool_e2e_async.py924CODE
LOWtests/python/tests/test_sandbox_pool_e2e_sync.py803CODE
LOWserver/tests/test_docker_service.py3918CODE
LOWserver/tests/k8s/test_pool_service.py30CODE
LOWserver/tests/k8s/test_egress_helper.py44CODE
LOWserver/opensandbox_server/middleware/auth.py136CODE
LOWserver/opensandbox_server/middleware/auth.py153CODE
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/guides/secure-container.md38OpenSandbox 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
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWcomponents/egress/tests/mitm-sse-truncation/run.sh26# Usage:COMMENT
LOWcomponents/execd/bootstrap.sh491# Usage:COMMENT
LOWcomponents/execd/tests/init_mode.sh23# Usage:COMMENT
LOWcomponents/execd/tests/init_container.sh39# 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
Overly Generic Function Names9 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ndbox/python/tests/test_filesystem_upload_transport.py49 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
LOWsdks/sandbox/python/tests/test_pool_sync.py1064 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.py34 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…n/tests/test_sync_command_service_adapter_streaming.py232 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.py69 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/python/scripts/generate_api.py336 # 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.py1517 # must catch this for ALL PVC mounts, not just create-if-not-exists.COMMENT