AI Slop Code RIsk Monitor

ApodexAI/FrontierAgent

🧩 FrontierAgent, our agent framework, open-sourced alongside it — native command-line TUI, ReAct and Agent Team modes, one command on macOS and Linux, no preinstall, no hard Docker dependency.

45.4 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ApodexAI/FrontierAgent, a Python project with 5,223 GitHub stars. SynthScan examined 161,706 lines of code across 719 source files, recording 4550 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 45.4 (High 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.

45.4
Adjusted Signal
45.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.2K
Stars
Python
Language
161.7K
Lines of Code
719
Files
4.5K
Pattern Hits
2026-10-12
Scan Date
0.29
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 48.0/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 29.5/100 · MEDIUM

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

Agent Over-Engineering Ratio 82.7/100 · CRITICAL

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

PR Review Velocity Impact 90.8/100 · CRITICAL

Which changes need focused human review? 4550 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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

CRITICAL 0HIGH 212MEDIUM 1052LOW 3286

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 4550 distinct pattern matches across 22 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.

Decorative Section Separators951 hits · 2851 pts
SeverityFileLineSnippetContext
MEDIUMconfig/providers.yaml30# ``model_chains:``) ──────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_academic_fetch.py60# ── URL extraction helpers ────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_academic_fetch.py130# ── Async fetch helpers ───────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/task_board.py52# ── State helpers (also used by the observer + finalize_answer gate) ────────COMMENT
MEDIUMplugins/tools/task_board.py83# ── Task-board stream projection — pure read helpers ─────────────────────────COMMENT
MEDIUMplugins/tools/task_board.py141# ── Planning Mode (two-phase state machine) ─────────────────────────────────COMMENT
MEDIUMplugins/tools/task_board.py281# ── Tools ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/web_fetch.py281# ── Routing ───────────────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_overflow.py520# ── Aggregate budget (per-turn total) ───────────────────────────────────COMMENT
MEDIUMplugins/tools/web_fetch_aligned.py92# ── Un-rendered ("app shell") handling ────────────────────────────────COMMENT
MEDIUMplugins/tools/web_fetch_aligned.py109# ── Jina scraping ─────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/web_fetch_aligned.py326# ── LLM extraction ───────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/web_fetch_aligned.py547# ── Single-URL fetch + extract ────────────────────────────────────────COMMENT
MEDIUMplugins/tools/web_fetch_aligned.py690# ── Tool ──────────────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_paths.py8# ── Virtual → Physical mapping ──────────────────────────────────────────COMMENT
MEDIUMplugins/tools/bash.py158# ── Tool ────────────────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_bash_policy.py35# ── Mode resolution ─────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_bash_policy.py130# ── Layer 1: hard denylist (all modes) ──────────────────────────────────COMMENT
MEDIUMplugins/tools/_bash_policy.py824# ── Layer 2: command allowlist (warn / enforce) ─────────────────────────COMMENT
MEDIUMplugins/tools/_bash_policy.py2775# ── Public entry point ──────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_deliverable_policy.py385# ---------------------------------------------------------------------------COMMENT
MEDIUMplugins/tools/_deliverable_policy.py398# ---------------------------------------------------------------------------COMMENT
MEDIUMplugins/tools/_deliverable_policy.py1367# ---------------------------------------------------------------------------COMMENT
MEDIUMplugins/tools/_deliverable_policy.py1384# ---------------------------------------------------------------------------COMMENT
MEDIUMplugins/tools/_filesystem_state.py174 # ── path questions ───────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_filesystem_state.py302# ── installation ─────────────────────────────────────────────────────────COMMENT
MEDIUM⚡plugins/tools/_sandbox.py171# ── Unprivileged identity for model-authored subprocesses ─────────────COMMENT
MEDIUM⚡plugins/tools/_sandbox.py180# ── Sandbox profile: who are we protecting from whom ──────────────────────COMMENT
MEDIUM⚡plugins/tools/_sandbox.py2239# ── E2B Config ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡plugins/tools/_sandbox.py3057 # ── Current container mounts ─────────────────────────────────────────COMMENT
MEDIUM⚡plugins/tools/_sandbox.py3092 # ── E2B ──────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡plugins/tools/_sandbox.py3100 # ── Docker ───────────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py53# ── Per-task sandbox override ──────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py75# ── Shared result/error types ──────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py116# ── Minimal environment for model-authored subprocesses ───────────────COMMENT
MEDIUMplugins/tools/_sandbox.py517# ── live exec registry (memory watchdog disposal) ──────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py838# ── Bubblewrap Sandbox (per-task filesystem isolation) ─────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py983 # ── /proc, and why it differs by profile ─────────────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py2548# ── CJK Font Provisioning ──────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py3122 # ── Fallback: base64 via python3 inside the sandbox ──────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py3136# ── Async wrappers ──────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py3285# ── Per-sub-agent E2B sandbox pool ─────────────────────────────────────COMMENT
MEDIUMplugins/tools/_sandbox.py2669# ── Sandbox Accessor ────────────────────────────────────────────────────STRING
MEDIUMplugins/tools/web_search.py108# ── Profile-driven override ───────────────────────────────────────────COMMENT
MEDIUMplugins/tools/web_search.py204# ── Domain-scoped snippet/title content filter ────────────────────────COMMENT
MEDIUMplugins/tools/_scrape_cache.py14# ── Tunables ──────────────────────────────────────────────────────────────COMMENT
MEDIUMplugins/tools/_scrape_cache.py105# ── Positive scrape cache (cross-run, single-flight) ───────────────────────COMMENT
MEDIUM⚡plugins/tools/read_text.py74 # ── Try host /tmp/agent-outputs/ first ──────────────────────COMMENT
MEDIUM⚡plugins/tools/read_text.py84 # ── Try E2B sandbox for absolute paths ────────────────────────────COMMENT
MEDIUMplugins/tools/read_text.py111 # ── Local file read with security checks ──────────────────────────COMMENT
MEDIUMplugins/tools/meta.py44# ── Default metadata for built-in tools ──────────────────────────────────COMMENT
MEDIUMdeploy/huggingface/events.py15# ── Lifecycle ────────────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/huggingface/events.py23# ── Progress ─────────────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/huggingface/adapter.py106# ── event transport ──────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/huggingface/adapter.py159# ── runtime → events ─────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/huggingface/adapter.py435# ── artifacts ────────────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/huggingface/adapter.py506# ── the adapter ──────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_agent_team_inherited_publish_directive.py131# ── the detector ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_agent_team_inherited_publish_directive.py174# ── the inherited directive ──────────────────────────────────────────────────COMMENT
MEDIUMtests/test_agent_team_inherited_publish_directive.py233# ── the directive the coordinator wrote itself ───────────────────────────────COMMENT
891 more matches not shown…
Hyper-Verbose Identifiers1642 hits · 1574 pts
SeverityFileLineSnippetContext
LOWplugins/tools/_download_runner.py82def _pinned_create_connection(ip: str) -> Callable[..., socket.socket]:CODE
LOWplugins/tools/_download_runner.py213def _open_following_redirects(CODE
LOWplugins/tools/_path_auth.py87def _configured_workspace_root() -> Path | None:CODE
LOWplugins/tools/_path_auth.py132def _is_isolated_workspace_root(workspace_root: Path) -> bool:CODE
LOWplugins/tools/recover_result.py72def trajectory_recovery_available() -> bool:CODE
LOWplugins/tools/task_board.py64def build_task_board_observer(*, cooldown_turns: int = 5) -> TaskBoardObserver:CODE
LOWplugins/tools/web_fetch.py360async def _maybe_recover_via_unpaywall(CODE
LOWplugins/tools/document_node_toolchain.py59def discover_document_node_toolchain(CODE
LOWplugins/tools/document_node_toolchain.py131def render_document_node_toolchain_note(CODE
LOWplugins/tools/web_search_aligned.py238def _format_results_plaintext(organic_results: list[dict]) -> str:CODE
LOWplugins/tools/_bash_policy.py299def _relocated_protected_roots() -> tuple[str, ...]:CODE
LOWplugins/tools/_bash_policy.py316def _under_static_protected_root(path: str) -> bool:CODE
LOWplugins/tools/_bash_policy.py339def _under_run_read_only_root(path: str) -> bool:CODE
LOWplugins/tools/_bash_policy.py364def _contains_run_read_only_root(path: str) -> bool:CODE
LOWplugins/tools/_bash_policy.py720def _redirect_protection_reason(commands: list[list[str]]) -> str | None:CODE
LOWplugins/tools/_bash_policy.py1737def _systemctl_requests_shutdown(args: list[str]) -> bool:CODE
LOWplugins/tools/_bash_policy.py2028def _executed_script_operands(argv: list[str]) -> list[str]:CODE
LOWplugins/tools/_bash_policy.py2136def _sed_treats_words_as_data(args: list[str]) -> bool:CODE
LOWplugins/tools/_bash_policy.py2184def _tar_treats_words_as_data(args: list[str]) -> bool:CODE
LOWplugins/tools/_bash_policy.py2272def _git_treats_words_as_data(args: list[str]) -> bool:CODE
LOWplugins/tools/_bash_policy.py2460def _dynamic_env_split_reason(commands: list[list[str]]) -> str | None:CODE
LOWplugins/tools/view_image.py229def _is_vision_service_unavailable(result: str) -> bool:CODE
LOWplugins/tools/view_image.py239def _vision_unavailable_fallback(image_path: str, error_msg: str) -> str:CODE
LOWplugins/tools/_bounded_fetch.py188def strip_cross_origin_credentials(CODE
LOWplugins/tools/create_subagent.py255def _resolve_specialist_prompt(CODE
LOWplugins/tools/create_subagent.py333def _disabled_web_tools_notice(runtime: Any | None = None) -> str:CODE
LOWplugins/tools/_deliverable_policy.py98def _canonicalise_output_references(text: str) -> str:CODE
LOWplugins/tools/_deliverable_policy.py358def set_deliverable_write_paths(CODE
LOWplugins/tools/_deliverable_policy.py381def reset_deliverable_write_paths(token: contextvars.Token) -> None:CODE
LOWplugins/tools/_deliverable_policy.py405def new_output_write_denial_log() -> tuple[contextvars.Token, list[tuple[str, str]]]:CODE
LOWplugins/tools/_deliverable_policy.py416def reset_output_write_denial_log(token: contextvars.Token) -> None:CODE
LOWplugins/tools/_deliverable_policy.py420def _record_output_write_denial(kind: str, target: str) -> None:CODE
LOWplugins/tools/_deliverable_policy.py1147def _scratch_bash_quota_error(command: str) -> str | None:CODE
LOWplugins/tools/_deliverable_policy.py1208def _non_publisher_bash_error(command: str) -> str | None:CODE
LOWplugins/tools/_deliverable_policy.py1477def render_publish_assignment(paths: Iterable[str]) -> str:CODE
LOWplugins/tools/_deliverable_policy.py1524def render_workspace_assignment(CODE
LOWplugins/tools/_filesystem_state.py332def installed_filesystem_state() -> RuntimeFilesystemState | None:CODE
LOWplugins/tools/_sandbox.py926def _extra_tool_root_bind_args() -> list[str]:CODE
LOWplugins/tools/_sandbox.py1248def _incremental_text_decoder(stream: Any) -> io.IncrementalNewlineDecoder:CODE
LOWplugins/tools/_sandbox.py1408def _check_ulimit_below_cgroup(mem_mb: int) -> None:CODE
LOWplugins/tools/_sandbox.py1447def _native_same_uid_is_expected() -> bool:CODE
LOWplugins/tools/_sandbox.py1804def _container_inner_bwrap_enabled() -> bool:CODE
LOWplugins/tools/_sandbox.py1819def container_uses_inner_bwrap() -> bool:CODE
LOWplugins/tools/_sandbox.py2410def _refuse_symlinked_spill_root(path: Path) -> Path:CODE
LOWplugins/tools/_sandbox.py3178async def _ensure_ttl_outlives_exec(sandbox: Any, timeout: int) -> None:CODE
LOWplugins/tools/_sandbox.py1969def filter_readable_by_tool_user(paths: Sequence[str]) -> list[str] | None:STRING
LOWplugins/tools/_sandbox.py2010def _warn_if_inputs_unreadable(inputs_dir: str) -> None:STRING
LOWplugins/tools/_sandbox.py2751def _create_provisioned_sandbox(STRING
LOWplugins/tools/assign_task.py82def _session_has_publish_work(bus: AgentBus, session: Any) -> bool:CODE
LOW⚡plugins/tools/assign_task.py212 def normalise_publish_boolean(cls, value: Any) -> Any:CODE
LOW⚡plugins/tools/assign_task.py222 def normalise_null_output_paths(cls, value: Any) -> Any:CODE
LOW⚡plugins/tools/assign_task.py228 def normalise_null_replace_manifest(cls, value: Any) -> Any:CODE
LOW⚡plugins/tools/assign_task.py233 def validate_publish_contract(self) -> AgentTeamAssignmentSpec:CODE
LOW⚡plugins/tools/assign_task.py261def _assignment_validation_error(index: int, exc: ValidationError) -> str:CODE
LOW⚡plugins/tools/assign_task.py271def _resolve_original_question(scope_metadata: dict[str, Any]) -> str:CODE
LOW⚡plugins/tools/assign_task.py277def _unknown_agent_validation_errors(CODE
LOWplugins/tools/assign_task.py842def _top_level_grants_authority(CODE
LOWplugins/tools/assign_task.py870def _fold_top_level_publish_metadata(CODE
LOWplugins/tools/_render_check.py131def _looks_like_html_document(content: str) -> bool:CODE
LOWplugins/tools/web_search.py122def set_domain_blacklist_extra(domains: list[str] | str | None) -> Token:CODE
1582 more matches not shown…
Unused Imports667 hits · 639 pts
SeverityFileLineSnippetContext
LOWtools/check_symbols.py27CODE
LOWtools/check_lazy_exports.py19CODE
LOWtools/import_smoke.py27CODE
LOWtools/compare_golden.py10CODE
LOWtools/preflight.py15CODE
LOWdocker/smoke_sglang.py4CODE
LOWdocker/sglang_entrypoint.py4CODE
LOWplugins/tools/file_editor.py3CODE
LOWplugins/tools/_download_runner.py3CODE
LOWplugins/tools/_academic_fetch.py2CODE
LOWplugins/tools/ignore_rules.py3CODE
LOWplugins/tools/_bus_scope.py3CODE
LOWplugins/tools/_path_auth.py3CODE
LOWplugins/tools/recover_result.py28CODE
LOWplugins/tools/task_board.py3CODE
LOWplugins/tools/task_board.py10CODE
LOWplugins/tools/task_board.py10CODE
LOWplugins/tools/stop_subagent.py3CODE
LOWplugins/tools/_parallel_search.py3CODE
LOWplugins/tools/web_fetch.py3CODE
LOWplugins/tools/_single_flight.py3CODE
LOWplugins/tools/_net_guard.py3CODE
LOWplugins/tools/_overflow.py3CODE
LOWplugins/tools/grep_search.py3CODE
LOWplugins/tools/document_node_toolchain.py3CODE
LOWplugins/tools/web_fetch_aligned.py8CODE
LOWplugins/tools/web_search_aligned.py8CODE
LOWplugins/tools/_paths.py3CODE
LOWplugins/tools/bash.py3CODE
LOWplugins/tools/_bash_policy.py11CODE
LOWplugins/tools/_exec_cgroup.py3CODE
LOWplugins/tools/view_image.py3CODE
LOWplugins/tools/__init__.py3CODE
LOWplugins/tools/_bounded_fetch.py3CODE
LOWplugins/tools/_coerce.py3CODE
LOWplugins/tools/create_subagent.py3CODE
LOWplugins/tools/create_file.py2CODE
LOWplugins/tools/_deliverable_policy.py8CODE
LOWplugins/tools/_filesystem_state.py42CODE
LOWplugins/tools/_sandbox.py3CODE
LOWplugins/tools/assign_task.py8CODE
LOWplugins/tools/_render_check.py3CODE
LOWplugins/tools/finalize_answer.py3CODE
LOWplugins/tools/read_file.py3CODE
LOWplugins/tools/_code_sanitize.py2CODE
LOWplugins/tools/collect_reports.py7CODE
LOWplugins/tools/web_search.py3CODE
LOWplugins/tools/submit_report.py3CODE
LOWplugins/tools/run_python_code.py2CODE
LOWplugins/tools/write_file.py7CODE
LOWplugins/tools/download_file.py3CODE
LOWplugins/tools/glob_search.py3CODE
LOWplugins/tools/_scrape_cache.py3CODE
LOWplugins/tools/read_text.py18CODE
LOWplugins/tools/meta.py3CODE
LOWdeploy/huggingface/sessions.py29CODE
LOWdeploy/huggingface/config.py9CODE
LOWdeploy/huggingface/events.py9CODE
LOWdeploy/huggingface/adapter.py25CODE
LOWdeploy/huggingface/mock_llm.py19CODE
607 more matches not shown…
Empty Error Handlers111 hits · 555 pts
SeverityFileLineSnippetContext
HIGHplugins/tools/_writer_core.py122except Exception:CODE
HIGHplugins/tools/_writer_core.py280except Exception:CODE
HIGHplugins/tools/_reader_pptx.py19except Exception:CODE
HIGHplugins/tools/_reader_pptx.py30except Exception:CODE
HIGHplugins/tools/_reader_pptx.py140except Exception:CODE
HIGHplugins/tools/_reader_pptx.py159except Exception:CODE
HIGHplugins/tools/_reader_pptx.py175except Exception:CODE
HIGHplugins/tools/_reader_pptx.py194except Exception:CODE
HIGHplugins/tools/_reader_pptx.py282except Exception:CODE
HIGHplugins/tools/_reader_pptx.py301except Exception:CODE
HIGHplugins/tools/_reader_pptx.py343except Exception:CODE
HIGHplugins/tools/_reader_pptx.py383except Exception:CODE
HIGHplugins/tools/_reader_pptx.py396except Exception:CODE
HIGHplugins/tools/_reader_pptx.py165except Exception:CODE
HIGHplugins/tools/_reader_pptx.py91except Exception:CODE
HIGHplugins/tools/_reader_pptx.py312except Exception:CODE
HIGHplugins/tools/_reader_pptx.py280except Exception:CODE
HIGHplugins/tools/_path_auth.py138except ValueError:CODE
HIGHplugins/tools/_net_guard.py170except Exception:CODE
HIGHplugins/tools/_net_guard.py98except ValueError:CODE
HIGHplugins/tools/web_fetch_aligned.py221except json.JSONDecodeError:CODE
HIGHplugins/tools/web_fetch_aligned.py87except (json.JSONDecodeError, ValueError):CODE
HIGHplugins/tools/_reader_xlsx.py91except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py315except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py384except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py406except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py645except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py332except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py344except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py541except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py547except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py555except Exception:CODE
HIGHplugins/tools/_reader_xlsx.py400except Exception:CODE
HIGHplugins/tools/web_search_aligned.py144except (json.JSONDecodeError, ValueError):CODE
HIGHplugins/tools/_bounded_fetch.py199except Exception:CODE
HIGHplugins/tools/_bounded_fetch.py22except ValueError:CODE
HIGHplugins/tools/_writer_pptx.py80except Exception:CODE
HIGHplugins/tools/_reader_core.py209except UnicodeDecodeError:CODE
HIGHplugins/tools/_reader_core.py323except Exception:CODE
HIGHplugins/tools/_reader_core.py599except Exception:CODE
HIGHplugins/tools/_reader_core.py555except OSError:CODE
HIGHplugins/tools/_reader_core.py743except OSError:CODE
HIGHplugins/tools/_reader_core.py788except OSError:CODE
HIGHplugins/tools/_reader_core.py115except Exception:CODE
HIGHplugins/tools/_reader_core.py754except OSError:CODE
HIGHplugins/tools/_sandbox.py2249except Exception:CODE
HIGHplugins/tools/_sandbox.py564except (OSError, ValueError):CODE
HIGHplugins/tools/_sandbox.py776except Exception:CODE
HIGHplugins/tools/_sandbox.py2279except Exception:CODE
HIGHplugins/tools/_sandbox.py2730except TypeError:CODE
HIGHplugins/tools/_sandbox.py3261except (TypeError, ValueError):CODE
HIGHplugins/tools/_render_check.py122except Exception:CODE
HIGHplugins/tools/_reader_pdf.py66except Exception:CODE
HIGHplugins/tools/_reader_pdf.py80except Exception:CODE
HIGHplugins/tools/_reader_pdf.py99except Exception:CODE
HIGHplugins/tools/_reader_pdf.py122except Exception:CODE
HIGHplugins/tools/_reader_pdf.py158except Exception:CODE
HIGHplugins/tools/_reader_pdf.py202except Exception:CODE
HIGHplugins/tools/download_file.py58except ValueError:CODE
HIGHplugins/tools/_reader_docx.py45except Exception:CODE
51 more matches not shown…
Cross-Language Confusion80 hits · 476 pts
SeverityFileLineSnippetContext
HIGHplugins/tools/file_editor.py96 f"test -d {q} && echo DIR || echo FILE", timeout=10,CODE
HIGHplugins/tools/bash.py99 f'if [ -n "$BASH_VERSION" ]; then ulimit -f {kib_blocks} 2>/dev/null; 'CODE
HIGHplugins/tools/bash.py100 f"else ulimit -f {posix_blocks} 2>/dev/null; fi; "CODE
HIGHplugins/tools/_bash_policy.py2823 # (``2>/dev/null;`` / ``>/dev/null)``) — trim it before classifying.COMMENT
HIGHplugins/tools/_deliverable_policy.py320 "path: `pdftoppm -png in.pdf /workspace/page && cp /workspace/page-1.png "CODE
HIGHplugins/tools/_deliverable_policy.py330 "/workspace in.pptx && cp /workspace/in.pdf /outputs/<declared-name>.pdf`."CODE
HIGHplugins/tools/_deliverable_policy.py1191 (``cd /outputs/scratch && cp /workspace/a.png ../leak.png``). AnythingSTRING
HIGHplugins/tools/_deliverable_policy.py1193 allowed. Over-approximating (a redirect to /dev/null) only steers theSTRING
HIGH⚡plugins/tools/_sandbox.py2585 (sudo -n apt-get update -qq 2>/dev/null || apt-get update -qq 2>/dev/null || true)CODE
HIGH⚡plugins/tools/_sandbox.py2587 || apt-get install -y -qq --no-install-recommends fonts-noto-cjk fonts-noto-cjk-extra fonts-liberation fonts-crosexCODE
HIGH⚡plugins/tools/_sandbox.py2588 fc-cache -f >/dev/null 2>&1 || trueCODE
HIGH⚡plugins/tools/_sandbox.py2592 python -c "from mplfonts.bin.cli import init; init()" >/dev/null 2>&1 || trueCODE
HIGH⚡plugins/tools/_sandbox.py2601rm -rf "$HOME/.cache/matplotlib" "$HOME/.matplotlib" 2>/dev/null || trueCODE
HIGH⚡plugins/tools/_sandbox.py2610 (sudo -n apt-get update -qq 2>/dev/null || apt-get update -qq 2>/dev/null || true)CODE
HIGH⚡plugins/tools/_sandbox.py2612 || apt-get install -y -qq --no-install-recommends poppler-utils 2>/dev/null || true)CODE
HIGH⚡plugins/tools/_sandbox.py3308 "rm -rf /tmp/exec_*.py /tmp/agent-outputs/* 2>/dev/null; "CODE
HIGHplugins/tools/_sandbox.py475 return f"ulimit -v {mem_mb * 1024} 2>/dev/null; "CODE
HIGHplugins/tools/_sandbox.py500 return f"ulimit -d {mem_mb * 1024} 2>/dev/null; "CODE
HIGHplugins/tools/_sandbox.py832 parts.append(f"ulimit -v {mem_mb * 1024} 2>/dev/null;")CODE
HIGHplugins/tools/_sandbox.py1559 f"echo $$ > {shlex.quote(cg.procs_path)} 2>/dev/null; "CODE
HIGHplugins/tools/_sandbox.py2817 "mkdir -p /tmp/agent-outputs && chmod 755 /tmp/agent-outputs",STRING
HIGHdeploy/huggingface/adapter.py216 self._channel.push(event(CODE
HIGH⚡deploy/huggingface/adapter.py746 channel.push(event(CODE
HIGH⚡deploy/huggingface/adapter.py756 channel.push(event(CODE
HIGH⚡deploy/huggingface/adapter.py765 channel.push(event(CODE
HIGH⚡deploy/huggingface/adapter.py773 channel.push(event(CODE
HIGHdeploy/huggingface/adapter.py789 channel.push(event(CODE
HIGHdeploy/huggingface/adapter.py819 channel.push(event(CODE
HIGHdeploy/huggingface/adapter.py826 channel.push(event(CODE
HIGH⚡tests/test_path_gate_is_binding.py264 "1,1p' /dev/null; printf INJECTED; # -2", "0-1", "5-2", "1-two", "1-2-3",CODE
HIGH⚡tests/test_bash_policy_data_consumers.py109 "echo 'halt' > a.txt && cp a.txt x.sh && bash x.sh",CODE
HIGH⚡tests/test_bash_policy_data_consumers.py110 "echo 'halt' > a && mv a x.sh && sh x.sh",CODE
HIGH⚡tests/test_bash_policy_data_consumers.py111 "echo 'halt' > a && ln -s a x && . ./x",CODE
HIGHtests/test_bash_policy_data_consumers.py127 "git add report.md && git commit -m 'document the halt rule'",CODE
HIGH⚡tests/test_agent_team_workflow.py339 error = bash_output_write_error("cd /spill/session && grep -c X result.md")CODE
HIGHtests/test_agent_team_workflow.py224 "cd /spill && echo changed > result.md",CODE
HIGH⚡tests/test_bash_policy_composition.py158 "cd /workspace && echo 'halt' > x.sh && bash x.sh",CODE
HIGH⚡tests/test_bash_policy_composition.py173 "echo 'exchange halt' > /workspace/a.md && bash /workspace/build.sh",CODE
HIGH⚡tests/test_bash_policy_composition.py176 "echo 'halt' > x.txt && wc -l x.txt",CODE
HIGH⚡tests/test_bash_policy_composition.py178 "echo 'ls' > x.sh && bash x.sh",CODE
HIGH⚡tests/test_bash_policy_composition.py248 "git add r.md && git commit -m 'add halt policy doc'",CODE
HIGH⚡tests/test_bash_policy_composition.py253 "ls -la /workspace && wc -l /workspace/r.md",CODE
HIGH⚡tests/test_bash_policy_composition.py254 "mkdir -p /outputs && cp /workspace/r.md /outputs/",CODE
HIGH⚡tests/test_bash_policy_composition.py255 "cd /workspace && zip r.zip r.md",CODE
HIGHworkflows/agent_team/prompts.py634`curl -o page.html && grep -oE 'href=...'` — is the anti-pattern this rule \CODE
HIGHapodex/userenv.py298 # host selected (or intentionally skipped with APODEX_ENV_FILE=/dev/null).COMMENT
HIGH⚡apodex/permissions.py276 """A reusable prefix for a bash command (``cd /app && npm test`` → ``npm test``)."""STRING
HIGHapodex/clipboard.py64 if (url && url.isFileURL) paths.push(unwrap(url.path));CODE
HIGHapodex/clipboard.py64 if (url && url.isFileURL) paths.push(unwrap(url.path));CODE
HIGHapodex/clipboard.py76 if (!data || data.length === 0) continue;CODE
HIGH⚡apodex/tests/test_features.py158 "cat README.md", "git status", "git diff", "pwd && ls"):CODE
HIGH⚡apodex/tests/test_features.py197 assert is_read_only_bash("ls -la && cat x")CODE
HIGH⚡apodex/tests/test_features.py1327 assert s.allows("bash", {"command": "cd /workspace && npm test --watch"}) # helper cd ignoredCODE
HIGH⚡apodex/tests/test_features.py1329 assert not s.allows("bash", {"command": "npm test && rm -rf x"}) # compound: rm -rf not allowedCODE
HIGH⚡apodex/tests/test_features.py1333 assert rule_for("bash", {"command": "cd /workspace && git push origin main"}) == "Bash(git push)"CODE
HIGH⚡apodex/tests/test_features.py1409 "bash", {"command": "git status && git push origin main"}CODE
HIGH⚡apodex/tests/test_features.py1422 assert rules.allows("bash", {"command": "echo hi && python -V"}) # a plain helper is still skippedCODE
HIGHbenchmarks/public/judges/widesearch.py462 if gt_sorted.equals(pred_sorted):CODE
HIGH⚡…ch_bench/eval/verifiable/scorers/pipeline/alignment.py226 "final_canonical_id": "<id>" 或 null,CODE
HIGH⚡…ch_bench/eval/verifiable/scorers/pipeline/alignment.py465 return "fast" # unanimous null, kw also null → acceptCODE
20 more matches not shown…
Excessive Try-Catch Wrapping422 hits · 397 pts
SeverityFileLineSnippetContext
LOWtools/check_lazy_exports.py68 except Exception as e:CODE
LOWtools/check_lazy_exports.py75 except Exception as e:CODE
LOWtools/import_smoke.py96 except Exception:CODE
LOWtools/preflight.py80 except Exception as e:CODE
LOWtools/preflight.py116 except Exception as e:CODE
LOWtools/preflight.py123 except Exception as e:CODE
LOWdocker/smoke_sglang.py108 except Exception as exc:CODE
LOWdocker/gpu-entrypoint.sh184 except Exception:CODE
LOWplugins/tools/_writer_core.py122 except Exception:CODE
LOWplugins/tools/_writer_core.py143 except Exception as e:CODE
LOWplugins/tools/_writer_core.py280 except Exception:CODE
LOWplugins/tools/_writer_core.py333 except Exception:CODE
LOWplugins/tools/_writer_core.py345 except Exception:CODE
LOWplugins/tools/_writer_core.py383 except Exception:CODE
LOWplugins/tools/_writer_core.py547 except Exception as e:CODE
LOWplugins/tools/file_editor.py78 except Exception as e:CODE
LOWplugins/tools/file_editor.py124 except Exception as e:CODE
LOWplugins/tools/file_editor.py154 except Exception as e:CODE
LOWplugins/tools/file_editor.py182 except Exception as e:CODE
LOWplugins/tools/file_editor.py213 except Exception as e:CODE
LOWplugins/tools/file_editor.py229 except Exception as e:CODE
LOWplugins/tools/file_editor.py273 except Exception as e:CODE
LOWplugins/tools/_download_runner.py675 except Exception as exc:CODE
MEDIUMplugins/tools/_reader_pptx.py14def _run_color(run) -> str:CODE
MEDIUMplugins/tools/_reader_pptx.py366def _shape_text(shape) -> str:CODE
LOW⚡plugins/tools/_reader_pptx.py159 except Exception:CODE
LOW⚡plugins/tools/_reader_pptx.py165 except Exception:CODE
LOW⚡plugins/tools/_reader_pptx.py175 except Exception:CODE
LOW⚡plugins/tools/_reader_pptx.py383 except Exception:CODE
LOW⚡plugins/tools/_reader_pptx.py392 except Exception as e:CODE
LOW⚡plugins/tools/_reader_pptx.py396 except Exception:CODE
LOW⚡plugins/tools/_reader_pptx.py406 except Exception:CODE
LOWplugins/tools/_reader_pptx.py19 except Exception:CODE
LOWplugins/tools/_reader_pptx.py30 except Exception:CODE
LOWplugins/tools/_reader_pptx.py65 except Exception:CODE
LOWplugins/tools/_reader_pptx.py91 except Exception:CODE
LOWplugins/tools/_reader_pptx.py110 except Exception:CODE
LOWplugins/tools/_reader_pptx.py130 except Exception:CODE
LOWplugins/tools/_reader_pptx.py140 except Exception:CODE
LOWplugins/tools/_reader_pptx.py194 except Exception:CODE
LOWplugins/tools/_reader_pptx.py280 except Exception:CODE
LOWplugins/tools/_reader_pptx.py282 except Exception:CODE
LOWplugins/tools/_reader_pptx.py301 except Exception:CODE
LOWplugins/tools/_reader_pptx.py312 except Exception:CODE
LOWplugins/tools/_reader_pptx.py329 except Exception as e:CODE
LOWplugins/tools/_reader_pptx.py343 except Exception:CODE
LOWplugins/tools/_reader_pptx.py362 except Exception:CODE
LOWplugins/tools/_reader_pptx.py369 except Exception:CODE
LOWplugins/tools/_reader_pptx.py475 except Exception:CODE
LOWplugins/tools/_reader_pptx.py554 except Exception:CODE
LOWplugins/tools/_reader_pptx.py572 except Exception as e:CODE
LOWplugins/tools/_academic_fetch.py168 except Exception as exc:CODE
LOWplugins/tools/_academic_fetch.py181 except Exception as exc:CODE
LOWplugins/tools/_academic_fetch.py217 except Exception as exc:CODE
LOWplugins/tools/_academic_fetch.py225 except Exception:CODE
LOWplugins/tools/_academic_fetch.py251 except Exception as exc:CODE
LOWplugins/tools/_academic_fetch.py259 except Exception:CODE
LOWplugins/tools/_academic_fetch.py287 except Exception as exc:CODE
LOWplugins/tools/_academic_fetch.py295 except Exception:CODE
LOWplugins/tools/_path_auth.py288 except Exception:CODE
362 more matches not shown…
Modern Structural Boilerplate215 hits · 213 pts
SeverityFileLineSnippetContext
LOWplugins/tools/file_editor.py19logger = logging.getLogger(__name__)CODE
LOWplugins/tools/_academic_fetch.py13logger = logging.getLogger(__name__)CODE
LOWplugins/tools/_bus_scope.py33__all__ = ["SWARM_SCOPE_KEY", "resolve_bus_task_id", "resolve_root_task_id"]CODE
LOWplugins/tools/_path_auth.py13logger = logging.getLogger(__name__)CODE
LOWplugins/tools/recover_result.py37logger = logging.getLogger(__name__)CODE
LOWplugins/tools/recover_result.py215__all__ = ["recover_result"]CODE
LOWplugins/tools/task_board.py23logger = logging.getLogger(__name__)CODE
LOWplugins/tools/task_board.py480__all__ = [CODE
LOWplugins/tools/stop_subagent.py15logger = logging.getLogger(__name__)CODE
LOWplugins/tools/stop_subagent.py119__all__ = ["stop_subagent"]CODE
LOWplugins/tools/_parallel_search.py19logger = logging.getLogger(__name__)CODE
LOWplugins/tools/_parallel_search.py348__all__ = ["parallel_search_batch", "selected_search_provider", "valid_search_provider"]CODE
LOWplugins/tools/web_fetch.py44logger = logging.getLogger(__name__)CODE
LOWplugins/tools/_net_guard.py174__all__ = [STRING
LOWplugins/tools/_overflow.py18logger = logging.getLogger(__name__)CODE
LOWplugins/tools/grep_search.py12logger = logging.getLogger(__name__)CODE
LOWplugins/tools/web_fetch_aligned.py44logger = logging.getLogger(__name__)CODE
LOWplugins/tools/web_fetch_aligned.py768__all__ = ["web_fetch_aligned"]CODE
LOWplugins/tools/web_search_aligned.py34logger = logging.getLogger(__name__)CODE
LOWplugins/tools/web_search_aligned.py362__all__ = ["web_search_aligned"]CODE
LOWplugins/tools/bash.py21logger = logging.getLogger(__name__)CODE
LOWplugins/tools/bash.py39__all__ = ["BASH_STDERR_SEPARATOR", "BashCommandAssessment", "assess_bash_command", "bash"]CODE
LOWplugins/tools/_bash_policy.py22logger = logging.getLogger(__name__)CODE
LOWplugins/tools/_exec_cgroup.py13logger = logging.getLogger(__name__)CODE
LOWplugins/tools/view_image.py15logger = logging.getLogger(__name__)CODE
LOWplugins/tools/__init__.py32logger = logging.getLogger(__name__)CODE
LOWplugins/tools/__init__.py105__all__ = [CODE
LOWplugins/tools/_bounded_fetch.py269__all__ = [CODE
LOWplugins/tools/_coerce.py48__all__ = ["coerce_json_list", "coerce_json_object"]CODE
LOWplugins/tools/create_subagent.py19logger = logging.getLogger(__name__)CODE
LOWplugins/tools/create_subagent.py616__all__ = ["create_subagent"]CODE
LOWplugins/tools/create_file.py27logger = logging.getLogger(__name__)CODE
LOWplugins/tools/_filesystem_state.py50logger = logging.getLogger(__name__)CODE
LOWplugins/tools/_filesystem_state.py52__all__ = [CODE
LOWplugins/tools/_sandbox.py45logger = logging.getLogger(__name__)CODE
LOWplugins/tools/assign_task.py48logger = logging.getLogger(__name__)CODE
LOWplugins/tools/assign_task.py971__all__ = [CODE
LOWplugins/tools/_render_check.py217__all__ = ["MIN_RENDERED_BODY_CHARS", "reader_body", "unrendered_kind"]CODE
LOWplugins/tools/finalize_answer.py13logger = logging.getLogger(__name__)CODE
LOWplugins/tools/read_file.py21logger = logging.getLogger(__name__)CODE
LOWplugins/tools/collect_reports.py31logger = logging.getLogger(__name__)CODE
LOWplugins/tools/collect_reports.py399__all__ = ["collect_reports"]CODE
LOWplugins/tools/web_search.py24logger = logging.getLogger(__name__)CODE
LOWplugins/tools/submit_report.py9logger = logging.getLogger(__name__)CODE
LOWplugins/tools/run_python_code.py24logger = logging.getLogger(__name__)CODE
LOWplugins/tools/write_file.py26logger = logging.getLogger(__name__)CODE
LOWplugins/tools/download_file.py18logger = logging.getLogger(__name__)CODE
LOWplugins/tools/download_file.py140__all__ = ["download_file"]CODE
LOWplugins/tools/glob_search.py11logger = logging.getLogger(__name__)CODE
LOWplugins/tools/read_text.py31logger = logging.getLogger(__name__)CODE
LOWdeploy/huggingface/sessions.py191__all__ = [CODE
LOWdeploy/huggingface/config.py700__all__ = [CODE
LOWdeploy/huggingface/events.py89__all__ = [CODE
LOWdeploy/huggingface/adapter.py84logger = logging.getLogger(__name__)CODE
LOWdeploy/huggingface/adapter.py1015__all__ = [CODE
LOWdeploy/huggingface/mock_llm.py423__all__ = [CODE
LOWdeploy/huggingface/security.py33logger = logging.getLogger(__name__)CODE
LOWdeploy/huggingface/security.py399__all__ = [CODE
LOWdeploy/huggingface/app.py63logger = logging.getLogger(__name__)CODE
LOWdeploy/huggingface/errors.py251__all__ = [CODE
155 more matches not shown…
Deep Nesting206 hits · 168 pts
SeverityFileLineSnippetContext
LOWtools/check_symbols.py57CODE
LOWtools/check_symbols.py83CODE
LOWtools/check_symbols.py142CODE
LOWplugins/tools/_writer_core.py45CODE
LOWplugins/tools/_writer_core.py86CODE
LOWplugins/tools/_writer_core.py263CODE
LOWplugins/tools/_writer_core.py349CODE
LOWplugins/tools/_writer_core.py492CODE
LOWplugins/tools/file_editor.py32CODE
LOWplugins/tools/_download_runner.py500CODE
LOWplugins/tools/_reader_pptx.py80CODE
LOWplugins/tools/_reader_pptx.py199CODE
LOWplugins/tools/_reader_pptx.py267CODE
LOWplugins/tools/_reader_pptx.py287CODE
LOWplugins/tools/_reader_pptx.py410CODE
LOWplugins/tools/_reader_pptx.py524CODE
LOWplugins/tools/_academic_fetch.py157CODE
LOWplugins/tools/_academic_fetch.py200CODE
LOWplugins/tools/_path_auth.py216CODE
LOWplugins/tools/recover_result.py82CODE
LOWplugins/tools/task_board.py218CODE
LOWplugins/tools/task_board.py379CODE
LOWplugins/tools/_parallel_search.py120CODE
LOWplugins/tools/grep_search.py18CODE
LOWplugins/tools/web_fetch_aligned.py227CODE
LOWplugins/tools/_reader_xlsx.py256CODE
LOWplugins/tools/_reader_xlsx.py320CODE
LOWplugins/tools/_reader_xlsx.py362CODE
LOWplugins/tools/_reader_xlsx.py389CODE
LOWplugins/tools/_reader_xlsx.py427CODE
LOWplugins/tools/_reader_xlsx.py565CODE
LOWplugins/tools/_reader_xlsx.py628CODE
LOWplugins/tools/_reader_xlsx.py659CODE
LOWplugins/tools/web_search_aligned.py73CODE
LOWplugins/tools/web_search_aligned.py252CODE
LOWplugins/tools/_bash_policy.py364CODE
LOWplugins/tools/_bash_policy.py504CODE
LOWplugins/tools/_bash_policy.py756CODE
LOWplugins/tools/_bash_policy.py1026CODE
LOWplugins/tools/_bash_policy.py1046CODE
LOWplugins/tools/_bash_policy.py1140CODE
LOWplugins/tools/_bash_policy.py1377CODE
LOWplugins/tools/_bash_policy.py1457CODE
LOWplugins/tools/_bash_policy.py1599CODE
LOWplugins/tools/_bash_policy.py1653CODE
LOWplugins/tools/_bash_policy.py1678CODE
LOWplugins/tools/_bash_policy.py1788CODE
LOWplugins/tools/_bash_policy.py1840CODE
LOWplugins/tools/_bash_policy.py2100CODE
LOWplugins/tools/_bash_policy.py2136CODE
LOWplugins/tools/_bash_policy.py2414CODE
LOWplugins/tools/_bash_policy.py2558CODE
LOWplugins/tools/_bash_policy.py2705CODE
LOWplugins/tools/_writer_docx.py262CODE
LOWplugins/tools/_writer_docx.py334CODE
LOWplugins/tools/_writer_pptx.py136CODE
LOWplugins/tools/_writer_pptx.py247CODE
LOWplugins/tools/_reader_core.py191CODE
LOWplugins/tools/_reader_core.py705CODE
LOWplugins/tools/_reader_core.py220CODE
146 more matches not shown…
AI Slop Vocabulary51 hits · 137 pts
SeverityFileLineSnippetContext
MEDIUMcompose.yaml12 # A missing agent-tool account would expose the harness environment toCOMMENT
MEDIUMcompose.yaml38 # The harness receives .env through env_file above. Hide the on-diskCOMMENT
MEDIUMcompose.yaml59 # harness container, so it retains the nested bubblewrap backend.COMMENT
MEDIUMdocker/entrypoint.sh8 # Only a root harness can remap the deliberately unprivileged tool account.COMMENT
MEDIUMplugins/tools/_bash_policy.py133# cheap first screen; the argv analysis below is the robust complement.COMMENT
MEDIUM⚡plugins/tools/view_image.py171 # ALWAYS read through the sandbox — never from the harness process.COMMENT
MEDIUM⚡plugins/tools/view_image.py179 # the read still runs as the harness uid, which in container mode isCOMMENT
MEDIUM⚡plugins/tools/view_image.py181 # narrowly avoided is not to read as the harness at all.COMMENT
MEDIUMplugins/tools/_writer_docx.py230 # The simple robust approach: rewrite the whole paragraph into its first run and clear the rest (paragraph-level forCOMMENT
MEDIUM⚡plugins/tools/_deliverable_policy.py1006# harness at 0755 so a *different* tool uid cannot write it — but that uid isCOMMENT
MEDIUM⚡plugins/tools/_deliverable_policy.py1007# best-effort: with no tool account, or a non-root harness, ``CurrentSandbox``COMMENT
MEDIUM⚡plugins/tools/_deliverable_policy.py1008# warns and runs model commands with the harness's own uid, and then this gate isCOMMENT
MEDIUMplugins/tools/_filesystem_state.py70#: spellings the harness sees. ``bwrap`` is absent: its canonicalCOMMENT
MEDIUM⚡plugins/tools/_sandbox.py173# container mode the model's bash/python shares the harness's PID namespace, soCOMMENT
MEDIUM⚡plugins/tools/_sandbox.py174# ``cat /proc/<harness-pid>/environ`` reads the real provider credentialsCOMMENT
MEDIUM⚡plugins/tools/_sandbox.py187# ``service``: a shared worker running someone else's task. Now the harnessCOMMENT
MEDIUM⚡plugins/tools/_sandbox.py3063 # write becomes a hard error. The harness process already has the mountCOMMENT
MEDIUM⚡plugins/tools/_sandbox.py3067 # This branch is an ordinary ``open()`` in the harness process — as root, inCOMMENT
MEDIUMplugins/tools/_sandbox.py120# Build the child environment from zero instead. The harness process keeps itsCOMMENT
MEDIUMplugins/tools/_sandbox.py209# writable venv lets the model plant code the harness itself later imports), andCOMMENT
MEDIUMplugins/tools/_sandbox.py234# directory was per-task HOME. No privilege gain — same uid, and the harnessCOMMENT
MEDIUMplugins/tools/_sandbox.py390 # Do not inherit the harness's TMPDIR: it may name a root-only directoryCOMMENT
MEDIUMplugins/tools/_sandbox.py404 # the harness environment cannot point a command at a previous session'sCOMMENT
MEDIUMplugins/tools/_sandbox.py522# harness's own children. Only what this backend started is eligible.COMMENT
MEDIUMplugins/tools/_sandbox.py886# the harness venv lives under ``/usr`` (``/usr/local/...`` on the musl images),COMMENT
MEDIUMplugins/tools/_sandbox.py957 # in-harness, not here, so the agent's search tools are unaffected). This isCOMMENT
MEDIUMplugins/tools/_sandbox.py989 # credentials out of the harness process. There, the fresh procfs is theCOMMENT
MEDIUMplugins/tools/_sandbox.py1656 # failure is silenced): the harness is root, so containment doesCOMMENT
MEDIUMplugins/tools/_sandbox.py1892# harness environment. A child running under that uid owns its ownCOMMENT
MEDIUMplugins/tools/_sandbox.py1896# probe needs anything from the harness env: one runs `ls` through /bin/sh, theCOMMENT
MEDIUMplugins/tools/_sandbox.py2294# unprivileged uid so they cannot read the harness's /proc/<pid>/environ:COMMENT
MEDIUMplugins/tools/_sandbox.py2389 # model runs as a DIFFERENT uid than the harness and has to read theseCOMMENT
MEDIUMplugins/tools/read_file.py265 # The parser is trusted harness infrastructure: allow_net opens networking so it canCOMMENT
MEDIUMplugins/tools/_writer_xlsx.py429 # Absolute references ($) are more robust; if the user did not supply $, use it as givenCOMMENT
MEDIUMdeploy/huggingface/app.py137 # ``generated`` marks the harness's own fallback file. Calling thatCOMMENT
MEDIUMtests/test_long_run_compaction.py931 """Resolving a directory in order to delete it must not first mkdir it."""STRING
MEDIUM⚡tests/test_bash_policy_relocated_mounts.py214 # file; ``rm -rf build`` stays allowed even if the harness cwd has aCOMMENT
MEDIUMworkflows/agent_team/prompts.py186# harness injection — the harness only supplies the ground truth.COMMENT
MEDIUMworkflows/agent_team/nodes/main_agent.py1264 # /inputs is an external bind-mount; the harness never populates it.COMMENT
MEDIUMworkflows/agent_team/nodes/main_agent.py1648 # paranoid double-check that the harness never writes leakedCOMMENT
MEDIUMworkflows/agent_team/observers/unassigned_nudge.py39 # naturally; (b) the agent DID call assign_task but the harnessCOMMENT
MEDIUMworkflows/stateful_react_agent/nodes/main_agent.py869 # harness never populates it. Log what actually landed there so aCOMMENT
MEDIUMapodex/middleware.py4# Skills live in the harness repo (plugins/skills/), not the user's cwd theCOMMENT
MEDIUMapodex/tests/test_features.py376 # If we got here without an exception, rendering is robust across themes.COMMENT
MEDIUMapodex/tests/test_deployment_config.py45 # Compose injects these files into the harness environment, but theCOMMENT
MEDIUM⚡apodex/tests/test_deployment_config.py292 # The mounts include the host checkout itself, so the harness may only addCOMMENT
MEDIUM⚡benchmarks/public/judges/reward.py364 """Score the answer using robust fuzzy matching."""STRING
MEDIUM…_bench/eval/verifiable/scorers/query_28/auto_scorer.py155 # ─── ⚠️ 边界 (0 分): 学界叙事中常被算含水但 JWST 数据未 robust 检测 ───COMMENT
MEDIUMbenchmarks/frontierchallenge/pyproject.toml23# The harness. Pinned: task files declare schema_version 1.1 and everyCOMMENT
MEDIUMbenchmarks/frontierchallenge/scripts/run_eval.sh5# GitHub carries the harness and immutable registry; task payloads come from HF.COMMENT
MEDIUMscripts/run-truncation-ab.sh23# something else with the same harness (e.g. the per-tool cap:COMMENT
Over-Commented Block120 hits · 100 pts
SeverityFileLineSnippetContext
LOWpyproject.toml101# PEP 561 marker, shipped for frontier_agent only. That package is the frameworkCOMMENT
LOWtools/freeze_golden.sh1#!/usr/bin/env bashCOMMENT
LOWconfig/providers.yaml1# LLM Provider RegistryCOMMENT
LOWconfig/providers.yaml21#COMMENT
LOWplugins/tools/_path_auth.py41_BLOCKED_NAME_WORDS = frozenset({COMMENT
LOWplugins/tools/_path_auth.py161 # in that tree is a write target. Everywhere else (and for every write)COMMENT
LOWplugins/tools/_path_auth.py361 # ``plugins/skills/`` and ``data/`` are service resources, and theCOMMENT
LOWplugins/tools/task_board.py141# ── Planning Mode (two-phase state machine) ─────────────────────────────────COMMENT
LOWplugins/tools/web_fetch.py41)COMMENT
LOWplugins/tools/_overflow.py21# of created stores — so nothing here writes, reads or deletes spill files byCOMMENT
LOWplugins/tools/_reader_xlsx.py1COMMENT
LOWplugins/tools/_bash_policy.py841 "sha1sum", "sha224sum", "sha256sum", "sha384sum", "sha512sum", "md5sum",COMMENT
LOWplugins/tools/_bash_policy.py881COMMENT
LOWplugins/tools/_bash_policy.py2061# Commands that treat their quoted arguments, heredoc bodies and stdin as data.COMMENT
LOWplugins/tools/_bash_policy.py2741 if mode == "enforce":COMMENT
LOWplugins/tools/_bash_policy.py2821 continueCOMMENT
LOWplugins/tools/view_image.py161 ]COMMENT
LOWplugins/tools/create_subagent.py281 # task-level constants — identical for every sub-agent of one task — soCOMMENT
LOWplugins/tools/create_subagent.py401 # Native clients carry no langchain ``Runnable.bind``; bind theCOMMENT
LOWplugins/tools/_writer_docx.py1COMMENT
LOWplugins/tools/_writer_pptx.py1COMMENT
LOWplugins/tools/create_file.py501 else:COMMENT
LOWplugins/tools/_deliverable_policy.py121})COMMENT
LOWplugins/tools/_deliverable_policy.py141 "pdftocairo": False, # mode-dependent, see _PDFTOCAIRO_PREFIX_FLAGSCOMMENT
LOWplugins/tools/_deliverable_policy.py161# that displaced the real output operand, and the only way to know ``-r``COMMENT
LOWplugins/tools/_deliverable_policy.py381def reset_deliverable_write_paths(token: contextvars.Token) -> None:COMMENT
LOWplugins/tools/_deliverable_policy.py1361 for target in targets:COMMENT
LOWplugins/tools/_deliverable_policy.py1381# conflict and say who owns it. Detection is advisory only: a miss yields theCOMMENT
LOWplugins/tools/_sandbox.py101COMMENT
LOWplugins/tools/_sandbox.py141 "MATPLOTLIBRC",COMMENT
LOWplugins/tools/_sandbox.py161 # proxy) wherever model commands run.COMMENT
LOWplugins/tools/_sandbox.py181#COMMENT
LOWplugins/tools/_sandbox.py201 raw = (os.environ.get(_SANDBOX_PROFILE_ENV) or "").strip().lower()COMMENT
LOWplugins/tools/_sandbox.py221# ``PIP_TARGET`` is ``pip install --target``, which resolves against the targetCOMMENT
LOWplugins/tools/_sandbox.py381 """COMMENT
LOWplugins/tools/_sandbox.py961 # ``_bwrap_base_args`` feeds ``bwrap_available()``'s probe, so a rejectedCOMMENT
LOWplugins/tools/_sandbox.py981 if overlay:COMMENT
LOWplugins/tools/_sandbox.py1661 _register_exec(pgid, command, cgroup=cg)COMMENT
LOWplugins/tools/_sandbox.py1721 finally:COMMENT
LOWplugins/tools/_sandbox.py1741 # grandchild that left the process group (setsid /COMMENT
LOWplugins/tools/_sandbox.py2381 explicit = os.environ.get(_SPILL_DIR_ENV, "").strip()COMMENT
LOWplugins/tools/_sandbox.py2541 return normalized_rootCOMMENT
LOWplugins/tools/_sandbox.py2841 "sandbox_backend=e2b requires E2B_API_KEY; refusing to execute "COMMENT
LOWplugins/tools/_sandbox.py3061 # (128 KB), so routing deliverables through it fails with E2BIG somewhereCOMMENT
LOWplugins/tools/assign_task.py401 bus = registry.get(AgentBus)COMMENT
LOWplugins/tools/assign_task.py641 previous_manifest = tuple(COMMENT
LOWplugins/tools/collect_reports.py41# should register its own observer here rather than widening this interval —COMMENT
LOWplugins/tools/_writer_xlsx.py1COMMENT
LOWplugins/tools/run_python_code.py401 # Count one E2B execution (lifetime is metered at theCOMMENT
LOWplugins/tools/_reader_pdf.py1COMMENT
LOWplugins/tools/_scrape_cache.py101# Module-level singleton. Callers should import this directly.COMMENT
LOWplugins/tools/meta.py41 result_is_ranked: bool = FalseCOMMENT
LOWdeploy/huggingface/config.py21SUPPORTED_WORKFLOWS: tuple[str, ...] = ("react",)COMMENT
LOWdeploy/huggingface/publish.sh1#!/usr/bin/env bashCOMMENT
LOWtests/test_tool_result_truncation.py441COMMENT
LOWworkflows/agent_team/report_fast_guard.py21# sentinels, so the two masking passes can never collide when nested.COMMENT
LOWworkflows/agent_team/subagent_runtime.py201# Some text-mode models under long-context fatigue may emit tool calls as rawCOMMENT
LOWworkflows/agent_team/subagent_runtime.py521 # because a sub-agent works one narrow sub-question.COMMENT
LOWworkflows/agent_team/subagent_runtime.py541 # ``<workflow_id>__sub_<session>.json`` next to the existingCOMMENT
LOWworkflows/agent_team/subagent_runtime.py561 sub_agent_tool_names: list[str] | None = NoneCOMMENT
60 more matches not shown…
Cross-File Repetition17 hits · 85 pts
SeverityFileLineSnippetContext
HIGH…_bench/eval/verifiable/scorers/query_06/auto_scorer.py0convert dims into baseline spec consumed by pipeline.alignment.STRING
HIGH…_bench/eval/verifiable/scorers/query_12/auto_scorer.py0convert dims into baseline spec consumed by pipeline.alignment.STRING
HIGH…_bench/eval/verifiable/scorers/query_33/auto_scorer.py0convert dims into baseline spec consumed by pipeline.alignment.STRING
HIGH…_bench/eval/verifiable/scorers/query_28/auto_scorer.py0convert dims into baseline spec consumed by pipeline.alignment.STRING
HIGH…_bench/eval/verifiable/scorers/query_11/auto_scorer.py0convert dims into baseline spec consumed by pipeline.alignment.STRING
HIGH…_bench/eval/verifiable/scorers/query_18/auto_scorer.py0convert dims into baseline spec consumed by pipeline.alignment.STRING
HIGH…_bench/eval/verifiable/scorers/query_39/auto_scorer.py0convert dims into baseline spec consumed by pipeline.alignment.STRING
HIGH…_bench/eval/verifiable/scorers/query_06/auto_scorer.py0reload alignment.json from disk when --skip-align is set.STRING
HIGH…_bench/eval/verifiable/scorers/query_13/auto_scorer.py0reload alignment.json from disk when --skip-align is set.STRING
HIGH…_bench/eval/verifiable/scorers/query_12/auto_scorer.py0reload alignment.json from disk when --skip-align is set.STRING
HIGH…_bench/eval/verifiable/scorers/query_11/auto_scorer.py0reload alignment.json from disk when --skip-align is set.STRING
HIGH…_bench/eval/verifiable/scorers/query_18/auto_scorer.py0reload alignment.json from disk when --skip-align is set.STRING
HIGH…_bench/eval/verifiable/scorers/query_08/auto_scorer.py0read each model's `{dir}/{model}/extraction.json` and return the raw `entities[0].canonical.value` list.STRING
HIGH…_bench/eval/verifiable/scorers/query_13/auto_scorer.py0read each model's `{dir}/{model}/extraction.json` and return the raw `entities[0].canonical.value` list.STRING
HIGH…_bench/eval/verifiable/scorers/query_12/auto_scorer.py0read each model's `{dir}/{model}/extraction.json` and return the raw `entities[0].canonical.value` list.STRING
HIGH…_bench/eval/verifiable/scorers/query_11/auto_scorer.py0read each model's `{dir}/{model}/extraction.json` and return the raw `entities[0].canonical.value` list.STRING
HIGH…_bench/eval/verifiable/scorers/query_18/auto_scorer.py0read each model's `{dir}/{model}/extraction.json` and return the raw `entities[0].canonical.value` list.STRING
Modern AI Meta-Vocabulary27 hits · 82 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md24 <b><a href="https://www.apodex.com/blog/apodex-1.1-scaling-agentic-intelligence-for-complex-work">Tech Blog</a></b> ·CODE
MEDIUMdeploy/huggingface/config.py360 # Runaway guardrails. The profile arms these for a TUI sessionCOMMENT
MEDIUMdeploy/huggingface/security.py60 # Sub-agent orchestration: out of P0 scope and multiplies model spend.COMMENT
MEDIUM⚡tests/test_runaway_and_repetition_wiring.py51# ── Reasoning-runaway guardrails are configured, not just supported ──COMMENT
MEDIUM⚡workflows/agent_team/prompts.py845# Max-effort orchestration policy — injected (before the trailing tag) onlyCOMMENT
MEDIUMworkflows/agent_team/README.md30## Loop guardrailsCOMMENT
MEDIUMworkflows/agent_team/profiles/simple.yaml42 # the context window.COMMENT
MEDIUMworkflows/agent_team/profiles/benchmark.yaml59 # Reasoning-runaway guardrails. Abort a streamed reply that is still onlyCOMMENT
MEDIUMworkflows/agent_team/profiles/benchmark.yaml91 # Hard input guard. Keep it below the endpoint context window minus the outputCOMMENT
MEDIUMworkflows/agent_team/profiles/tui.yaml46 # Reasoning-runaway guardrails. Abort a streamed reply that is still onlyCOMMENT
MEDIUMworkflows/stateful_react_agent/README.md25## Loop guardrailsCOMMENT
MEDIUMworkflows/stateful_react_agent/nodes/main_agent.py660 # left the estimate above max_len*0.6. ``max_len`` = model context window.COMMENT
MEDIUMworkflows/stateful_react_agent/nodes/main_agent.py684 # task-board / sandbox-FS prompt scaffolding, which are meaningless withoutCOMMENT
MEDIUMworkflows/stateful_react_agent/profiles/simple.yaml35 # the context window.COMMENT
MEDIUMworkflows/stateful_react_agent/profiles/tui.yaml31 # Reasoning-runaway guardrails. Abort a streamed reply that is still onlyCOMMENT
MEDIUMworkflows/_shared/cited_report_finalizer.py222 # release") in ``source_url`` when the LLM hallucinates a citationCOMMENT
MEDIUMapodex/config.py42 # Model context window (tokens) — drives the context-fill indicator and theCOMMENT
MEDIUMapodex/render.py164 # Agent Team orchestration.COMMENT
MEDIUM⚡apodex/tests/test_features.py1690 assert "one" in out and "TARGET" in out and "three" in out # context window shownCODE
MEDIUMapodex/profiles/agent_team.yaml18# ``profile.tools()``; the coordinator's orchestration tools and itsCOMMENT
MEDIUM…_bench/eval/verifiable/scorers/query_06/auto_scorer.py534 # null_resolution marked this as verified hallucination → -1COMMENT
MEDIUM…_bench/eval/verifiable/scorers/query_22/auto_scorer.py624 # closed (1 drug). resolutions can still mark hallucination for unalignedCOMMENT
MEDIUM…_bench/eval/verifiable/scorers/query_10/auto_scorer.py204 # null_resolution marked this as verified hallucination → -1 penaltyCOMMENT
MEDIUM…_bench/eval/verifiable/scorers/query_28/auto_scorer.py875 # No match, no Stage C verdict — treat as hallucinationCOMMENT
MEDIUMscripts/run-truncation-ab.sh5# TOOL_RESULT_TRUNCATION. The context window and the per-tool cap are shrunk onCOMMENT
MEDIUMscripts/run-truncation-ab.sh26# is only meaningful relative to the context window it competes with.COMMENT
MEDIUMfrontier_agent/core/runtime/loop/tool_exec.py96# Fan-in / orchestration tools whose results carry a sub-agent's actualCOMMENT
Verbosity Indicators10 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡workflows/agent_team/prompts.py293### Step 1: Understand, then decompose (think first)COMMENT
LOW⚡workflows/agent_team/prompts.py386### Step 5: Verify the DraftCOMMENT
LOW⚡workflows/agent_team/prompts.py390### Step 6: Revise & SubmitCOMMENT
LOWworkflows/agent_team/prompts.py324### Step 2: Create & Assign AgentsCOMMENT
LOWworkflows/agent_team/prompts.py335### Step 3: Review Reports & Fill GapsCOMMENT
LOWworkflows/agent_team/prompts.py348### Step 4: Synthesize Draft Answer — verbatim mergeCOMMENT
LOW⚡…ch_bench/eval/verifiable/scorers/pipeline/alignment.py503 # Step 2: programmatic checksCOMMENT
LOW⚡…ch_bench/eval/verifiable/scorers/pipeline/alignment.py511 # Step 3: fast/slow routingCOMMENT
LOW…ch_bench/eval/verifiable/scorers/pipeline/alignment.py490 # Step 1: parallel aligner votesCOMMENT
LOW…ch_bench/eval/verifiable/scorers/pipeline/alignment.py528 # Step 4: consolidate final answerCOMMENT
Structural Annotation Overuse10 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡workflows/agent_team/prompts.py293### Step 1: Understand, then decompose (think first)COMMENT
LOW⚡workflows/agent_team/prompts.py386### Step 5: Verify the DraftCOMMENT
LOW⚡workflows/agent_team/prompts.py390### Step 6: Revise & SubmitCOMMENT
LOWworkflows/agent_team/prompts.py324### Step 2: Create & Assign AgentsCOMMENT
LOWworkflows/agent_team/prompts.py335### Step 3: Review Reports & Fill GapsCOMMENT
LOWworkflows/agent_team/prompts.py348### Step 4: Synthesize Draft Answer — verbatim mergeCOMMENT
LOW⚡…ch_bench/eval/verifiable/scorers/pipeline/alignment.py503 # Step 2: programmatic checksCOMMENT
LOW⚡…ch_bench/eval/verifiable/scorers/pipeline/alignment.py511 # Step 3: fast/slow routingCOMMENT
LOW…ch_bench/eval/verifiable/scorers/pipeline/alignment.py490 # Step 1: parallel aligner votesCOMMENT
LOW…ch_bench/eval/verifiable/scorers/pipeline/alignment.py528 # Step 4: consolidate final answerCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHplugins/tools/create_file.py273Create or edit a deliverable file in the sandbox — office (docx/xlsx/pptx) OR text (txt/md/csv/tsv/json/jsonl/html/hSTRING
HIGHplugins/tools/web_search.py441Search the web for information about a topic. ``q`` accepts a single string or a list of strings. List queries STRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/install/tui-endpoint-quickstart.md49OPENAI_API_KEY=your-api-keyCODE
HIGHdocs/install/tui-endpoint-quickstart.zh-CN.md46OPENAI_API_KEY=your-api-keyCODE
Fake / Example Data5 hits · 6 pts
SeverityFileLineSnippetContext
LOWplugins/tools/_writer_pptx.py283 _set_ph(slide, args.get("placeholder", "body"), args["text"])CODE
LOWplugins/tools/_writer_pptx.py285 return f"set {args.get('placeholder', 'body')} on slide {args['slide']}"CODE
LOW⚡tests/test_hf_space_leaks.py293 with MockLLMServer(script=[text_turn("placeholder")]) as server:CODE
LOWtests/test_hf_space_leaks.py345 with MockLLMServer(script=[text_turn("placeholder")]) as server:CODE
LOWtests/test_hf_space_leaks.py367 with MockLLMServer(script=[text_turn("placeholder")]) as server:CODE
AI Structural Patterns5 hits · 4 pts
SeverityFileLineSnippetContext
LOWworkflows/stateful_react_agent/observers.py439CODE
LOWapodex/tui/screens.py523CODE
LOW…val/verifiable/scorers/pipeline/extraction_pipeline.py871CODE
LOWfrontier_agent/core/runtime/loop/_call.py16CODE
LOWfrontier_agent/core/runtime/loop/agent_loop.py94CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocker/run.sh5# Usage:COMMENT
LOWbenchmarks/frontierchallenge/scripts/run_eval.sh7# Usage:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbenchmarks/public/runner/run_one_task.py138 # Create a fresh agent wrapper pointing to this trialCOMMENT
Overly Generic Function Names3 hits · 2 pts
SeverityFileLineSnippetContext
LOWapodex/task_runner.py244 async def run_task(self, task: str) -> None:CODE
LOWapodex/tests/test_userenv.py369 async def run_task(self, task: str) -> None:CODE
LOWapodex/tests/test_tui.py110 async def run_task(self, task: str) -> None:CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWfrontier_agent/scheduling/scheduler.py119 # Check if we have a dynamically compiled versionCOMMENT