AI Slop Code Risk Monitor

superradcompany/microsandbox

SlopCodeMonitor badge for superradcompany/microsandbox Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🧱 easy, fast, programmable and local-first microVM runtime and library

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for superradcompany/microsandbox, a Rust project with 8,886 GitHub stars. SynthScan examined 622,208 lines of code across 1628 source files, recording 1917 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 4.0 (Low pattern signal); it is not an authorship estimate.

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

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.9K
Stars
Rust
Language
622.2K
Lines of Code
1.6K
Files
1.9K
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 10.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.8/100 · LOW

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

Agent Over-Engineering Ratio 7.2/100 · LOW

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

PR Review Velocity Impact 18.9/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 10HIGH 57MEDIUM 155LOW 1695

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block890 hits · 866 pts
SeverityFileLineSnippetContext
LOWdeny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWdeny.toml21targets = [COMMENT
LOWdeny.toml41# The lint level for unmaintained cratesCOMMENT
LOWdeny.toml81]COMMENT
LOWdeny.toml141# This section is considered when running `cargo deny check bans`.COMMENT
LOWdeny.toml181 { name = "windows_x86_64_gnu" },COMMENT
LOWdeny.toml201# in the allow list is encounteredCOMMENT
LOWAGENTS.md221COMMENT
LOW.config/nextest.toml1# nextest configuration.COMMENT
LOWcrates/metrics/lib/layout.rs1//! Binary layout of the shared-memory metrics registry.COMMENT
LOWcrates/metrics/lib/layout.rs21//! | 0x08 version u32 layout version (3) |COMMENT
LOWcrates/metrics/lib/layout.rs41//! | 0x30 sampled_at_ms AI64 0 until first sample |COMMENT
LOWcrates/metrics/lib/layout.rs61//! | 0x130 _tail [u8; 208] |COMMENT
LOWcrates/metrics/lib/layout.rs81COMMENT
LOWcrates/metrics/lib/layout.rs101pub const READABLE_REGISTRY_ABI_VERSIONS: &[u32] = &[2, REGISTRY_ABI_VERSION];COMMENT
LOWcrates/metrics/lib/layout.rs121COMMENT
LOWcrates/metrics/lib/layout.rs141/// Slot state: runtime attached and writing samples.COMMENT
LOWcrates/metrics/lib/layout.rs161/// Sample flag: `upper_free_bytes` contains a valid protected guest filesystem value.COMMENT
LOWcrates/metrics/lib/layout.rs221 pub sample_flags: AtomicU32,COMMENT
LOWcrates/metrics/lib/layout.rs261COMMENT
LOWcrates/metrics/lib/registry.rs121COMMENT
LOWcrates/metrics/lib/registry.rs421 /// If `seq` stays odd past the wait budget, release fails and leavesCOMMENT
LOWcrates/metrics/lib/error.rs1//! Error type used by the metrics registry.COMMENT
LOWcrates/metrics/lib/snapshot.rs1//! In-memory snapshot types produced by registry reads.COMMENT
LOWcrates/metrics/lib/snapshot.rs21/// Carries both identity (sandbox_id, run_id, pid, name) and the metricCOMMENT
LOWcrates/metrics/lib/snapshot.rs41 /// Guest vCPU usage as a percentage.COMMENT
LOWcrates/metrics/lib/snapshot.rs81 /// Guest-used memory in bytes; 0 when `memory_bytes_reported` is false.COMMENT
LOWcrates/network/lib/lib.rs21COMMENT
LOWcrates/network/lib/proxy/types.rs81}COMMENT
LOWcrates/network/lib/proxy/types.rs141 /// An HTTP CONNECT username or password is invalid.COMMENT
LOWcrates/network/lib/proxy/types.rs181 ExtraComponentsNotSupported,COMMENT
LOWcrates/network/lib/model/tls.rs1//! TLS configuration models and optional engine state.COMMENT
LOWcrates/network/lib/model/config/types.rs21// TypesCOMMENT
LOWcrates/network/lib/model/config/types.rs41#[serde(try_from = "u32", into = "u32")]COMMENT
LOWcrates/network/lib/model/config/types.rs81 #[serde(default)]COMMENT
LOWcrates/network/lib/model/config/types.rs101COMMENT
LOWcrates/network/lib/model/config/types.rs121 /// Trust, Zscaler, Netskope, etc.) whose gateway CA is installed onCOMMENT
LOWcrates/network/lib/model/config/types.rs141#[doc(hidden)]COMMENT
LOWcrates/network/lib/model/config/types.rs181}COMMENT
LOWcrates/network/lib/model/config/types.rs221COMMENT
LOWcrates/network/lib/model/config/builder.rs81/// )COMMENT
LOWcrates/network/lib/model/config/builder.rs781 }COMMENT
LOWcrates/network/lib/model/secrets/mod.rs1//! Placeholder-based secret injection for TLS-intercepted connections.COMMENT
LOWcrates/network/lib/model/dns/mod.rs1//! DNS configuration contracts and engine implementation facade.COMMENT
LOWcrates/network/lib/model/dns/nameserver/parse.rs1//! User-facing nameserver type and parsing.COMMENT
LOWcrates/network/lib/model/dns/nameserver/parse.rs41COMMENT
LOWcrates/network/lib/model/policy/types.rs1//! Policy types: rules, actions, destinations, and protocol matching.COMMENT
LOWcrates/network/lib/model/policy/types.rs41/// Rules carry a [`Direction`] field that determines which evaluatorCOMMENT
LOWcrates/network/lib/model/policy/types.rs61 #[serde(default)]COMMENT
LOWcrates/network/lib/model/policy/types.rs81}COMMENT
LOWcrates/network/lib/model/policy/types.rs141/// whose construction enforces the canonical form (lowercase ASCII,COMMENT
LOWcrates/network/lib/model/policy/types.rs161 DomainSuffix(DomainName),COMMENT
LOWcrates/network/lib/model/policy/types.rs221#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]COMMENT
LOWcrates/network/lib/model/policy/types.rs641 /// IP-based destinations (`Cidr`, most `Group` variants) cannotCOMMENT
LOWcrates/network/lib/model/policy/types.rs861 Self {COMMENT
LOWcrates/network/lib/model/policy/types.rs1001/// Check if an egress IP / hostname source matches a destination specification.COMMENT
LOWcrates/network/lib/model/policy/name.rs1//! Validated DNS name type used in [`super::Destination`] rules.COMMENT
LOWcrates/network/lib/model/policy/name.rs21//! similarly underscore-bearing names through, matching what theCOMMENT
LOWcrates/network/lib/model/policy/name.rs41/// never end up "matching" a name no DNS responder will ever return.COMMENT
LOWcrates/network/lib/model/policy/name.rs61 /// chars, invalid UTF-8 for an ASCII name, etc.).COMMENT
830 more matches not shown…
Hyper-Verbose Identifiers378 hits · 429 pts
SeverityFileLineSnippetContext
LOWsdk/python/integration/test_create_kwargs.py19async def test_create_kwargs_affect_guest_defaults(sandbox_name):CODE
LOWsdk/python/integration/test_create_kwargs.py58async def test_create_kwargs_round_trip_through_config_json(sandbox_name):CODE
LOWsdk/python/integration/test_create_kwargs.py169async def test_create_kwargs_validate_bad_values(CODE
LOWsdk/python/integration/test_lifecycle.py25async def test_create_get_list_connect_stop_start_and_remove(sandbox_name):CODE
LOWsdk/python/integration/test_lifecycle.py126async def test_replace_rejects_duplicate_then_replaces(sandbox_name):CODE
LOWsdk/python/integration/conftest.py16def _prepare_integration_home() -> None:CODE
LOW⚡sdk/python/integration/test_images.py9async def test_image_list_returns_cached_handles() -> None:CODE
LOW⚡sdk/python/integration/test_images.py19async def test_image_get_missing_raises_typed_error() -> None:CODE
LOW⚡sdk/python/integration/test_images.py24async def test_image_save_missing_raises_typed_error(tmp_path) -> None:CODE
LOW⚡sdk/python/integration/test_images.py32async def test_image_save_and_load_round_trips_archive(sandbox_factory, tmp_path) -> None:CODE
LOWsdk/python/integration/test_images.py54async def test_image_management_round_trips_pulled_sandbox_image(sandbox_factory) -> None:CODE
LOWsdk/python/integration/test_metrics_logs.py39async def test_metrics_snapshot_stream_and_all_sandbox_metrics(sandbox_factory):CODE
LOWsdk/python/integration/test_metrics_logs.py61async def test_logs_snapshot_filters_and_stream_resume(sandbox_factory):CODE
LOWsdk/python/integration/test_volumes.py11async def test_volume_lifecycle_metadata_and_host_fs(volume_factory):CODE
LOWsdk/python/integration/test_volumes.py38async def test_disk_volume_metadata_uses_enums(volume_factory):CODE
LOWsdk/python/integration/test_volumes.py47async def test_named_volume_mount_into_sandbox(volume_factory, sandbox_factory):CODE
LOWsdk/python/integration/test_volumes.py62async def test_tmpfs_mount_enforces_size_limit(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py14async def test_exec_kwargs_and_options_dict(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py63async def test_shell_timeout_and_user_env_overrides(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py79async def test_exec_stream_iteration_collect_wait_and_signal(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py130async def test_exec_stream_tty_resize_while_receiving(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py160async def test_exec_stream_missing_binary_surfaces_failure(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py175async def test_stdin_modes_and_take_stdin_contract(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py201async def test_empty_stdin_write_keeps_stdin_open(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py223async def test_rlimits_reject_raw_dicts(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py234async def test_exec_stream_backpressure_preserves_output(sandbox_factory):CODE
LOWsdk/python/integration/test_fs.py13async def test_fs_file_directory_and_metadata_operations(sandbox_factory):CODE
LOWsdk/python/integration/test_fs.py51async def test_fs_streams_and_host_copy_roundtrip(sandbox_factory, tmp_path):CODE
LOWsdk/python/integration/test_network.py24async def test_network_policy_and_port_config_create(sandbox_factory):CODE
LOWsdk/python/integration/test_network.py50async def test_ip_destination_allows_specific_egress(label, destination, sandbox_factory):CODE
LOWsdk/python/integration/test_snapshots.py25async def test_snapshot_create_open_list_and_boot(sandbox_name, tmp_path, source_kind):CODE
LOWsdk/python/integration/test_patches.py11async def test_rootfs_patches_are_applied(sandbox_factory):CODE
LOWsdk/python/integration/test_pull_progress.py14async def test_create_with_progress_emits_events_and_returns_sandbox(sandbox_name):CODE
LOWsdk/python/integration/test_pull_progress.py59async def test_create_with_progress_result_rejects_on_second_call(sandbox_name):CODE
LOWsdk/python/integration/test_pull_progress.py87async def test_create_with_progress_detached_returns_detached_sandbox(sandbox_name):CODE
LOWsdk/python/integration/test_pull_progress.py142async def test_create_with_progress_failure_surfaces_from_result(sandbox_name):CODE
LOW⚡sdk/python/tests/test_image_source.py19def test_oci_accepts_root_disk_int() -> None:CODE
LOW⚡sdk/python/tests/test_image_source.py29def test_oci_accepts_managed_root_disk() -> None:CODE
LOW⚡sdk/python/tests/test_image_source.py36def test_oci_accepts_tmpfs_root_disk() -> None:CODE
LOW⚡sdk/python/tests/test_image_source.py43def test_oci_accepts_disk_image_root_disk() -> None:CODE
LOWsdk/python/tests/test_image_source.py58def test_oci_accepts_flat_root_disk() -> None:CODE
LOWsdk/python/tests/test_image_source.py73def test_oci_accepts_deprecated_upper_size_mib_alias() -> None:CODE
LOW⚡sdk/python/tests/test_image_source.py84def test_oci_rejects_root_disk_and_upper_size_mib_together() -> None:CODE
LOW⚡sdk/python/tests/test_image_source.py89def test_oci_rejects_raw_root_disk_dict() -> None:CODE
LOW⚡sdk/python/tests/test_image_source.py94def test_oci_rejects_bool_root_disk_size() -> None:CODE
LOW⚡sdk/python/tests/test_image_source.py99def test_direct_image_source_rejects_bool_root_disk_size() -> None:CODE
LOWsdk/python/tests/test_image_source.py110def test_image_namespace_includes_cache_management() -> None:CODE
LOWsdk/python/tests/test_volume_fs_signature.py6def test_copy_and_rename_expose_usable_source_keywords() -> None:CODE
LOWsdk/python/tests/test_snapshot_stub.py9def test_batch_load_preserves_single_load_options_and_returns_handles() -> None:CODE
LOWsdk/python/tests/test_guest_flush.py12async def test_invalid_flush_is_rejected_before_source_lookup():CODE
LOW⚡sdk/python/tests/test_connection_limits.py10 def test_omission_is_not_unlimited(self):CODE
LOW⚡sdk/python/tests/test_connection_limits.py19 def test_canonical_tcp_and_udp(self):CODE
LOW⚡sdk/python/tests/test_connection_limits.py29 def test_limits_preserve_secret_violation_action(self):CODE
LOW⚡sdk/python/tests/test_connection_limits.py38 def test_legacy_tcp_warns_and_preserves_udp(self):CODE
LOW⚡sdk/python/tests/test_connection_limits.py46 def test_both_tcp_names_are_rejected(self):CODE
LOW⚡sdk/python/tests/test_mount_policies.py81def test_bind_owner_omitted_when_unset() -> None:CODE
LOW⚡sdk/python/tests/test_mount_policies.py87def test_owner_must_be_paired() -> None:CODE
LOW⚡sdk/python/tests/test_mount_policies.py93def test_owner_rejected_on_tmpfs() -> None:CODE
LOW⚡sdk/python/tests/test_mount_policies.py100def test_owner_rejects_invalid_python_values(value: object) -> None:CODE
LOW⚡sdk/python/tests/test_mount_policies.py165def test_tmpfs_rejects_stat_virt_at_serialization() -> None:CODE
318 more matches not shown…
Decorative Section Separators140 hits · 384 pts
SeverityFileLineSnippetContext
MEDIUMcrates/network/lib/engine/tcp/proxy.rs2073 // ── extract_http_host ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/network/lib/engine/tcp/proxy.rs2132 // ── plain-HTTP secret substitution ────────────────────────────────────────COMMENT
MEDIUMcrates/network/lib/engine/netstack/poll.rs354 // ── Phase 1: Drain all guest frames with pre-inspection ──────────COMMENT
MEDIUMcrates/network/lib/engine/netstack/poll.rs549 // ── Phase 2: Ingress egress + maintenance ─────────────────────────COMMENT
MEDIUMcrates/network/lib/engine/netstack/poll.rs566 // ── Phase 3: Service connections + relay data ────────────────────COMMENT
MEDIUMcrates/network/lib/engine/netstack/poll.rs711 // ── Phase 4: Flush relay data + sleep ────────────────────────────COMMENT
MEDIUMcrates/network/lib/engine/netstack/poll.rs1909 // ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/network/lib/engine/netstack/poll.rs1922 // ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs251 // ── Layer EROFS paths (keyed by diff_id) ─────────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs280 // ── fsmeta EROFS paths (keyed by manifest digest) ─────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs304 // ── VMDK descriptor paths (keyed by manifest digest) ────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs468 // ── Flat ext4 artifact paths (manifest ref → content blob) ───────COMMENT
MEDIUMcrates/image/lib/cache/store.rs599 // ── Staging/tmp paths (downloads, work dirs) ─────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs623 // ── Manifest metadata cache ──────────────────────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs862 // ── Blob cache paths ──────────────────────────────────────────────COMMENT
MEDIUM⚡crates/metrics-collector/lib/lib.rs28//! ┌─ run loop ─────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/metrics-collector/lib/lib.rs32//! └────┬───────────────────────────────────────┬───────────┘COMMENT
MEDIUM⚡crates/metrics-collector/lib/lib.rs38//! ┌─────────────┐ ┌─────────────┐ ┌─────────────┐COMMENT
MEDIUM⚡crates/metrics-collector/lib/lib.rs44//! └──────┬──────┘ └──────┬──────┘ └──────┬──────┘COMMENT
MEDIUM…s/migration/lib/m20260410_000001_erofs_image_schema.rs154 // ── Drop old tables (FK-safe order) ──────────────────────────────COMMENT
MEDIUM…s/migration/lib/m20260410_000001_erofs_image_schema.rs193 // ── Create new tables ────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1660 // ── Block Root ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1769 // ── File Mounts ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1818 // ── Tmpfs ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1843 // ── Disk Mounts ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1965 // ── Network ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs2060 // ── Rlimits ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs2106 // ── Handoff Init ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/network.rs227 // ── ioctl helpers ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/network.rs323 // ── netlink helpers ────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/network.rs531 // ── hostname + hosts + resolv.conf ──────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/network.rs593 // ── low-level helpers ──────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/network.rs625 // ── netlink constants and helpers ──────────────────────────────────COMMENT
MEDIUM⚡sdk/python/microsandbox/types.py13# --------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡sdk/python/microsandbox/types.py15# --------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡sdk/python/microsandbox/types.py20# --------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡sdk/python/microsandbox/types.py22# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py366# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py368# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py522# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py524# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py546# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py548# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py559# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py561# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py608# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py610# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py633# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py635# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py666# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py668# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py877# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py879# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py1019# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py1021# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py1161# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py1163# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py1275# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py1277# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py1977# --------------------------------------------------------------------------------------------------COMMENT
80 more matches not shown…
Cross-Language Confusion46 hits · 266 pts
SeverityFileLineSnippetContext
HIGHsdk/python/integration/test_volumes.py69 "dd if=/dev/zero of=/scratch/small bs=1M count=1 status=none && echo small-ok",CODE
HIGHsdk/python/integration/test_network.py74 "nc -zv -w 5 1.1.1.1 443 >/dev/null 2>&1 || echo cloudflare-failed; "CODE
HIGHsdk/python/integration/test_network.py75 "nc -zv -w 5 8.8.8.8 443 >/dev/null 2>&1 || echo google-failed"CODE
HIGHsdk/python/integration/test_patches.py23 "test -d /opt/py-sdk && cat /opt/py-sdk/config.txt && cat /opt/py-sdk/link.txt"CODE
HIGHsdk/python/tests/test_jobs_integration.py64 jobs.append(null)CODE
HIGH⚡examples/python/net-secrets/main.py28 "wget -q -O /dev/null --timeout=10 https://example.com && echo OK || echo FAIL"CODE
HIGH⚡examples/python/net-secrets/main.py28 "wget -q -O /dev/null --timeout=10 https://example.com && echo OK || echo FAIL"CODE
HIGH⚡examples/python/net-secrets/main.py36 "https://cloudflare.com 2>&1 && echo OK || echo BLOCKED"CODE
HIGH⚡examples/python/net-secrets/main.py36 "https://cloudflare.com 2>&1 && echo OK || echo BLOCKED"CODE
HIGHexamples/python/net-tls/main.py18 output = await sb.shell("ls /.msb/tls/ca.pem 2>&1 && echo FOUND || echo MISSING")CODE
HIGHexamples/python/net-tls/main.py18 output = await sb.shell("ls /.msb/tls/ca.pem 2>&1 && echo FOUND || echo MISSING")CODE
HIGH⚡examples/python/net-tls/main.py29 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGH⚡examples/python/net-tls/main.py29 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGH⚡examples/python/net-tls/main.py35 "wget -q -O /dev/null --timeout=10 https://example.com 2>&1 && echo OK || echo FAIL"CODE
HIGH⚡examples/python/net-tls/main.py35 "wget -q -O /dev/null --timeout=10 https://example.com 2>&1 && echo OK || echo FAIL"CODE
HIGH⚡examples/python/net-tls/main.py41 "wget --no-check-certificate -q -O /dev/null --timeout=10 https://example.com 2>&1 && echo OK || echo FAIL"CODE
HIGH⚡examples/python/net-tls/main.py41 "wget --no-check-certificate -q -O /dev/null --timeout=10 https://example.com 2>&1 && echo OK || echo FAIL"CODE
HIGHexamples/python/net-policy/main.py17 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGHexamples/python/net-policy/main.py17 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGHexamples/python/net-policy/main.py30 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGHexamples/python/net-policy/main.py30 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGHexamples/python/net-policy/main.py43 output = await sb.shell("wget -q -O /dev/null --timeout=3 http://example.com && echo OK || echo BLOCKED")CODE
HIGHexamples/python/net-policy/main.py43 output = await sb.shell("wget -q -O /dev/null --timeout=3 http://example.com && echo OK || echo BLOCKED")CODE
HIGH⚡examples/python/net-dns/main.py22 output = await sb.shell("nslookup example.com 2>&1 | grep -c Address || echo 0")CODE
HIGH⚡examples/python/net-dns/main.py26 output = await sb.shell("nslookup blocked.example.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGH⚡examples/python/net-dns/main.py26 output = await sb.shell("nslookup blocked.example.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGH⚡examples/python/net-dns/main.py30 output = await sb.shell("nslookup anything.evil.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGH⚡examples/python/net-dns/main.py30 output = await sb.shell("nslookup anything.evil.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGH⚡examples/python/net-dns/main.py34 output = await sb.shell("nslookup cloudflare.com 2>&1 | grep -c Address || echo 0")CODE
HIGHexamples/python/snapshot-fork/main.py16 await baseline.shell("echo 'shipped via snapshot' > /root/marker.txt && sync")CODE
HIGHscripts/smoke/managed-job-terminal.py248 job = launch("sh", "-c", "stty raw -echo && printf 'tty-ready\\n' && sleep 120", tty=True)CODE
HIGHscripts/smoke/cli/incremental-full-archive.py81 blob_hash = guest("prepare", source_home, source, "dd if=/dev/urandom of=/dev/shm/blob bs=1M count=24 2>/dev/null; sCODE
HIGH⚡scripts/smoke/cli/transport-checkpoint.py640 # null, never zero. No catalog PID is signalled by the harness.STRING
HIGHscripts/smoke/cli/checkpoint-memory-growth.py54 run("exec", child, "--", "sh", "-ec", "sha256sum -c /work/hash; grep MemTotal /proc/meminfo; for i in 1 2 3 4 5;CODE
HIGHscripts/smoke/cli/branch-batch.py270 self.guest("seed", "source", f"echo original > /marker; dd if=/dev/urandom of=/data bs=1M count={self.args.data_STRING
HIGHscripts/smoke/cli/root-disk-growth.py76 guest(f"{layout}-seed", name, "dd if=/dev/urandom of=/payload bs=1048576 count=8 2>/dev/null; sha256sum /payloadCODE
HIGHscripts/smoke/cli/root-disk-growth.py78 guest(f"{layout}-new-space", name, "dd if=/dev/zero of=/space bs=1048576 count=600 conv=fsync && test $(stat -c CODE
HIGHscripts/smoke/cli/root-disk-growth.py99 guest(f"{layout}-defer-space", name, "dd if=/dev/zero of=/space bs=1048576 count=1800 conv=fsync && rm /space &&CODE
HIGHscripts/smoke/cli/root-disk-growth.py107 guest(f"{layout}-{suffix}-restored-data", child, "sha256sum -c /expected && test $(cat /dev/shm/grow-marker)CODE
HIGHscripts/smoke/cli/guest-flush.py106 f"dd if=/dev/urandom of=/flush-data bs=1M count={args.owned_disk_mib} 2>/dev/null; "CODE
HIGHscripts/smoke/cli/guest-flush.py175 "dd if=/dev/urandom of=/flush-data bs=1M count=8 2>/dev/null; "CODE
HIGHscripts/smoke/cli/guest-flush.py219 shell(source, "dd if=/dev/urandom of=/flush-data bs=1M count=8 2>/dev/null; "CODE
HIGHscripts/smoke/cli/guest-flush.py238 restored = shell(child, "sha256sum /flush-data 2>/dev/null || true").stdout.split()CODE
HIGHscripts/smoke/cli/guest-flush.py323 shell(source, "dd if=/dev/urandom of=/data/data bs=1M count=8 2>/dev/null; "CODE
HIGHscripts/smoke/sdk/disk-compaction-export.py34 result = await child.exec("sh", ["-c", "sha256sum -c /expected && test $(cat /version) = 4"])CODE
HIGHscripts/smoke/sdk/disk-compaction-cancel.py36 "sh", ["-c", "sha256sum -c /expected && test $(cat /version) = 4"]CODE
Unused Imports249 hits · 156 pts
SeverityFileLineSnippetContext
LOWsdk/python/integration/test_create_kwargs.py3CODE
LOWsdk/python/integration/test_lifecycle.py3CODE
LOWsdk/python/integration/conftest.py3CODE
LOWsdk/python/integration/test_images.py1CODE
LOWsdk/python/integration/test_metrics_logs.py3CODE
LOWsdk/python/integration/test_volumes.py3CODE
LOWsdk/python/integration/test_exec.py3CODE
LOWsdk/python/integration/test_fs.py3CODE
LOWsdk/python/integration/test_network.py3CODE
LOWsdk/python/integration/test_snapshots.py3CODE
LOWsdk/python/integration/test_patches.py3CODE
LOWsdk/python/integration/helpers.py3CODE
LOWsdk/python/integration/test_pull_progress.py3CODE
LOWsdk/python/tests/test_image_source.py3CODE
LOWsdk/python/tests/test_snapshot_stub.py3CODE
LOWsdk/python/tests/test_mount_policies.py7CODE
LOWsdk/python/tests/test_image_archive.py3CODE
LOWsdk/python/tests/test_patch_file.py3CODE
LOWsdk/python/tests/test_rate_limiters.py3CODE
LOWsdk/python/tests/test_vsock.py3CODE
LOWsdk/python/tests/test_storage.py3CODE
LOWsdk/python/tests/test_types_enums.py8CODE
LOWsdk/python/tests/test_modify_stub.py3CODE
LOWsdk/python/tests/test_pull_session.py3CODE
LOWsdk/python/tests/test_registry_overrides.py3CODE
LOWsdk/python/tests/test_secret_passthrough.py3CODE
LOWsdk/python/tests/test_network_destinations.py3CODE
LOWsdk/python/tests/test_runtime_binary.py3CODE
LOWsdk/python/microsandbox/events.py3CODE
LOWsdk/python/microsandbox/events.py3CODE
LOWsdk/python/microsandbox/events.py4CODE
LOWsdk/python/microsandbox/events.py4CODE
LOWsdk/python/microsandbox/_cli.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
LOWsdk/python/microsandbox/__init__.py3CODE
189 more matches not shown…
Hallucination Indicators10 hits · 115 pts
SeverityFileLineSnippetContext
CRITICALcrates/network/lib/model/config/builder.rs473 && (self.config.tls.intercept_ca.cert_path.is_some()CODE
CRITICALcrates/network/lib/model/config/builder.rs474 != self.config.tls.intercept_ca.key_path.is_some())CODE
CRITICAL⚡crates/cli/lib/sandbox_config.rs2818 config.spec.network.http.deny_message.as_deref(),CODE
CRITICAL⚡crates/cli/lib/sandbox_config.rs2822 config.spec.network.http.network_deny_message.as_deref(),CODE
CRITICAL⚡crates/cli/lib/sandbox_config.rs2826 config.spec.network.http.secret_deny_message.as_deref(),CODE
CRITICALsdk/rust/lib/sandbox/restore_builder.rs435 assert!(restore.inner.config.spec.security_profile.is_some());CODE
CRITICALsdk/rust/lib/sandbox/restore_builder.rs452 assert!(restore.inner.config.spec.security_profile.is_none());CODE
CRITICALsdk/rust/lib/sandbox/restore_builder.rs472 assert!(restore.inner.config.spec.security_profile.is_none());CODE
CRITICALsdk/rust/lib/sandbox/mod.rs1154 self.config.spec.runtime.entrypoint.as_deref(),CODE
CRITICALsdk/rust/lib/sandbox/mod.rs1155 self.config.spec.runtime.cmd.as_deref(),CODE
Fake / Example Data70 hits · 74 pts
SeverityFileLineSnippetContext
LOWcrates/network/lib/model/policy/name.rs266 "user@example.com", // userinfo@hostCODE
LOWcrates/network/lib/engine/secrets/handler.rs3502 "env_var":"KEY", "value":"real-secret", "placeholder":"$KEY",CODE
LOWcrates/network/lib/engine/secrets/handler.rs3565 "env_var":"KEY", "value":"real-secret", "placeholder":"$KEY",CODE
LOWcrates/runtime/lib/client/compat/tests.rs345 "env_var":"API_KEY", "value":"test-secret", "placeholder":"$MSB_test",CODE
LOWcrates/runtime/lib/client/compat/tests.rs424 let policy = json!({"secrets":[{"env_var":"KEY","placeholder":"$KEY",CODE
LOWcrates/runtime/lib/client/compat/tests.rs438 "env_var":"KEY","placeholder":"$KEY","value":"private-marker",CODE
LOWcrates/cli/lib/sandbox_config.rs2969 "env_var": "TOKEN", "placeholder": "$TOKEN",CODE
LOWcrates/cli/lib/commands/self_cmd/tests.rs753 "env_var":"TOKEN", "value":"synthetic", "placeholder":"$TOKEN",CODE
LOWcrates/db/lib/compat/config.rs146 "env_var":"TOKEN", "value":"synthetic", "placeholder":"$TOKEN",CODE
LOWcrates/db/lib/compat/config.rs221 "env_var":"TOKEN", "value":"synthetic", "placeholder":"$TOKEN",CODE
LOWdocs/api-reference/openapi.personal.json5706 "placeholder"CODE
LOWdocs/api-reference/openapi.personal.json5735 "placeholder": {CODE
LOWdocs/api-reference/openapi.personal.json8627 "placeholder",CODE
LOWdocs/api-reference/openapi.personal.json8647 "placeholder": {CODE
LOWdocs/api-reference/openapi.json5821 "placeholder"CODE
LOWdocs/api-reference/openapi.json5850 "placeholder": {CODE
LOWdocs/api-reference/openapi.json8412 "placeholder",CODE
LOWdocs/api-reference/openapi.json8432 "placeholder": {CODE
LOWsdk/go/modify_test.go138 if apiKey["placeholder"] != "$API_KEY" {CODE
LOWsdk/go/modify_test.go139 t.Fatalf("placeholder = %v", apiKey["placeholder"])CODE
LOWsdk/go/native/src/lib.rs8486 {"name":"API_KEY","source":{"kind":"env","var":"HOST_API_KEY"},"placeholder":"$API_KEY","allowed_hosts":CODE
LOW⚡sdk/python/tests/test_modify_stub.py57 "env", "value", "store", "placeholder", "allowed_hosts",CODE
LOWsdk/python/microsandbox/types.py1220 d["placeholder"] = self.placeholderCODE
LOWsdk/python/src/helpers.rs2024 let placeholder: Option<String> = extract_opt(secret, "placeholder")?;CODE
LOWsdk/python/src/sandbox.rs1592 "placeholder" => placeholder = Some(extract_secret_str(&name, "placeholder", obj)?),CODE
LOWsdk/python/src/sandbox.rs2840 assert_eq!(secrets[0]["placeholder"], "$API_KEY");CODE
LOWsdk/rust/lib/runtime/launch_contract.rs2265 "placeholder": "$KEY",CODE
LOWsdk/rust/lib/runtime/launch_contract.rs2784 "env_var":"KEY", "placeholder":"$KEY", "value":"private-marker",CODE
LOWsdk/rust/lib/sandbox/modify/local.rs5536 .is_some_and(|reason| reason.contains("placeholder"))CODE
LOWsdk/rust/lib/sandbox/modify/builder.rs485 .secret(|secret| secret.env("API_KEY").value("dummy-value"))CODE
LOWsdk/node-ts/tests/unit/modify.test.ts97 '"store", "placeholder", "allowedHosts", "substitution", "violationAction", ' +CODE
LOWsdk/node-ts/src/modify.ts142 "placeholder",CODE
LOW…/control-client/typescript/tests/compatibility.test.ts153 const raw = '{"ok":false,"error":"dummy-value: arbitrary future diagnostic","extension":18446744073709551616}\n';CODE
LOW…/control-client/typescript/tests/compatibility.test.ts161 expect(inspect(error)).not.toContain("dummy-value");CODE
LOWpackages/microsandbox-types/rust/tests/config_patch.rs220 "placeholder": placeholderCODE
LOWpackages/microsandbox-types/rust/lib/domain.rs2789 .field("placeholder", &self.placeholder)CODE
LOWpackages/microsandbox-types/rust/lib/modify.rs467 .field("placeholder", &self.placeholder)CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs439 let mut entry = json!({"env_var":"KEY", "placeholder":"$KEY", "source":null});CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs464 r#"{"secrets":[{"env_var":"KEY","placeholder":"$KEY","injection":{"body":true,"body":false}}]}"#,CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs465 r#"{"secrets":[{"env_var":"KEY","placeholder":"$KEY","injection":{},"substitution":{}}]}"#,CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs486 "secrets": [{"env_var":"TOKEN", "value":"synthetic", "placeholder":"$KEY",CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs523 "env_var":"TOKEN", "value":"synthetic", "placeholder":"$KEY",CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs533 "env_var":"TOKEN", "placeholder":"$KEY",CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs562 "env_var":"KEY", "placeholder":"$KEY",CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs586 "env_var":"KEY", "placeholder":"$KEY",CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs601 json!({"secrets":[{"env_var":"KEY","placeholder":"$KEY","injection":{},"substitution":{}}]}),CODE
LOW…osandbox-types/rust/lib/compat/v0_5_0/local/secrets.rs608 let mut value = json!({"secrets":[{"env_var":"KEY","placeholder":"$KEY",CODE
LOW…kages/microsandbox-types/rust/lib/secret_plan/input.rs291 value: Zeroizing::new("dummy-value".into()),CODE
LOW…kages/microsandbox-types/rust/lib/secret_plan/input.rs382 assert!(!format!("{settings:?}").contains("dummy-value"));CODE
LOW…kages/microsandbox-types/rust/lib/secret_plan/input.rs409 for value in ["dummy-value", ""] {CODE
LOW⚡…kages/microsandbox-types/rust/lib/secret_plan/input.rs434 assert!(!expected.contains("dummy-value"));CODE
LOW⚡…kages/microsandbox-types/rust/lib/secret_plan/input.rs443 ("dummy-value", None, DesiredMaterial::Value),CODE
LOW⚡…kages/microsandbox-types/rust/lib/secret_plan/input.rs450 "dummy-value",CODE
LOW…kages/microsandbox-types/rust/lib/secret_plan/input.rs465 assert!(!format!("{desired:?}").contains("dummy-value"));CODE
LOWpackages/microsandbox-types/rust/lib/cloud/tests.rs854 "env_var":"KEY","value":"synthetic","placeholder":"$KEY",CODE
LOWpackages/microsandbox-types/rust/lib/cloud/tests.rs886 "entries":[{"env_var":"KEY","placeholder":"$KEY", "allowed_hosts":[{"type":"any"}],CODE
LOWpackages/microsandbox-types/rust/lib/cloud/tests.rs902 serde_json::json!({"entries":[{"env_var":"KEY","placeholder":"$KEY", "injection":{},"substitution":{}}]}),CODE
LOWpackages/microsandbox-types/rust/lib/cloud/tests.rs921 "env_var":"KEY", "placeholder":"$KEY", "violation_action":actionCODE
LOWpackages/microsandbox-types/rust/lib/cloud/tests.rs961 let mut value = serde_json::json!({"env_var":"KEY", "placeholder":"$KEY"});CODE
LOWpackages/microsandbox-types/rust/lib/cloud/tests.rs988 serde_json::json!({"env_var":"KEY","placeholder":"$KEY","value":"private-token"});CODE
10 more matches not shown…
Excessive Try-Catch Wrapping51 hits · 56 pts
SeverityFileLineSnippetContext
LOWsdk/python/integration/conftest.py55 except Exception:CODE
LOWsdk/python/tests/test_cow_lifecycle.py112 except Exception:CODE
LOWsdk/python/tests/test_outbound_proxy.py99 except Exception as exc:CODE
LOWsdk/python/microsandbox/_cli.py16 except Exception as error:CODE
LOWexamples/python/lifecycle-convergence/main.py209 except Exception:CODE
LOWexamples/python/net-ports/main.py34 except Exception as e:CODE
LOWscripts/smoke/cli/checkpoint-shared-resources.py237 except Exception as error:CODE
LOWscripts/smoke/cli/dirty-memory-checkpoint.py111 except Exception:STRING
LOWscripts/smoke/cli/dirty-memory-checkpoint.py176 except Exception as error:STRING
LOW⚡scripts/smoke/cli/snapshot-branch.py295 except Exception as error:CODE
LOW⚡scripts/smoke/cli/snapshot-branch.py302 except Exception as forced:CODE
LOW⚡scripts/smoke/cli/snapshot-branch.py311 except Exception as error:CODE
LOWscripts/smoke/cli/snapshot-branch.py323 except Exception as error:CODE
LOWscripts/smoke/cli/snapshot-branch.py356 except Exception:CODE
LOWscripts/smoke/cli/snapshot-load-batch.py248 except Exception as error:CODE
LOWscripts/smoke/cli/branch-timer-progress.py73 except Exception as error:CODE
LOWscripts/smoke/cli/storage_lifecycle_live.py113 except Exception as error: # noqa: BLE001 - clean every home, then report all failures.CODE
LOWscripts/smoke/cli/checkpoint-managed-volumes.py126 except Exception as error:CODE
LOWscripts/smoke/cli/transport-checkpoint.py376 except Exception as error:STRING
LOWscripts/smoke/cli/transport-checkpoint.py433 except Exception as error:STRING
LOWscripts/smoke/cli/transport-checkpoint.py532 except Exception as error:STRING
LOW⚡scripts/smoke/cli/transport-checkpoint.py964 except Exception as error:STRING
LOW⚡scripts/smoke/cli/transport-checkpoint.py969 except Exception as error:STRING
LOW⚡scripts/smoke/cli/transport-checkpoint.py974 except Exception as error:STRING
MEDIUMscripts/smoke/cli/transport-checkpoint.py394def write():CODE
MEDIUMscripts/smoke/cli/transport-checkpoint.py508def work(self):CODE
LOWscripts/smoke/cli/checkpoint-integration.py98 except Exception as error:CODE
LOWscripts/smoke/cli/checkpoint-memory-growth.py62 except Exception as error:CODE
LOWscripts/smoke/cli/transport_tcp.py176 except Exception as error:CODE
LOWscripts/smoke/cli/transport_tcp.py191 except Exception as error:CODE
MEDIUMscripts/smoke/cli/transport_tcp.py184def write():CODE
LOW⚡scripts/smoke/cli/catalog-history.py61 except Exception as error:CODE
LOW⚡scripts/smoke/cli/catalog-history.py69 except Exception as recovery_error:CODE
LOW⚡scripts/smoke/cli/catalog-history.py77 except Exception as historical_error:CODE
LOWscripts/smoke/cli/catalog-history.py157 except Exception:CODE
LOWscripts/smoke/cli/catalog-history.py160 except Exception as error:CODE
LOWscripts/smoke/cli/hpack-secret-guard.py124 except Exception as error:CODE
LOWscripts/smoke/cli/hpack-secret-guard.py262 except Exception:STRING
LOWscripts/smoke/cli/checkpoint-cpu-state.py53 except Exception as error:CODE
LOWscripts/smoke/cli/checkpoint-clock.py70 except Exception as error:CODE
LOWscripts/smoke/cli/cow-memory-lifecycle.py160 except Exception as error:CODE
LOWscripts/smoke/cli/restore-resources.py60 except Exception:CODE
LOW⚡scripts/smoke/cli/restore-resources.py194except Exception:CODE
LOW⚡scripts/smoke/cli/restore-resources.py200 except Exception as error:CODE
LOW⚡scripts/smoke/cli/restore-resources.py205 except Exception as error:CODE
LOWscripts/smoke/cli/root-disk-large-growth.py203 except Exception as error:CODE
LOWscripts/smoke/cli/guest-flush.py401 except Exception as error:CODE
LOWscripts/smoke/cli/guest-flush.py407 except Exception:CODE
LOWscripts/smoke/cli/live-disk-snapshot.py172 except Exception as error:CODE
LOWscripts/smoke/sdk/legacy-secrets.py51 except Exception as error:CODE
MEDIUMscripts/smoke/sdk/legacy-secrets.py36def respond(reader, writer):CODE
Empty Error Handlers11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHsdk/python/tests/test_cow_lifecycle.py84except SandboxNotFoundError:CODE
HIGHexamples/python/lifecycle-convergence/main.py27except SandboxNotFoundError:CODE
HIGHscripts/smoke/managed-job-terminal.py97except BlockingIOError:CODE
HIGHscripts/smoke/managed-job-terminal.py110except BlockingIOError:CODE
HIGHscripts/smoke/cli/snapshot-branch.py356except Exception:CODE
HIGHscripts/smoke/cli/published-port-ranges.py55except OSError:CODE
HIGHscripts/smoke/cli/hpack-secret-guard.py78except OSError:CODE
HIGHscripts/smoke/cli/hpack-secret-guard.py130except OSError:CODE
HIGHscripts/smoke/cli/hpack-secret-guard.py262except Exception:CODE
HIGHscripts/smoke/sdk/disk-compaction-export.py25except MicrosandboxError:CODE
HIGHscripts/smoke/sdk/disk-compaction-cancel.py29except asyncio.CancelledError:CODE
Deep Nesting50 hits · 48 pts
SeverityFileLineSnippetContext
LOWsdk/python/tests/test_cow_lifecycle.py70CODE
LOWsdk/python/tests/test_modify_stub.py33CODE
LOWsdk/python/microsandbox/types.py703CODE
LOWsdk/python/microsandbox/types.py1038CODE
LOWsdk/python/microsandbox/types.py1883CODE
LOWscripts/sync-docs-openapi.py217CODE
LOWscripts/sync-docs-openapi.py372CODE
LOWscripts/sync-docs-openapi.py487CODE
LOWscripts/smoke/managed-job-terminal.py46CODE
LOWscripts/smoke/managed-job-terminal.py157CODE
LOWscripts/smoke/cli/runtime-discovery.py22CODE
LOWscripts/smoke/cli/runtime-discovery.py59CODE
LOWscripts/smoke/cli/dirty-memory-checkpoint.py61CODE
LOWscripts/smoke/cli/snapshot-branch.py327CODE
LOWscripts/smoke/cli/snapshot-load-batch.py19CODE
LOWscripts/smoke/cli/storage_lifecycle_live.py14CODE
LOWscripts/smoke/cli/managed-job-integration.py68CODE
LOWscripts/smoke/cli/transport-checkpoint.py326CODE
LOWscripts/smoke/cli/transport-checkpoint.py387CODE
LOWscripts/smoke/cli/transport-checkpoint.py743CODE
LOWscripts/smoke/cli/transport-checkpoint.py917CODE
LOWscripts/smoke/cli/transport-checkpoint.py394CODE
LOWscripts/smoke/cli/test_transport_tcp.py41CODE
LOWscripts/smoke/cli/test_transport_tcp.py54CODE
LOWscripts/smoke/cli/checkpoint-integration.py54CODE
LOWscripts/smoke/cli/published-port-ranges.py43CODE
LOWscripts/smoke/cli/published-port-ranges.py63CODE
LOWscripts/smoke/cli/branch-batch.py266CODE
LOWscripts/smoke/cli/transport_tcp.py155CODE
LOWscripts/smoke/cli/catalog-history.py119CODE
LOWscripts/smoke/cli/test_snapshot_branch.py290CODE
LOWscripts/smoke/cli/branch-preparation.py160CODE
LOWscripts/smoke/cli/branch-preparation.py324CODE
LOWscripts/smoke/cli/nested-snapshot.py59CODE
LOWscripts/smoke/cli/nested-snapshot.py90CODE
LOWscripts/smoke/cli/test_transport_checkpoint.py301CODE
LOWscripts/smoke/cli/test_previous_release_upgrade.py26CODE
LOWscripts/smoke/cli/storage_lifecycle.py28CODE
LOWscripts/smoke/cli/guest-flush.py17CODE
LOWscripts/smoke/cli/live-disk-snapshot.py40CODE
LOWscripts/smoke/sdk/legacy-secrets.py88CODE
LOWscripts/ci/publish-crates.py60CODE
LOWscripts/ci/publish-crates.py169CODE
LOWscripts/ci/publish-crates.py218CODE
LOWscripts/ci/publish-crates.py254CODE
LOWscripts/ci/test_runner_storage.py59CODE
LOWscripts/ci/test_install.py19CODE
LOWscripts/ci/validate_linux_glibc.py117CODE
LOWscripts/ci/validate_linux_glibc.py153CODE
LOWscripts/ci/test_publish_crates.py25CODE
AI Slop Vocabulary7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMsdk/rust/Cargo.toml21# Exposes the archive walker to the fuzz harness (sdk/rust/fuzz). Never enabled in shipping builds.COMMENT
MEDIUMscripts/smoke/managed-job-terminal.py158 # A file avoids a harness thread blocked in a pipe write. Its shared offset shows whenCOMMENT
MEDIUMscripts/smoke/cli/snapshot-load-batch.py234 # Delete only this harness's exports, never the retained source fixtures. LoadedCOMMENT
MEDIUMscripts/smoke/cli/managed-job-integration.py138 # managed-jobs.py invokes the real-terminal harness as well as CLI lifecycleCOMMENT
MEDIUM⚡scripts/smoke/cli/transport-checkpoint.py639 # Read only this harness's catalog. Missing/unsupported CPU observations are explicitlySTRING
MEDIUM⚡scripts/smoke/cli/transport-checkpoint.py640 # null, never zero. No catalog PID is signalled by the harness.STRING
MEDIUMscripts/smoke/cli/test_restore_resource_intent.py27 # The harness hashes this fixture before and after the restore matrix.COMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/image/lib/registry/client.rs551 // Step 1: Early cache check using persisted image metadata.COMMENT
LOWcrates/image/lib/registry/client.rs592 // Step 2: Resolve manifest.COMMENT
LOW⚡crates/image/lib/registry/client.rs611 // Step 3: Parse config.COMMENT
LOW⚡crates/image/lib/registry/client.rs614 // Step 4: Get layer descriptors.COMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/image/lib/registry/client.rs551 // Step 1: Early cache check using persisted image metadata.COMMENT
LOWcrates/image/lib/registry/client.rs592 // Step 2: Resolve manifest.COMMENT
LOW⚡crates/image/lib/registry/client.rs611 // Step 3: Parse config.COMMENT
LOW⚡crates/image/lib/registry/client.rs614 // Step 4: Get layer descriptors.COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMexamples/python/volume-named/main.py9 # Create a named volume.COMMENT
MEDIUMexamples/python/fs-read-stream/main.py21 # Create a 10 MiB file with random data inside the sandbox.COMMENT
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md408> • <img height="14" src="https://octicons-col.vercel.app/organization/A770EF"> **[Agentic Coding Quickstart](https://giCODE
MEDIUMREADME.md409> • <img height="14" src="https://octicons-col.vercel.app/package/A770EF"> **[Condukt](https://github.com/tuist/condukt)CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsdk/python/microsandbox/events.py6__all__ = ["ExecEvent", "ExecEventType", "PullEvent", "PullEventType"]CODE
LOWsdk/python/microsandbox/__init__.py223__all__ = [CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/bump-version.sh5# Usage:COMMENT