Repository Analysis

superradcompany/microsandbox

🧱 easy, fast and local-first microVM runtime

5.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of superradcompany/microsandbox, a Rust project with 6,920 GitHub stars. SynthScan v2.0 examined 270,602 lines of code across 863 source files, recording 1050 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 5.3 places this repository in the Low 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).

5.3
Adjusted Score
5.3
Raw Score
100%
Time Factor
2026-07-13
Last Push
6.9K
Stars
Rust
Language
270.6K
Lines of Code
863
Files
1.1K
Pattern Hits
2026-07-14
Scan Date
0.04
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 2HIGH 29MEDIUM 142LOW 877

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 1050 distinct pattern matches across 16 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.

Over-Commented Block628 hits · 616 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.md121- Use the exact section delimiter shown below. Do not invent alternate Markdown-style, shorter, or decorative section heCOMMENT
LOWAGENTS.md141COMMENT
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.rs101COMMENT
LOWcrates/metrics/lib/layout.rs121/// Header state: the creating process is still writing the header.COMMENT
LOWcrates/metrics/lib/layout.rs141// Constants: Sample flagsCOMMENT
LOWcrates/metrics/lib/layout.rs161//--------------------------------------------------------------------------------------------------COMMENT
LOWcrates/metrics/lib/layout.rs201 /// Catalog run id of the current owner. `0` while reserved.COMMENT
LOWcrates/metrics/lib/layout.rs241 /// Length of the bytes in `name_bytes` that are valid UTF-8 name data.COMMENT
LOWcrates/metrics/lib/registry.rs41//--------------------------------------------------------------------------------------------------COMMENT
LOWcrates/metrics/lib/registry.rs121/// Cloneable handle (`Arc`-backed). Dropping the last clone unmaps the regionCOMMENT
LOWcrates/metrics/lib/registry.rs381COMMENT
LOWcrates/metrics/lib/error.rs1//! Error type used by the metrics registry.COMMENT
LOWcrates/metrics/lib/lib.rs1//! Shared-memory live metrics registry for microsandbox.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/test-utils/src/lib.rs1//! Internal test helpers for microsandbox integration tests.COMMENT
LOWcrates/test-utils/src/lib.rs21pub use test_macros::msb_test;COMMENT
LOWcrates/network/lib/proxy.rs841 .parse::<u16>()COMMENT
LOWcrates/network/lib/proxy.rs881/// Finish classifying the guest's first flight after the upstream socket isCOMMENT
LOWcrates/network/lib/device.rs1//! Slot-based [`smoltcp::phy::Device`] implementation.COMMENT
LOWcrates/network/lib/device.rs21//--------------------------------------------------------------------------------------------------COMMENT
LOWcrates/network/lib/icmp_error.rs21COMMENT
LOWcrates/network/lib/config.rs21/// Complete network configuration for a sandbox.COMMENT
LOWcrates/network/lib/config.rs61 /// Ship the host's trusted root CAs into the guest at boot so outboundCOMMENT
LOWcrates/network/lib/config.rs101/// DNS interception settings for the sandbox.COMMENT
LOWcrates/network/lib/backend.rs1//! `SmoltcpBackend` — libkrun [`NetBackend`] implementation that bridges theCOMMENT
LOWcrates/network/lib/backend.rs21COMMENT
LOWcrates/network/lib/icmp_relay.rs41const IPV6_HDR_LEN: usize = 40;COMMENT
LOWcrates/network/lib/icmp_relay.rs321 }COMMENT
LOWcrates/network/lib/publisher.rs81/// Spawns tokio listeners for each published port. When connections arrive,COMMENT
LOWcrates/network/lib/conn.rs41/// Terminal connection status reported by an outbound proxy task.COMMENT
LOWcrates/network/lib/conn.rs61}COMMENT
LOWcrates/network/lib/conn.rs121/// Information for spawning a proxy task for a newly established connection.COMMENT
LOWcrates/network/lib/conn.rs201 }COMMENT
LOWcrates/network/lib/stack.rs61/// Pre-inspection allows the poll loop to:COMMENT
LOWcrates/network/lib/stack.rs181COMMENT
LOWcrates/network/lib/stack.rs201///COMMENT
LOWcrates/network/lib/stack.rs341 // DoT: intercept only when TLS MITM isCOMMENT
LOWcrates/network/lib/stack.rs501 tls_state.clone(),COMMENT
LOWcrates/network/lib/stack.rs781COMMENT
LOWcrates/network/lib/network.rs21use crate::tls::state::TlsState;COMMENT
LOWcrates/network/lib/network.rs81//--------------------------------------------------------------------------------------------------COMMENT
LOWcrates/network/lib/builder.rs441 selfCOMMENT
LOWcrates/network/lib/shared.rs21//--------------------------------------------------------------------------------------------------COMMENT
LOWcrates/network/lib/shared.rs41/// Queue naming follows the **guest's perspective** (matching libkrun'sCOMMENT
LOWcrates/network/lib/udp_relay.rs121 self.payload.len() + self.original_ip_packet.len()COMMENT
LOWcrates/network/lib/udp_relay.rs361//--------------------------------------------------------------------------------------------------COMMENT
568 more matches not shown…
Decorative Section Separators137 hits · 402 pts
SeverityFileLineSnippetContext
MEDIUMcrates/network/lib/proxy.rs1450 // ── extract_http_host ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/network/lib/proxy.rs1500 // ── plain-HTTP secret substitution ────────────────────────────────────────COMMENT
MEDIUMcrates/network/lib/stack.rs322 // ── Phase 1: Drain all guest frames with pre-inspection ──────────COMMENT
MEDIUMcrates/network/lib/stack.rs455 // ── Phase 2: Ingress egress + maintenance ─────────────────────────COMMENT
MEDIUMcrates/network/lib/stack.rs472 // ── Phase 3: Service connections + relay data ────────────────────COMMENT
MEDIUMcrates/network/lib/stack.rs587 // ── Phase 4: Flush relay data + sleep ────────────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs172 // ── Layer EROFS paths (keyed by diff_id) ─────────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs201 // ── fsmeta EROFS paths (keyed by manifest digest) ─────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs225 // ── VMDK descriptor paths (keyed by manifest digest) ────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs249 // ── Staging/tmp paths (downloads, work dirs) ─────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs273 // ── Manifest metadata cache ──────────────────────────────────────COMMENT
MEDIUMcrates/image/lib/cache/store.rs391 // ── Blob cache paths ──────────────────────────────────────────────COMMENT
MEDIUMcrates/metrics-collector/lib/lib.rs28//! ┌─ run loop ─────────────────────────────────────────────┐COMMENT
MEDIUMcrates/metrics-collector/lib/lib.rs32//! └────┬───────────────────────────────────────┬───────────┘COMMENT
MEDIUMcrates/metrics-collector/lib/lib.rs38//! ┌─────────────┐ ┌─────────────┐ ┌─────────────┐COMMENT
MEDIUMcrates/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.rs1129 // ── Block Root ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1238 // ── File Mounts ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1287 // ── Tmpfs ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1312 // ── Disk Mounts ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1434 // ── Network ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1529 // ── Rlimits ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/agentd/lib/config.rs1575 // ── 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
MEDIUMsdk/python/microsandbox/events.py8#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/events.py10#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/events.py34#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/events.py36#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py10#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py12#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py17#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py19#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py203#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py205#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py213#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py215#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py182#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py184#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py255#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py257#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py277#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py279#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py307#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py309#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py395#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py397#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py502#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py504#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py568#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py570#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py648#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py650#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py981#--------------------------------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/microsandbox/types.py983#--------------------------------------------------------------------------------------------------COMMENT
77 more matches not shown…
Cross-Language Confusion29 hits · 185 pts
SeverityFileLineSnippetContext
HIGHsdk/python/integration/test_volumes.py58 "dd if=/dev/zero of=/scratch/small bs=1M count=1 status=none && echo small-ok",CODE
HIGHsdk/python/integration/test_network.py73 "nc -zv -w 5 1.1.1.1 443 >/dev/null 2>&1 || echo cloudflare-failed; "CODE
HIGHsdk/python/integration/test_network.py74 "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
HIGHexamples/python/net-secrets/main.py28 "wget -q -O /dev/null --timeout=10 https://example.com && echo OK || echo FAIL"CODE
HIGHexamples/python/net-secrets/main.py28 "wget -q -O /dev/null --timeout=10 https://example.com && echo OK || echo FAIL"CODE
HIGHexamples/python/net-secrets/main.py36 "https://cloudflare.com 2>&1 && echo OK || echo BLOCKED"CODE
HIGHexamples/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
HIGHexamples/python/net-tls/main.py29 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGHexamples/python/net-tls/main.py29 output = await sb.shell("wget -q -O /dev/null --timeout=5 http://example.com && echo OK || echo FAIL")CODE
HIGHexamples/python/net-tls/main.py35 "wget -q -O /dev/null --timeout=10 https://example.com 2>&1 && echo OK || echo FAIL"CODE
HIGHexamples/python/net-tls/main.py35 "wget -q -O /dev/null --timeout=10 https://example.com 2>&1 && echo OK || echo FAIL"CODE
HIGHexamples/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-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
HIGHexamples/python/net-dns/main.py22 output = await sb.shell("nslookup example.com 2>&1 | grep -c Address || echo 0")CODE
HIGHexamples/python/net-dns/main.py26 output = await sb.shell("nslookup blocked.example.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGHexamples/python/net-dns/main.py26 output = await sb.shell("nslookup blocked.example.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGHexamples/python/net-dns/main.py30 output = await sb.shell("nslookup anything.evil.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGHexamples/python/net-dns/main.py30 output = await sb.shell("nslookup anything.evil.com 2>&1 && echo RESOLVED || echo BLOCKED")CODE
HIGHexamples/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
Unused Imports157 hits · 101 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_mount_policies.py7CODE
LOWsdk/python/tests/test_image_archive.py3CODE
LOWsdk/python/tests/test_modify_stub.py3CODE
LOWsdk/python/tests/test_pull_session.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/_cli.py8CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
LOWsdk/python/microsandbox/__init__.py5CODE
97 more matches not shown…
Hyper-Verbose Identifiers64 hits · 72 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.py151async def test_create_kwargs_validate_bad_values(sandbox_name, kwargs, message):CODE
LOWsdk/python/integration/test_lifecycle.py20async def test_create_get_list_connect_stop_start_and_remove(sandbox_name):CODE
LOWsdk/python/integration/test_lifecycle.py109async def test_replace_rejects_duplicate_then_replaces(sandbox_name):CODE
LOWsdk/python/integration/test_images.py9async def test_image_list_returns_cached_handles() -> None:CODE
LOWsdk/python/integration/test_images.py19async def test_image_get_missing_raises_typed_error() -> None:CODE
LOWsdk/python/integration/test_images.py24async def test_image_save_missing_raises_typed_error(tmp_path) -> None:CODE
LOWsdk/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.py33async def test_metrics_snapshot_stream_and_all_sandbox_metrics(sandbox_factory):CODE
LOWsdk/python/integration/test_metrics_logs.py55async 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.py36async def test_named_volume_mount_into_sandbox(volume_factory, sandbox_factory):CODE
LOWsdk/python/integration/test_volumes.py51async def test_tmpfs_mount_enforces_size_limit(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py13async def test_exec_kwargs_and_options_dict(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py55async def test_shell_timeout_and_user_env_overrides(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py71async def test_exec_stream_iteration_collect_wait_and_signal(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py117async def test_exec_stream_missing_binary_surfaces_failure(sandbox_factory):CODE
LOWsdk/python/integration/test_exec.py132async def test_stdin_modes_and_take_stdin_contract(sandbox_factory):CODE
LOWsdk/python/integration/test_fs.py11async def test_fs_file_directory_and_metadata_operations(sandbox_factory):CODE
LOWsdk/python/integration/test_fs.py47async def test_fs_streams_and_host_copy_roundtrip(sandbox_factory, tmp_path):CODE
LOWsdk/python/integration/test_network.py23async def test_network_policy_and_port_config_create(sandbox_factory):CODE
LOWsdk/python/integration/test_network.py49async def test_ip_destination_allows_specific_egress(label, destination, sandbox_factory):CODE
LOWsdk/python/integration/test_snapshots.py14async def test_snapshot_create_open_list_and_boot(sandbox_name):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.py58async def test_create_with_progress_result_rejects_on_second_call(sandbox_name):CODE
LOWsdk/python/integration/test_pull_progress.py86async def test_create_with_progress_detached_returns_detached_sandbox(sandbox_name):CODE
LOWsdk/python/integration/test_pull_progress.py140async def test_create_with_progress_failure_surfaces_from_result(sandbox_name):CODE
LOWsdk/python/tests/test_image_source.py10def test_oci_accepts_root_disk_int() -> None:CODE
LOWsdk/python/tests/test_image_source.py20def test_oci_accepts_managed_root_disk() -> None:CODE
LOWsdk/python/tests/test_image_source.py27def test_oci_accepts_tmpfs_root_disk() -> None:CODE
LOWsdk/python/tests/test_image_source.py34def test_oci_accepts_disk_image_root_disk() -> None:CODE
LOWsdk/python/tests/test_image_source.py49def test_oci_accepts_deprecated_upper_size_mib_alias() -> None:CODE
LOWsdk/python/tests/test_image_source.py61def test_oci_rejects_root_disk_and_upper_size_mib_together() -> None:CODE
LOWsdk/python/tests/test_image_source.py66def test_image_namespace_includes_cache_management() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py21def test_bind_default_omits_policies() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py29def test_bind_accepts_policy_strings() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py48def test_bind_serializes_security_mount_flags() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py60def test_bind_with_relaxed_and_mirror_serializes_lowercase() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py72def test_named_with_off_serializes() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py84def test_tmpfs_rejects_stat_virt_at_serialization() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py94def test_tmpfs_rejects_host_perms_at_serialization() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py103def test_disk_rejects_stat_virt_at_serialization() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py114def test_stat_virtualization_str_values() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py120def test_host_permissions_str_values() -> None:CODE
LOWsdk/python/tests/test_mount_policies.py125def test_security_profile_str_values() -> None:CODE
LOWsdk/python/tests/test_image_archive.py12async def test_save_rejects_unknown_format(tmp_path: pathlib.Path) -> None:CODE
LOWsdk/python/tests/test_modify_stub.py41def test_secret_modify_spec_stub_keys() -> None:CODE
LOWsdk/python/tests/test_modify_stub.py55def test_sandbox_modify_stub_signature() -> None:CODE
LOWsdk/python/tests/test_pull_session.py11async def test_create_with_progress_returns_session_outside_tokio_reactor() -> None:CODE
LOWsdk/python/tests/test_secret_passthrough.py8def test_violation_action_includes_passthrough() -> None:CODE
LOWsdk/python/tests/test_secret_passthrough.py12def test_secret_passthrough_hosts_serialize() -> None:CODE
LOWsdk/python/tests/test_secret_passthrough.py36def test_network_secret_passthrough_hosts_serialize() -> None:CODE
LOWsdk/python/tests/test_network_destinations.py8def test_typed_ip_destination_serializes_with_kind() -> None:CODE
LOWsdk/python/tests/test_network_destinations.py31def test_typed_group_destination_serializes_with_kind() -> None:CODE
LOWsdk/python/tests/test_network_destinations.py46def test_string_destination_remains_compatibility_shorthand() -> None:CODE
LOWsdk/python/tests/test_runtime_binary.py16def test_bridge_functions_are_exposed():CODE
LOWsdk/python/tests/test_runtime_binary.py21def test_native_resolver_returns_bundled_path():CODE
4 more matches not shown…
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALsdk/rust/lib/sandbox/builder.rs581 self.config.spec.network.ports.push(PublishedPortSpec {CODE
CRITICALsdk/rust/lib/sandbox/builder.rs1063 super::validate_hostname(self.config.spec.runtime.hostname.as_deref())?;CODE
Fake / Example Data14 hits · 15 pts
SeverityFileLineSnippetContext
LOWcrates/network/lib/policy/name.rs266 "user@example.com", // userinfo@hostCODE
LOWsdk/go/modify_test.go134 if apiKey["placeholder"] != "$API_KEY" {CODE
LOWsdk/go/modify_test.go135 t.Fatalf("placeholder = %v", apiKey["placeholder"])CODE
LOWsdk/go/native/src/lib.rs6200 {"name":"API_KEY","source":{"kind":"env","var":"HOST_API_KEY"},"placeholder":"$API_KEY","allowed_hosts":CODE
LOWsdk/python/tests/test_modify_stub.py50 assert keys == ["env", "value", "store", "placeholder", "allowed_hosts"]CODE
LOWsdk/python/microsandbox/types.py611 d["placeholder"] = self.placeholderCODE
LOWsdk/python/src/sandbox_handle.rs151 /// `"env"` / `"value"` / `"store"`, plus optional `"placeholder"` andCOMMENT
LOWsdk/python/src/helpers.rs1201 let placeholder: Option<String> = extract_opt(secret, "placeholder")?;CODE
LOWsdk/python/src/sandbox.rs642 /// `"env"` / `"value"` / `"store"`, plus optional `"placeholder"` andCOMMENT
LOWsdk/python/src/sandbox.rs1012 "placeholder" => placeholder = Some(extract_secret_str(&name, "placeholder", obj)?),CODE
LOWsdk/python/src/sandbox.rs1888 assert_eq!(secrets[0]["placeholder"], "$API_KEY");CODE
LOWsdk/rust/lib/sandbox/modify.rs3403 .is_some_and(|reason| reason.contains("placeholder"))CODE
LOWpackages/microsandbox-types/rust/lib/domain.rs1840 .field("placeholder", &self.placeholder)CODE
LOWpackages/microsandbox-types/rust/lib/modify.rs407 .field("placeholder", &self.placeholder)CODE
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/image/lib/registry/client.rs355 // Step 1: Early cache check using persisted image metadata.COMMENT
LOWcrates/image/lib/registry/client.rs395 // Step 2: Resolve manifest.COMMENT
LOWcrates/image/lib/registry/client.rs414 // Step 3: Parse config.COMMENT
LOWcrates/image/lib/registry/client.rs417 // Step 4: Get layer descriptors.COMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/image/lib/registry/client.rs355 // Step 1: Early cache check using persisted image metadata.COMMENT
LOWcrates/image/lib/registry/client.rs395 // Step 2: Resolve manifest.COMMENT
LOWcrates/image/lib/registry/client.rs414 // Step 3: Parse config.COMMENT
LOWcrates/image/lib/registry/client.rs417 // 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 · 6 pts
SeverityFileLineSnippetContext
MEDIUMpackages/agent-client/rust/lib/stream.rs1//! Generic stream handle scaffold.COMMENT
MEDIUMpackages/agent-client/rust/lib/stream.rs53 /// This scaffold is intentionally not wired to a routing implementation yet.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsdk/rust/Cargo.toml20# Exposes the archive walker to the fuzz harness (sdk/rust/fuzz). Never enabled in shipping builds.COMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsdk/python/integration/conftest.py35 except Exception:CODE
LOWexamples/python/net-ports/main.py34 except Exception as e:CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsdk/python/tests/test_modify_stub.py27CODE
LOWsdk/python/microsandbox/types.py336CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/bump-version.sh5# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsdk/python/microsandbox/__init__.py159__all__ = [CODE