AI Slop Code RIsk Monitor

gadievron/raptor

Raptor turns Claude Code into a general-purpose AI offensive/defensive security agent. By using Claude.md and creating rules, sub-agents, and skills, and orchestrating security tool usage, we configure the agent for adversarial thinking, and perform research or attack/defense operations.

45.5 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for gadievron/raptor, a Python project with 3,886 GitHub stars. SynthScan examined 2,593,280 lines of code across 5919 source files, recording 86107 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 45.5 (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.5
Adjusted Signal
45.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.9K
Stars
Python
Language
2.6M
Lines of Code
5.9K
Files
86.1K
Pattern Hits
2026-10-12
Scan Date
0.28
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 67.6/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 14.8/100 · LOW

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

Agent Over-Engineering Ratio 86.2/100 · CRITICAL

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

PR Review Velocity Impact 90.1/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 19HIGH 1641MEDIUM 12741LOW 71706

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 86107 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Hyper-Verbose Identifiers56364 hits · 51265 pts
SeverityFileLineSnippetContext
LOWconftest.py187def _apply_platform_emulation(config):CODE
LOWconftest.py280def _ambient_git_config_escape(request):CODE
LOWconftest.py414def _raptor_logger_propagates():CODE
LOWconftest.py467def cc_spawn_machinery_enabled(monkeypatch):CODE
LOWconftest.py483def _sessions_registry_in_tmp(monkeypatch):CODE
LOWconftest.py538def _projects_registry_in_tmp(monkeypatch):CODE
LOWconftest.py632def pytest_collection_modifyitems(config, items):CODE
LOWconftest.py755def _validate_wall_budget_marker(item) -> None:CODE
LOWconftest.py784def pytest_runtest_makereport(item, call):CODE
LOWconftest.py970def _git_config_drift_summary(terminalreporter):CODE
LOWconftest.py1056def _sweep_dead_session_scratch(config) -> None:CODE
LOWraptor.py110def _extract_and_strip_max_cost_usd(args: list) -> tuple[float | None, list]:CODE
LOWraptor.py190def _extract_and_strip_project(args: list) -> tuple[str | None, list]:CODE
LOWraptor.py328def _extract_agentic_log_level(args: list) -> str | None:CODE
LOWraptor.py556def _resolve_target_for_command(command: str, args: list,CODE
LOWraptor.py1043def _announce_env_direct_downgrade(CODE
LOWraptor.py1495def _refuse_archive_analyze_target(args: list) -> str | None:CODE
LOWraptor_agentic.py118def _reanalyze_sarif_selection(CODE
LOWraptor_agentic.py158def _count_dropped_suppressions(path: Path) -> int:CODE
LOWraptor_agentic.py213def _run_validation_phase_checked(CODE
LOWraptor_agentic.py238def _fail_or_warn_missing_analysis(out_dir: Path, rc: int,CODE
LOWraptor_agentic.py266def _warn_analysis_rc_with_report(rc: int) -> None:CODE
LOWraptor_agentic.py285def _print_codeql_stderr_tail(codeql_stderr: str) -> None:CODE
LOWraptor_agentic.py310def _collect_child_pass_costs(prepass_result, postpass_result,CODE
LOWraptor_agentic.py357def _materialise_threat_model_phase(CODE
LOWraptor_agentic.py634def _write_threat_model_candidate_sarif(context_map: dict, sarif_path: Path) -> int:CODE
LOWraptor_agentic.py732def _print_threat_model_phase(summary: dict) -> None:CODE
LOWraptor_agentic.py1027def _prepare_fuzz_crashes_for_validate(CODE
LOWraptor_agentic.py1109def _candidate_replay_binaries(binary_path: Path) -> list[str]:CODE
LOWraptor_agentic.py1298def _crash_context_to_validate_finding(context, replay: list[dict] | None = None) -> dict:CODE
LOWraptor_agentic.py1337def _run_fuzz_validation_smoke(findings_path: Path, target: Path, out_dir: Path) -> dict:CODE
LOWraptor_agentic.py1473def _build_fuzz_phase_summary(fuzzing_result: dict | None, fuzz_out: Path | None) -> dict:CODE
LOWraptor_agentic.py1538def _should_run_mechanical_sca(sca_agent, deep_sca_requested: bool) -> bool:CODE
LOWraptor_agentic.py1551def _persist_redacted_sca_stderr(stderr: str, output_dir: Path) -> str:CODE
LOWraptor_agentic.py1567def _build_completion_manifest(orch_meta, import_result, import_sarif_files,CODE
LOWraptor_agentic.py1625def _build_audit_postpass_cmd(CODE
LOWraptor_agentic.py5722def _build_audit_report_section(audit_phase, validate_dir=None):CODE
LOWraptor_agentic.py5817def _estimate_review_residual(out_dir: Path) -> tuple | None:CODE
LOWraptor_agentic.py5857def _build_threat_model_report_section(summary):CODE
LOWraptor_agentic.py5900def _build_aggregation_report_section(aggregation):CODE
LOWraptor_agentic.py5960def _build_dataflow_validation_report_section(dv):CODE
LOWraptor_fuzzing.py116def _orchestrator_ignored_flags(STRING
LOWraptor_fuzzing.py151def _exploitability_from_deep_analysis(level: object) -> str | None:STRING
LOWcore/dataflow/evidence_collector.py42def collect_sanitizer_evidence(CODE
LOWcore/dataflow/evidence_collector.py99def _describe_pool_completeness(*, file_count: int, truncated: bool) -> str:CODE
LOWcore/dataflow/extension_pack.py890def rows_from_candidate_validators(CODE
LOWcore/dataflow/smt_barrier.py631def _try_charset_sub_validator(CODE
LOWcore/dataflow/smt_barrier.py738def extract_validator_from_line(CODE
LOWcore/dataflow/smt_barrier.py974def _line_in_try_body_with_catching_handler(CODE
LOWcore/dataflow/smt_barrier.py1034def _validator_block_exits_on_failure(CODE
LOWcore/dataflow/smt_barrier.py1255def _lexical_validator_in_branch(CODE
LOWcore/dataflow/smt_barrier.py1490def _variable_reassigned_between(CODE
LOWcore/dataflow/smt_barrier.py1596def _rebound_in_loop_containing_sink(CODE
LOWcore/dataflow/smt_barrier.py1767def _record_value_bound_audit(finding, result) -> None:CODE
LOWcore/dataflow/smt_barrier.py2019def _lexical_validator_dominates(CODE
LOWcore/dataflow/smt_barrier.py2143def _crosses_function_boundary(CODE
LOWcore/dataflow/smt_barrier.py2232def _is_sanitizing_binding_node(CODE
LOWcore/dataflow/smt_barrier.py2245def _class_body_escaping_bindings(CODE
LOWcore/dataflow/smt_barrier.py2295def _nested_scope_escaping_rebinds(scope_root: ast.AST) -> frozenset:CODE
LOWcore/dataflow/smt_barrier.py2332def _sanitizer_tails_for_spec_kind(kind: str) -> frozenset | None:CODE
56304 more matches not shown…
Decorative Section Separators11908 hits · 42436 pts
SeverityFileLineSnippetContext
MEDIUM⚡conftest.py1206# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡conftest.py1216# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py142# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py225# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py228# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py300# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py302# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py385# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py387# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py577# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py579# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py601# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py603# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py934# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py950# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py994# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py1019# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡raptor_agentic.py3869 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py3871 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py3987 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py3989 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4401 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4403 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4478 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4480 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4489 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4491 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4774 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4781 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4866 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py4868 # ========================================================================COMMENT
MEDIUMraptor_agentic.py1585# ============================================================================COMMENT
MEDIUMraptor_agentic.py1587# ============================================================================COMMENT
MEDIUMraptor_agentic.py4208 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4210 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4352 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4354 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4680 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4682 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4817 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4821 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4983 # ========================================================================COMMENT
MEDIUMraptor_agentic.py4985 # ========================================================================COMMENT
MEDIUM⚡raptor_agentic.py3226 # ========================================================================STRING
MEDIUM⚡raptor_agentic.py3228 # ========================================================================STRING
MEDIUM⚡raptor_agentic.py3237 # ========================================================================STRING
MEDIUM⚡raptor_agentic.py3239 # ========================================================================STRING
MEDIUM⚡raptor_agentic.py3253 # ========================================================================STRING
MEDIUM⚡raptor_agentic.py3259 # ========================================================================STRING
MEDIUM⚡raptor_agentic.py3368 # ========================================================================STRING
MEDIUM⚡raptor_agentic.py3376 # ========================================================================STRING
MEDIUMraptor_agentic.py2724 # ------------------------------------------------------------------STRING
MEDIUMraptor_agentic.py2729 # ------------------------------------------------------------------STRING
MEDIUMraptor_agentic.py3154 # ========================================================================STRING
MEDIUMraptor_agentic.py3156 # ========================================================================STRING
MEDIUM⚡raptor_fuzzing.py659 # ========================================================================STRING
MEDIUM⚡raptor_fuzzing.py661 # ========================================================================STRING
MEDIUM⚡raptor_fuzzing.py1066 # ========================================================================STRING
MEDIUM⚡raptor_fuzzing.py1068 # ========================================================================STRING
11848 more matches not shown…
Unused Imports5460 hits · 4798 pts
SeverityFileLineSnippetContext
LOWraptor.py63CODE
LOWcore/dataflow/validator.py14CODE
LOWcore/dataflow/known_safe_calls.py30CODE
LOWcore/dataflow/finding.py18CODE
LOWcore/dataflow/run_corpus.py13CODE
LOWcore/dataflow/injection_prescreen.py44CODE
LOWcore/dataflow/extension_pack.py54CODE
LOWcore/dataflow/smt_barrier.py66CODE
LOWcore/dataflow/barrier_synth.py22CODE
LOWcore/dataflow/finding_diff.py19CODE
LOWcore/dataflow/corpus_metrics.py12CODE
LOWcore/dataflow/cvefix_bridge.py24CODE
LOWcore/dataflow/sanitizer_cut_parity_report.py29CODE
LOWcore/dataflow/trust_corpus_report.py32CODE
LOWcore/dataflow/ghsa_harvester.py23CODE
LOWcore/dataflow/owasp_corpus_generator.py22CODE
LOWcore/dataflow/cvefix_corpus_generator.py34CODE
LOWcore/dataflow/cvefix_corpus_generator.py48CODE
LOWcore/dataflow/cvefix_pipeline.py18CODE
LOWcore/dataflow/__init__.py14CODE
LOWcore/dataflow/__init__.py14CODE
LOWcore/dataflow/__init__.py14CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/__init__.py15CODE
LOWcore/dataflow/sanitizer_evidence.py36CODE
LOWcore/dataflow/trust_report.py16CODE
LOWcore/dataflow/cvefix_loader.py19CODE
LOWcore/dataflow/sanitizer_catalog.py27CODE
LOWcore/dataflow/structural_validator.py21CODE
LOWcore/dataflow/llm_bridge.py25CODE
LOWcore/dataflow/codeql_augmented_run.py39CODE
LOWcore/dataflow/label.py15CODE
LOWcore/dataflow/llm_extractor.py22CODE
LOWcore/dataflow/corpus_sources.py20CODE
LOWcore/dataflow/cvefix_walk.py20CODE
LOWcore/dataflow/_schema_checks.py10CODE
LOWcore/dataflow/_schema_checks.py12CODE
LOWcore/dataflow/_schema_checks.py15CODE
LOWcore/dataflow/sanitizer_cut_config.py39CODE
LOWcore/dataflow/parser_pack_harvest.py44CODE
LOWcore/dataflow/tier1_llm.py41CODE
LOWcore/dataflow/path_annotator.py39CODE
LOWcore/dataflow/sanitizer_cut_parity.py33CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py2CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py8CODE
LOWcore/dataflow/tests/test_sanitizer_catalog.py21CODE
LOWcore/dataflow/tests/test_trust_corpus_report.py3CODE
LOWcore/dataflow/tests/test_sarif_cap_parity.py11CODE
LOWcore/dataflow/tests/test_barrier_synth.py3CODE
LOWcore/dataflow/tests/test_lexical_removal_switch.py24CODE
LOWcore/dataflow/tests/test_label.py3CODE
5400 more matches not shown…
Empty Error Handlers907 hits · 4485 pts
SeverityFileLineSnippetContext
HIGHconftest.py1119except (OSError, ValueError):CODE
HIGHconftest.py1133except OSError:CODE
HIGHraptor.py256except Exception: # noqa: BLE001CODE
HIGHraptor.py446except OSError:CODE
HIGHraptor.py1533except Exception: # noqa: BLE001 — the hint is best-effort decorationCODE
HIGHraptor_agentic.py102except OSError:CODE
HIGHraptor_agentic.py1650except Exception: # noqa: BLE001 — child falls back to its own layersCODE
HIGHraptor_agentic.py4686except ImportError:CODE
HIGHraptor_agentic.py1434except (OSError, ValueError):CODE
HIGHraptor_agentic.py918except OSError:CODE
HIGHraptor_agentic.py3747except subprocess.TimeoutExpired:CODE
HIGHraptor_fuzzing.py1014except OSError:CODE
HIGHraptor_openant.py312except (ValueError, OSError, TypeError):CODE
HIGHraptor_openant.py333except (ValueError, OSError):CODE
HIGHraptor_openant.py369except Exception: # noqa: BLE001 — the 130 contract and theCODE
HIGHcore/dataflow/cvefix_walk.py435except OSError:CODE
HIGHcore/dataflow/sanitizer_cut_parity.py243except OSError: # pragma: no coverCODE
HIGHcore/sarif/parser.py621except OSError:CODE
HIGHcore/sarif/import_normalizer.py70except ImportError:CODE
HIGHcore/sarif/import_normalizer.py497except OSError:CODE
HIGHcore/witness/store.py374except OSError:CODE
HIGHcore/witness/matching.py336except OSError:CODE
HIGHcore/witness/provenance.py287except OSError:CODE
HIGHcore/llm/detection.py250except (RuntimeError, OSError):CODE
HIGHcore/llm/cc_proxy_hosts.py196except ImportError:CODE
HIGHcore/llm/client.py815except AttributeError:CODE
HIGHcore/llm/client.py822except AttributeError:CODE
HIGHcore/llm/client.py845except AttributeError:CODE
HIGHcore/llm/client.py852except AttributeError:CODE
HIGHcore/llm/client.py379except AttributeError:CODE
HIGHcore/llm/client.py385except AttributeError:CODE
HIGHcore/llm/client.py2771except (TypeError, ValueError):CODE
HIGHcore/llm/providers.py5198except json.JSONDecodeError:CODE
HIGHcore/llm/providers.py5206except (ValueError, json.JSONDecodeError):CODE
HIGHcore/llm/providers.py2903except (TypeError, ValueError):CODE
HIGHcore/llm/providers.py4249except (ImportError, TypeError):CODE
HIGHcore/llm/providers.py3163except (TypeError, ValueError):CODE
HIGHcore/llm/model_data.py482except (OSError, ValueError):CODE
HIGHcore/llm/http_pool.py1189except BaseException: # noqa: BLE001 — a finalizer must never raiseCODE
HIGHcore/llm/bedrock_preflight.py236except OSError:CODE
HIGHcore/llm/throttle.py251except RuntimeError:CODE
HIGHcore/llm/throttle.py411except ValueError:CODE
HIGHcore/llm/cc_adapter.py1142except json.JSONDecodeError:CODE
HIGHcore/llm/cc_adapter.py1180except (ValueError, json.JSONDecodeError):CODE
HIGHcore/llm/cc_adapter.py1235except json.JSONDecodeError:CODE
HIGHcore/llm/cc_adapter.py1249except (json.JSONDecodeError, AttributeError):CODE
HIGHcore/llm/cc_adapter.py1170except (json.JSONDecodeError, IndexError):CODE
HIGHcore/llm/cc_adapter.py1599except (BrokenPipeError, OSError):CODE
HIGHcore/llm/cc_adapter.py1682except BlockingIOError:CODE
HIGHcore/llm/dispatcher/auth.py720except (OSError, botocore.exceptions.BotoCoreError):CODE
HIGHcore/llm/dispatcher/server.py1284except Exception: # noqa: BLE001 — normalization is best-effortCODE
HIGHcore/llm/dispatcher/server.py1289except Exception: # noqa: BLE001CODE
HIGHcore/llm/dispatcher/server.py2445except FileNotFoundError:CODE
HIGHcore/llm/dispatcher/server.py2512except OSError:CODE
HIGHcore/llm/dispatcher/server.py2715except OSError:CODE
HIGHcore/llm/dispatcher/server.py2746except (BrokenPipeError, ConnectionResetError):CODE
HIGHcore/llm/dispatcher/server.py2758except (BrokenPipeError, ConnectionResetError):CODE
HIGHcore/llm/dispatcher/server.py2833except OSError:CODE
HIGHcore/llm/dispatcher/server.py1556except OSError:CODE
HIGHcore/llm/dispatcher/server.py1560except OSError:CODE
847 more matches not shown…
Cross-Language Confusion555 hits · 3233 pts
SeverityFileLineSnippetContext
HIGHraptor_agentic.py468 # sibling B. A standalone (pin-null) run keeps only run-localCOMMENT
HIGHraptor_fuzzing.py466 "Allowlist matches ExploitValidator: address, undefined, "STRING
HIGHcore/dataflow/tests/test_injection_prescreen.py815 " q = a / 1; if (opts.paranoid && c / 2 > 0) {\n"CODE
HIGH⚡core/dataflow/tests/test_smt_barrier.py3608 " q = a / 1; if (opts.paranoid && c / 2 > 0) {\n"CODE
HIGH⚡core/dataflow/tests/test_smt_barrier.py3622 " q = a / 1; if (opts.paranoid && c / 2 > 0)\n"CODE
HIGHcore/dataflow/tests/test_smt_barrier.py942 " if (!/^[A-Za-z0-9]+$/.test(name)) return null;\n" # line 2CODE
HIGHcore/dataflow/tests/test_smt_barrier.py952 "+ if (!/^[A-Za-z0-9]+$/.test(name)) return null;\n"CODE
HIGHcore/dataflow/tests/test_smt_barrier.py3779 "if (!/^[a-z0-9]+$/.test(name)) { return null; }",CODE
HIGHcore/dataflow/scripts/handlabel_seed.py302 rationale="@PathVariable userId (line 43) flows into UserProfile construction (line 51). The auth check on line CODE
HIGHcore/sarif/parser.py1163 # finding can carry `{"snippet": null}` or `{"message": null}`COMMENT
HIGHcore/llm/dispatcher/_usage_scan_child.py24JSON ``{"model": str|null, "input_tokens": int, "output_tokens": int,STRING
HIGHcore/llm/dispatcher/_usage_scan_child.py36stage and exception when ready is false (stderr is /dev/null, so theSTRING
HIGHcore/llm/dispatcher/_usage_scan_child.py47 /dev/null) and the socketpair fd, which is then pinned to fd 3.STRING
HIGH⚡core/llm/dispatcher/tests/test_stream_stall_watchdog.py256 # accepts it, downstream behaviour undefined; inf passes theCOMMENT
HIGH⚡core/llm/tests/test_quota_detection.py218 "'tokens', 'param': null, 'code': 'rate_limit_exceeded'}}"CODE
HIGHcore/analysis/value_set_java.py305 if (x.equals("a")) { y = "v1"; }STRING
HIGHcore/analysis/value_set_java.py306 else if (x.equals("b")) { y = "v2"; }STRING
HIGHcore/analysis/sanitizer_cut.py1213 key reads as null, which carries no caller taint). List reads areSTRING
HIGHcore/analysis/peer_groups.py1321def jsonEsc(v: String): String = v.replace("\\\\", "\\\\\\\\").replace("\\"", "\\\\\\"").replace("\\r", "").replace("\\nCODE
HIGHcore/analysis/binary_oracle.py1272 "address": null},STRING
HIGHcore/analysis/const_fold_java.py931 model (a folded non-null constant is never null);STRING
HIGHcore/analysis/java_collection_index.py633 return REFUSE # never-written key: null, not constCODE
HIGHcore/analysis/cfg_builder_cpp.py30 ``a && escape(x)`` is independently attributable) is documentedSTRING
HIGHcore/analysis/cfg_builder_java.py668 ``if (flag && (y = x) != null)`` writes ``y``; a payload withSTRING
HIGHcore/analysis/sanitizer_cut_precision.py391 # (the ubiquitous ``while ((line = read()) != null)`` idiom'sCOMMENT
HIGH⚡core/analysis/sanitizer_cut_precision.py1310 'if (param.length() > 3) { bar = param; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py1320 'if (mode == null) { bar = param; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py1329 'if (param.equals("a")) { bar = "v1"; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py1330 'else if (param.equals("b")) { bar = "v2"; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py1340 'if (param.equals("a")) { bar = "v1"; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py1350 'if (param.equals("a")) { bar = "v1"; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py2517 'String bar = null;',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py2518 'if (param.length() > 3) { bar = "safe"; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py2526 'String bar = null;',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py2527 'if (param.length() > 3) { bar = "safe"; }',CODE
HIGH⚡core/analysis/sanitizer_cut_precision.py2528 'if (param.length() > 5) { bar = param; }',CODE
HIGHcore/analysis/sanitizer_cut_precision.py344 " if (x.length() > 3) { y = Encode.forHtml(x); }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py353 " if (x.length() > 3) { y = Encode.forHtml(x); }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py396 " if (flag && (y = x) != null) { }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py572 " if (s.length() > 3) { return Encode.forHtml(s); }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py603 "{ return s.toString(); }\n",CODE
HIGHcore/analysis/sanitizer_cut_precision.py1361 'if (param.equals("a")) { bar = "v1"; }',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2305 'if (param.length() > 2) {',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2392 'if (param.length() > 2) { s = "a"; } else { s = "b"; }',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2406 'if (param.length() > 2) {',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2407 ' data = null;',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2418 'if (param.length() > 2) { data = "ls"; }',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2430 " if (flag) { d = null; } else { d = \"foo\"; }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py2448 'if (param.length() > 2) { data = System.getenv("HOME"); }',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2464 'if (param.length() > 2) 'CODE
HIGHcore/analysis/sanitizer_cut_precision.py2477 " if (flag) { d = null; } else { d = \"<b>x</b>\"; }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py2495 " if (flag) { d = null; } else { d = \"plain\"; }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py2550 + ' if (x.length() > 3) { q = "A"; }\n'CODE
HIGHcore/analysis/sanitizer_cut_precision.py2563 + ' if (x.length() > 3) { q = x; }\n'CODE
HIGHcore/analysis/sanitizer_cut_precision.py2631 " java.sql.Connection getC() { return null; }\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py2924 'if (param.length() > 3) { bar = "safe"; }',CODE
HIGHcore/analysis/sanitizer_cut_precision.py2933 'if (param.length() > 3) { bar = "safe"; }',CODE
HIGHcore/analysis/sanitizer_cut_precision.py3463 + " if (x != null) {\n"CODE
HIGHcore/analysis/sanitizer_cut_precision.py3473 + " int k = x.length() % 2;\n"CODE
HIGHcore/analysis/taint_multi_lang.py123_JAVA_NULL_CHECK = re.compile(r"if\s*\(\s*(\w+)\s*(?:==\s*null|!=\s*null)")CODE
495 more matches not shown…
Over-Commented Block3277 hits · 2496 pts
SeverityFileLineSnippetContext
LOWconftest.py41# Same class of sidecar, same rule: the per-model reliability ledgerCOMMENT
LOWconftest.py61# developer's login shell exports. ``setdefault`` is a no-op when theCOMMENT
LOWconftest.py81COMMENT
LOWconftest.py101# claudecode transport, and any test that reaches a real dispatch —COMMENT
LOWconftest.py121# anonymous metrics) unless suppressed; tests that shell out to a realCOMMENT
LOWconftest.py141COMMENT
LOWconftest.py161# Linux tmp layout against ``tmp_path``-derived paths fail hereCOMMENT
LOWconftest.py201 tmp_root = Path(_tempfile.gettempdir())COMMENT
LOWconftest.py221 basetemp.parent.mkdir(parents=True, exist_ok=True)COMMENT
LOWconftest.py241# GIT_DIR, ...) cannot change test outcomes, and a strayCOMMENT
LOWconftest.py301# System-tmp containmentCOMMENT
LOWconftest.py321# one ``raptor-pytest-*`` dir per pytest process (one per xdistCOMMENT
LOWconftest.py361 # (``pymp-*`` — the forkserver socket lives there) underCOMMENT
LOWconftest.py381 else:COMMENT
LOWconftest.py421COMMENT
LOWconftest.py481COMMENT
LOWconftest.py501 monkeypatch.setattr(_sessions, "SESSIONS_DIR", unique / "sessions.d")COMMENT
LOWconftest.py581# Preventive backstop for the "a default-tier test is slow because itCOMMENT
LOWconftest.py601# ---------------------------------------------------------------------------COMMENT
LOWconftest.py721# it to the nightly tier) is not an option — whose honest scheduleCOMMENT
LOWconftest.py1001# every later suite in the same process — observed as sandbox proxyCOMMENT
LOWconftest.py1201 for nodeid, phase, dur in sorted(COMMENT
LOWpytest.ini1[pytest]COMMENT
LOWpytest.ini41# Ensure each package's source root is importable without requiring anCOMMENT
LOWrequirements.txt1# RAPTOR Framework RequirementsCOMMENT
LOWrequirements.txt21# raptor's install set, which is exactly what we wantCOMMENT
LOWrequirements.txt41# HTTP/2 for the pooled LLM transports: only read when the operator opts inCOMMENT
LOWrequirements.txt61# tree-sitter-lua==0.5.0COMMENT
LOWrequirements.txt81# so the agent imports defusedxml.ElementTree when available; pinning hereCOMMENT
LOWrequirements.txt101# ELF metadata (core/symbolic load_binary fallback when angr absent).COMMENT
LOWrequirements.txt121# Optional: Ghidra bridge (packages/ghidra — in-process analysis viaCOMMENT
LOWrequirements.txt141COMMENT
LOWraptor.py401 if canonical.exists():COMMENT
LOWraptor.py561 caller must print and fail on BEFORE creating a run directory —COMMENT
LOWraptor.py641COMMENT
LOWraptor.py721 # /understand → /validate reuse) must not strip that dir'sCOMMENT
LOWraptor.py781 # declared --max-cost-usd, compare the scorecard estimateCOMMENT
LOWraptor.py801 # Re-inject --max-cost-usd for downstream runtime enforcement.COMMENT
LOWraptor.py1201 check=False,COMMENT
LOWraptor.py1221 from core.run.metadata import cancel_runCOMMENT
LOWraptor.py1841For more information, visit: https://github.com/gadievron/raptorCOMMENT
LOWraptor_agentic.py821 )COMMENT
LOWraptor_agentic.py881 process = subprocess.Popen(COMMENT
LOWraptor_agentic.py901 # a SIGKILLed/OOM-killed orchestrator strands the childCOMMENT
LOWraptor_agentic.py921COMMENT
LOWraptor_agentic.py961 # ``RaptorConfig.DEFAULT_TIMEOUT`` may itself be ``None``COMMENT
LOWraptor_agentic.py1001 # Bounded thread join after kill so we don't hang on theCOMMENT
LOWraptor_agentic.py1241 "stderr": str(stderr_path),COMMENT
LOWraptor_agentic.py2861 # state; the per-run --sandbox-floor flag wins in both directionsCOMMENT
LOWraptor_agentic.py2921 import tempfileCOMMENT
LOWraptor_agentic.py3081 if _sc is not None:COMMENT
LOWraptor_agentic.py3221 print("Mitigation analysis module not available")COMMENT
LOWraptor_agentic.py3501 # this, `python raptor.py agentic --audit` would set audit mode inCOMMENT
LOWraptor_agentic.py3561 # F102 comment below.COMMENT
LOWraptor_agentic.py3581 # Disable-consent extension: the scanner child re-runs theCOMMENT
LOWraptor_agentic.py3621 # directly OR wraps it in a temp shell script whenCOMMENT
LOWraptor_agentic.py3641 codeql_cmd.extend(["--build-command", args.build_command])COMMENT
LOWraptor_agentic.py3701 "Semgrep child did not drain after kill; "COMMENT
LOWraptor_agentic.py4561 # producer ever wrote the file and the child never acceptedCOMMENT
LOWraptor_agentic.py5241 print(f" ⚠️ Self-contradictory: {contradictions} (review recommended)")COMMENT
3217 more matches not shown…
Excessive Try-Catch Wrapping2662 hits · 2394 pts
SeverityFileLineSnippetContext
LOW⚡raptor.py857 except Exception as e: # noqa: BLE001CODE
LOW⚡raptor.py875 except Exception as e: # noqa: BLE001CODE
LOW⚡raptor.py898 except Exception:CODE
LOWraptor.py247 except Exception: # noqa: BLE001CODE
LOWraptor.py256 except Exception: # noqa: BLE001CODE
LOWraptor.py298 except Exception: # noqa: BLE001CODE
LOWraptor.py415 except Exception as e: # noqa: BLE001CODE
LOWraptor.py762 except Exception as e: # noqa: BLE001CODE
LOWraptor.py981 except Exception as _pf_exc: # noqa: BLE001 — advisory onlyCODE
LOWraptor.py993 except Exception as exc: # noqa: BLE001CODE
LOWraptor.py1227 except Exception as e: # noqa: BLE001CODE
LOWraptor.py1338 except Exception as e: # noqa: BLE001CODE
LOWraptor.py1397 except Exception as exc: # noqa: BLE001CODE
LOWraptor.py1533 except Exception: # noqa: BLE001 — the hint is best-effort decorationCODE
LOWraptor.py1991 except Exception as e: # noqa: BLE001CODE
LOW⚡raptor_agentic.py3978 except Exception as e: # noqa: BLE001CODE
LOW⚡raptor_agentic.py4396 except Exception as e:CODE
LOW⚡raptor_agentic.py4764 except Exception: # noqa: BLE001 — journaling is best-effortCODE
LOW⚡raptor_agentic.py5677 except Exception: # noqa: BLE001 — a digest failure must not fail the pipelineCODE
LOW⚡raptor_agentic.py5686 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py229 except Exception as e:CODE
LOWraptor_agentic.py433 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py437 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py494 except Exception: # noqa: BLE001CODE
LOWraptor_agentic.py539 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py566 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py580 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py810 except Exception as exc: # noqa: BLE001CODE
LOWraptor_agentic.py861 except Exception as exc: # noqa: BLE001CODE
LOWraptor_agentic.py1006 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py1372 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py1650 except Exception: # noqa: BLE001 — child falls back to its own layersCODE
LOWraptor_agentic.py1832 except Exception: # noqa: BLE001 — marker is best-effortCODE
LOWraptor_agentic.py1887 except Exception as e:CODE
LOWraptor_agentic.py3411 except Exception:CODE
LOWraptor_agentic.py3417 except Exception:CODE
LOWraptor_agentic.py3449 except Exception:CODE
LOWraptor_agentic.py3730 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py3917 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py3967 except Exception:CODE
LOWraptor_agentic.py4075 except Exception as _cov_exc: # noqa: BLE001 — overlay is additive; the failure outcome standsCODE
LOWraptor_agentic.py4167 except Exception:CODE
LOWraptor_agentic.py4187 except Exception as _cov_exc: # noqa: BLE001 — overlay is additive; the scan result standsCODE
LOWraptor_agentic.py4197 except Exception as e:CODE
LOWraptor_agentic.py4233 except Exception as e:CODE
LOWraptor_agentic.py5100 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py5114 except Exception as e:CODE
LOWraptor_agentic.py5645 except Exception:CODE
LOWraptor_agentic.py5664 except Exception as e: # noqa: BLE001CODE
LOWraptor_agentic.py5851 except Exception: # noqa: BLE001 — nudge is best-effortCODE
LOWraptor_agentic.py6118 except Exception: # noqa: BLE001 — hostile/broken __str__CODE
LOW⚡raptor_agentic.py3222 except Exception as e: # noqa: BLE001STRING
LOW⚡raptor_agentic.py3250 except Exception as e: # noqa: BLE001STRING
LOW⚡raptor_agentic.py3355 except Exception as e: # noqa: BLE001STRING
LOW⚡raptor_agentic.py3361 except Exception as e: # noqa: BLE001STRING
LOWraptor_agentic.py2839 except Exception as _e: # noqa: BLE001 — hard error passes throughSTRING
LOWraptor_agentic.py3053 except Exception as e: # noqa: BLE001STRING
LOWraptor_agentic.py3094 except Exception as e: # noqa: BLE001STRING
LOWraptor_agentic.py3274 except Exception: # noqa: BLE001 — bridge miss = run the mapSTRING
LOWraptor_agentic.py3314 except Exception as e: # noqa: BLE001STRING
2602 more matches not shown…
Deep Nesting2207 hits · 1667 pts
SeverityFileLineSnippetContext
LOWconftest.py1094CODE
LOWraptor.py81CODE
LOWraptor.py618CODE
LOWraptor_agentic.py357CODE
LOWraptor_agentic.py1162CODE
LOWraptor_agentic.py1763CODE
LOWraptor_agentic.py2688CODE
LOWraptor_fuzzing.py205CODE
LOWraptor_codeql.py85CODE
LOWraptor_openant.py316CODE
LOWraptor_openant.py407CODE
LOWraptor_openant.py1134CODE
LOWcore/dataflow/injection_prescreen.py171CODE
LOWcore/dataflow/injection_prescreen.py378CODE
LOWcore/dataflow/extension_pack.py238CODE
LOWcore/dataflow/extension_pack.py724CODE
LOWcore/dataflow/smt_barrier.py868CODE
LOWcore/dataflow/smt_barrier.py1095CODE
LOWcore/dataflow/smt_barrier.py1178CODE
LOWcore/dataflow/smt_barrier.py1255CODE
LOWcore/dataflow/smt_barrier.py1537CODE
LOWcore/dataflow/smt_barrier.py1989CODE
LOWcore/dataflow/smt_barrier.py2295CODE
LOWcore/dataflow/smt_barrier.py2420CODE
LOWcore/dataflow/smt_barrier.py2604CODE
LOWcore/dataflow/smt_barrier.py2847CODE
LOWcore/dataflow/smt_barrier.py1117CODE
LOWcore/dataflow/barrier_synth.py495CODE
LOWcore/dataflow/corpus_metrics.py67CODE
LOWcore/dataflow/cvefix_bridge.py345CODE
LOWcore/dataflow/cvefix_bridge.py417CODE
LOWcore/dataflow/trust_corpus_report.py141CODE
LOWcore/dataflow/trust_report.py64CODE
LOWcore/dataflow/structural_validator.py428CODE
LOWcore/dataflow/structural_validator.py511CODE
LOWcore/dataflow/cvefix_walk.py400CODE
LOWcore/dataflow/parser_pack_harvest.py437CODE
LOWcore/dataflow/tier1_llm.py256CODE
LOWcore/dataflow/tier1_llm.py391CODE
LOWcore/dataflow/sanitizer_cut_parity.py253CODE
LOWcore/dataflow/sanitizer_cut_parity.py414CODE
LOWcore/schema_constants/tests/test_cwe_map_unique.py25CODE
LOWcore/reporting/findings.py90CODE
LOWcore/reporting/scan_coverage.py53CODE
LOWcore/artifacts/provenance.py133CODE
LOWcore/artifacts/provenance.py203CODE
LOWcore/artifacts/provenance.py321CODE
LOWcore/artifacts/provenance.py349CODE
LOWcore/sarif/parser.py78CODE
LOWcore/sarif/parser.py170CODE
LOWcore/sarif/parser.py312CODE
LOWcore/sarif/parser.py436CODE
LOWcore/sarif/parser.py742CODE
LOWcore/sarif/parser.py1064CODE
LOWcore/sarif/import_normalizer.py139CODE
LOWcore/sarif/import_normalizer.py264CODE
LOWcore/witness/discovery.py51CODE
LOWcore/witness/discovery.py115CODE
LOWcore/witness/provenance.py715CODE
LOWcore/llm/prompt_budget.py99CODE
2147 more matches not shown…
Modern Structural Boilerplate1383 hits · 1370 pts
SeverityFileLineSnippetContext
LOWcore/__init__.py84__all__ = [CODE
LOWcore/dataflow/sanitizer_cut_parity_report.py231__all__ = [CODE
LOWcore/dataflow/cvefix_corpus_generator.py56logger = logging.getLogger(__name__)CODE
LOWcore/dataflow/__init__.py29__all__ = [CODE
LOWcore/dataflow/cvefix_loader.py32logger = logging.getLogger(__name__)CODE
LOWcore/dataflow/sanitizer_catalog.py329__all__ = [CODE
LOWcore/dataflow/structural_validator.py45logger = logging.getLogger(__name__)CODE
LOWcore/dataflow/llm_bridge.py46logger = logging.getLogger(__name__)CODE
LOWcore/dataflow/sanitizer_cut_config.py372__all__ = [CODE
LOWcore/dataflow/sanitizer_cut_parity.py617__all__ = [CODE
LOWcore/dataflow/adapters/taint_native.py153__all__ = [CODE
LOWcore/reporting/witnesses.py31logger = logging.getLogger(__name__)CODE
LOWcore/reporting/__init__.py33__all__ = [CODE
LOWcore/reporting/scan_coverage.py165__all__ = [CODE
LOWcore/staleness/__init__.py45__all__ = [CODE
LOWcore/artifacts/context_map_budget.py45logger = logging.getLogger(__name__)CODE
LOWcore/artifacts/context_map_budget.py404__all__ = [CODE
LOWcore/witness/store.py50logger = logging.getLogger(__name__)CODE
LOWcore/witness/discovery.py31logger = logging.getLogger(__name__)CODE
LOWcore/witness/__init__.py51__all__ = [CODE
LOWcore/witness/matching.py87logger = logging.getLogger(__name__)CODE
LOWcore/witness/provenance.py971__all__ = [CODE
LOWcore/llm/prompt_budget.py32logger = logging.getLogger(__name__)STRING
LOWcore/llm/semantic_entropy.py233__all__ = ["divergence", "pairwise_distance"]STRING
LOWcore/llm/egress.py93logger = logging.getLogger(__name__)CODE
LOWcore/llm/egress.py567__all__ = [CODE
LOWcore/llm/cc_proxy_hosts.py57logger = logging.getLogger(__name__)CODE
LOWcore/llm/config.py715def set_operator_primary_override(model: Optional['ModelConfig']) -> None:CODE
LOWcore/llm/models_config_perm.py38logger = logging.getLogger(__name__)CODE
LOWcore/llm/models_config_perm.py149__all__ = [CODE
LOWcore/llm/transcript.py122logger = logging.getLogger(__name__)CODE
LOWcore/llm/transcript.py124__all__ = [CODE
LOWcore/llm/log_quiet.py90__all__ = ["quiet_noisy_loggers"]CODE
LOWcore/llm/task_types.py83__all__ = ["FAST_TIER_TASKS", "TaskType"]CODE
LOWcore/llm/breaker.py44logger = logging.getLogger(__name__)CODE
LOWcore/llm/breaker.py456def set_degradation_breaker(breaker: DegradedModeBreaker | None) -> None:CODE
LOWcore/llm/instructor_reask.py39logger = logging.getLogger(__name__)CODE
LOWcore/llm/concurrency.py23logger = logging.getLogger(__name__)CODE
LOWcore/llm/session_fallback.py56logger = logging.getLogger(__name__)CODE
LOWcore/llm/session_fallback.py201__all__ = [CODE
LOWcore/llm/__init__.py37__all__ = [CODE
LOWcore/llm/telemetry.py36logger = logging.getLogger(__name__)CODE
LOWcore/llm/telemetry.py320def set_sink(sink: TelemetrySink | None) -> None:CODE
LOWcore/llm/factory.py22logger = logging.getLogger(__name__)CODE
LOWcore/llm/factory.py24__all__ = ["get_client"]CODE
LOWcore/llm/structured_call.py273__all__ = [CODE
LOWcore/llm/cc_probe.py35logger = logging.getLogger(__name__)CODE
LOWcore/llm/cache_integrity.py223__all__ = [CODE
LOWcore/llm/coerce.py200__all__ = [CODE
LOWcore/llm/http_pool.py99logger = logging.getLogger(__name__)CODE
LOWcore/llm/http_pool.py1347__all__ = [CODE
LOWcore/llm/ranking.py85logger = logging.getLogger(__name__)CODE
LOWcore/llm/ranking.py604__all__ = [CODE
LOWcore/llm/cost.py67__all__ = ["sanitize_cost", "sanitize_iterations"]CODE
LOWcore/llm/bedrock_preflight.py40logger = logging.getLogger(__name__)CODE
LOWcore/llm/bedrock_prefixes.py151__all__ = [CODE
LOWcore/llm/throttle.py50logger = logging.getLogger(__name__)CODE
LOWcore/llm/throttle.py228 def _set_event_threadsafe(self) -> None:CODE
LOWcore/llm/cc_adapter.py34logger = logging.getLogger(__name__)CODE
LOWcore/llm/tool_use/__init__.py46__all__ = [CODE
1323 more matches not shown…
Modern AI Meta-Vocabulary398 hits · 1237 pts
SeverityFileLineSnippetContext
MEDIUM⚡conftest.py1209# A test session whose source tree is edited WHILE it runs (multi-agentCOMMENT
MEDIUM⚡raptor.py847 # /scan writes codeql_*.sarif at the top level; /agentic writes itCOMMENT
MEDIUM⚡raptor.py866 # Print a coverage summary at the end of /agentic (after complete_run,COMMENT
MEDIUM⚡raptor.py868 # /scan and /validate print their own; this closes the agentic gap.COMMENT
MEDIUM⚡raptor.py879 # /agentic does NOT ingest its findings into the graph yet —COMMENT
MEDIUM⚡raptor.py880 # this lane is skipped for command=="agentic" and raptor_agentic.pyCOMMENT
MEDIUM⚡raptor.py908# Read by the subprocess mode handlers (codeql/agentic) to re-inject theCOMMENT
MEDIUM⚡raptor.py915# codeql/agentic children so their own resolution sees it.COMMENT
MEDIUMraptor.py740 # mode itself, or scan/agentic with ``--codeql`` /COMMENT
MEDIUMraptor.py741 # ``--codeql-only``. Plain /agentic (no --codeql) doesn't reachCOMMENT
MEDIUMraptor.py1208 # next /scan or /agentic invocation saw a staleCOMMENT
MEDIUMraptor.py1435 # Enable CodeQL by default for comprehensive agentic modeCOMMENT
MEDIUMraptor.py1450 # agentic child parses them to resolve the cc_trust + codeql_trustCOMMENT
MEDIUMraptor.py1850 # SUBPROCESS mode handlers (codeql/agentic) can't rely on that flag —COMMENT
MEDIUMraptor.py1859 # codeql/agentic handlers re-inject it for their children.COMMENT
MEDIUMraptor.py1947 # ``agentic`` shouldn't force the operator to read theCOMMENT
MEDIUM⚡raptor_agentic.py4875 # Coverage nudge: /agentic reviews what the scanners flag; make theCOMMENT
MEDIUM⚡raptor_agentic.py5696#: Cap on gap-audit finding rows inlined into the agentic report —COMMENT
MEDIUMraptor_agentic.py510 # concurrent writer (a second /agentic run, an operatorCOMMENT
MEDIUMraptor_agentic.py1660 # The agentic run completes AFTER this subprocess, so itsCOMMENT
MEDIUMraptor_agentic.py1783 # Child phase of the agentic run: thread its project pin soCOMMENT
MEDIUMraptor_agentic.py1798 # Reuse the agentic checklist — same target, same parser;COMMENT
MEDIUMraptor_agentic.py3501 # this, `python raptor.py agentic --audit` would set audit mode inCOMMENT
MEDIUMraptor_agentic.py3502 # the agentic process but the actual sandbox-using subprocessesCOMMENT
MEDIUMraptor_agentic.py3710 # Surface the timeout in the agentic-run summary even whenCOMMENT
MEDIUMraptor_agentic.py3835 # exited non-zero. Pre-fix the agentic wrapper threw awayCOMMENT
MEDIUMraptor_agentic.py4038 # here left /agentic output with no record of whichCOMMENT
MEDIUMraptor_agentic.py4753 # kind-aware consumers (audit prior claims, agentic-labelledCOMMENT
MEDIUMraptor_agentic.py5126 # Build findings funnel from orchestration resultsCOMMENT
MEDIUMraptor_agentic.py5163 # Post-process orchestration results: compute CVSS, infer CWE, fix severityCOMMENT
MEDIUMraptor_agentic.py5349 # Headline cost = orchestration spend + the opt-in passCOMMENT
MEDIUM⚡raptor_agentic.py3256 # bridge tier-2/3) AND enriches the agentic checklist with prioritySTRING
MEDIUM⚡raptor_agentic.py3370 # Marks dead-code functions priority=low in the agentic checklist usingSTRING
MEDIUM⚡raptor_agentic.py3372 # the agentic LLM analysis prompt reads priority/priority_reason andSTRING
MEDIUMraptor_agentic.py2249 # agentic-specific mitigation-analysis use). The downstream codeSTRING
MEDIUMraptor_agentic.py2906 # two concurrent agentic runs destroyed each other's live cloneSTRING
MEDIUMraptor_codeql.py525 # pass per finding (filter + summarise), while agentic does theSTRING
MEDIUMraptor_codeql.py529 # ``--max-findings 20`` to agentic explicitly.STRING
MEDIUMraptor_codeql.py564 # /agentic + /fuzz: entry-point CLI flag mutates the namedSTRING
MEDIUM⚡raptor_openant.py795 # consume, and the /agentic lane saves it uncapped — a cappedCOMMENT
MEDIUMcore/dataflow/smt_barrier.py1857 # /agentic run mid-flight.COMMENT
MEDIUMcore/dataflow/cvefix_bridge.py121# test scaffolding crowds out the real validator code with noise.COMMENT
MEDIUMcore/dataflow/cvefix_bridge.py391 # proposer hallucinates plausible-looking guards on shapesCOMMENT
MEDIUMcore/dataflow/cvefix_bridge.py574 # so it's the diagnostic material for improving the proposer's few-shot.COMMENT
MEDIUMcore/dataflow/sanitizer_cut_parity.py394 Review #3 on PR #794: the parity log is append-only, and agenticSTRING
MEDIUMcore/reporting/findings.py349 # Reasoning / analysis (from agentic or validate)COMMENT
MEDIUMcore/reporting/__init__.py34 # Layer 1 — domain-agnostic report scaffoldingCOMMENT
MEDIUMcore/reporting/formatting.py103 # Check for error first (agentic)COMMENT
MEDIUMcore/reporting/formatting.py107 # Boolean fields (agentic pipeline) are the actual verdict — check first.COMMENT
MEDIUMcore/reporting/formatting.py152 # ruling was issued (agentic pipeline, mid-pipeline states).COMMENT
MEDIUM⚡core/reporting/tests/test_formatting.py164 # The agentic→validate bridge wraps string rulings into dicts;COMMENT
MEDIUM⚡core/reporting/tests/test_formatting.py182 # object); an agentic-imported is_true_positive=True must notCOMMENT
MEDIUMcore/sarif/import_normalizer.py339 # SARIF must not wedge /agentic --sarif for hours. Trade-off, bothCOMMENT
MEDIUMcore/sarif/import_normalizer.py591 # to the operator terminal by the /agentic importCOMMENT
MEDIUMcore/sarif/tests/test_import_normalizer.py638 # the operator terminal by /agentic --sarif: a URI carryingCOMMENT
MEDIUMcore/witness/discovery.py40 "autonomous/witnesses", # /agentic's AutonomousSecurityAgentV2CODE
MEDIUMcore/witness/types.py66 # /agentic or /crash-analysis (future PR) executed theirCOMMENT
MEDIUMcore/llm/detection.py976 # (Phase 4 orchestration in raptor_agentic.py, the ``--prep-only``COMMENT
MEDIUMcore/llm/task_types.py64 # Multi-turn tool-using orchestrators (cve-diff, agentic). RoutesCOMMENT
MEDIUMcore/llm/client.py1670 # than any current consumer needs — even agentic at 1kCOMMENT
338 more matches not shown…
AI Slop Vocabulary338 hits · 1050 pts
SeverityFileLineSnippetContext
MEDIUMraptor.py1435 # Enable CodeQL by default for comprehensive agentic modeCOMMENT
MEDIUMraptor_agentic.py3635 # behaviour is more nuanced.COMMENT
MEDIUMraptor_agentic.py2945 # harness's scratch sweep, tmpfiles reaping)...STRING
MEDIUM⚡raptor_fuzzing.py664 # Engine selection and the atheris / cargo-fuzz harness flagsSTRING
MEDIUMcore/llm/client.py2963 # test harness make_test_client, and any future factory thatCOMMENT
MEDIUMcore/llm/providers.py4679 # The claude-code harness reports the model it used in theCOMMENT
MEDIUMcore/llm/dispatcher/tests/conftest.py79# only in the test harness.COMMENT
MEDIUM⚡core/llm/tests/test_scorecard_default_isolation.py51 # fingerprint; the table-driven strip harness enforces the actualCOMMENT
MEDIUM⚡core/llm/tests/test_resource_governor.py108 # Clients built via __new__ (test harness) have no _run_start.COMMENT
LOWcore/llm/multi_model/tests/test_pipelines.py164 # Here we just return a dict summarising what we'd send.COMMENT
MEDIUMcore/llm/scorecard/audit.py261 # the fallback keeps the walk robust if that ever widensCOMMENT
MEDIUMcore/llm/scorecard/scorecard.py220 # verdict achieved (post-confirm-k, post-harness-side-channelCOMMENT
MEDIUMcore/llm/scorecard/scorecard.py289 # writer of ``audit:<CWE>`` cells (the corpus harness is offline).COMMENT
MEDIUM⚡core/llm/scorecard/tests/test_validate_feedback.py23 # The offline corpus harness referenced this constant before itCOMMENT
MEDIUM⚡core/llm/scorecard/tests/test_validate_feedback.py24 # existed; its AttributeError was swallowed by the harness'sCOMMENT
MEDIUMcore/llm/scorecard/tests/test_validate_feedback.py176 # harness recorded against EventType.CORPUS_GROUND_TRUTH,COMMENT
MEDIUMcore/analysis/_reach_cache.py110# pin installed AFTER this module is imported (test harness, sandboxedCOMMENT
MEDIUM⚡core/analysis/binary_oracle_autodetect.py43# harness) so an existing operator build isn't overridden by a leftoverCOMMENT
MEDIUM⚡core/analysis/binary_oracle_autodetect.py44# harness cache.COMMENT
MEDIUMcore/analysis/binary_oracle_precision.py487 # Late import: the registry is the only thing the harness depends onCOMMENT
MEDIUMcore/analysis/binary_oracle_precision.py488 # for driver lookup; pulling it lazily lets the harness module stayCOMMENT
MEDIUM⚡core/analysis/tests/test_reachability.py1011 # ``attributes`` field predates this feature), so Tier-1 dispatch is robust.COMMENT
MEDIUMcore/analysis/tests/test_binary_oracle_cli.py93 # Opt-out is comprehensive: even project-persisted binariesCOMMENT
MEDIUM⚡core/analysis/tests/test_binary_oracle_precision.py35# nightly harness smoke). The skipif guards below make a missingCOMMENT
MEDIUM⚡core/analysis/tests/test_binary_oracle_precision.py511 # ``mode`` is the harness cross-tab style — liveness-based, used byCOMMENT
MEDIUMcore/config/__init__.py255 # (dropped: false) so the recall harness's warm scorer can measureCOMMENT
MEDIUMcore/config/__init__.py679 # packages/fuzzing/env_hygiene.py; the strip regression harness isCOMMENT
MEDIUM⚡core/security/prompt_envelope_audit.py128 # fuzzing harness generator (target headers → compiled+executedCOMMENT
MEDIUM⚡core/security/prompt_envelope_audit.py129 # harness source; enveloped via build_prompt + CONSERVATIVE)COMMENT
MEDIUM⚡core/security/tests/test_log_sanitisation.py157 # text an operator (or a harness LLM) will read. U+FFFF (Cn)COMMENT
MEDIUM⚡core/security/tests/test_codeql_trust_self_worktree.py78# user-namespace harness), so real second-uid fixtures are unavailableCOMMENT
MEDIUMcore/labeled_attempts/types.py110 # Candidate tried to side-channel the harness — modify the targetCOMMENT
MEDIUM⚡core/labeled_attempts/retrieval.py89 # the run's goal. Fuzz-harness-class output —COMMENT
MEDIUMcore/recall/tests/test_sarif_chunking.py50 # big one); the harness must still see the big tool's findings.COMMENT
MEDIUMcore/function_taxonomy/__init__.py246# elevate privilege, escape namespace isolation, or load kernelCOMMENT
MEDIUMcore/function_taxonomy/__init__.py660 "LLVMFuzzerTestOneInput", # libFuzzer harness conventionCODE
MEDIUMcore/annotations/provenance.py613 # beside a well-formed tty value) must demote, not elevate.COMMENT
MEDIUMcore/annotations/tests/test_provenance.py964 # documented harness seam: production cannot reach a grantingCOMMENT
MEDIUM⚡core/annotations/tests/test_cli.py623 # command harness; here, just ensure the explicit-base path works.COMMENT
LOW⚡core/audit/condition_extraction_python.py202 # Early-return guard pattern: if-body is just return/raise,COMMENT
MEDIUMcore/audit/dynamic_sweep.py271 # Harness code (and the harness binary compiled from it) isCOMMENT
MEDIUMcore/audit/dynamic_sweep.py408 # Same containment rationale as the C harness (see _run_c_harness).COMMENT
MEDIUMcore/audit/dynamic_sweep.py466 # crash evidence. An in-harness Python exception is whatCOMMENT
MEDIUMcore/audit/dynamic_sweep.py468 # target function (the harness imports and calls it) raises atCOMMENT
MEDIUMcore/audit/dynamic_sweep.py806 # parent's waitpid. The harness runs as the init process of theCOMMENT
MEDIUMcore/audit/binary_verification.py175# ``core/audit/dynamic_sweep.py`` (harness compile + sanitiser run,COMMENT
MEDIUMcore/audit/compile_probe.py72# Limits — consistent with the compiler-sweep harness's probe class.COMMENT
MEDIUMcore/audit/findings_export.py354 # harness overflow must not export indistinguishable from aCOMMENT
MEDIUM⚡core/audit/sentinel_collapse.py129# is more comprehensive (covers None, True, False, "", 0 in addition toCOMMENT
MEDIUMcore/audit/cwe_dispatch.py625 # channel (census-driven invariant harness + lead legs,COMMENT
MEDIUM⚡core/audit/protocol_state.py686# ── leg 3: census-driven multi-site invariant harness ───────────────COMMENT
MEDIUMcore/audit/protocol_state.py1238# ── standing pre-pass (leads only + receipted-invariant harness) ────COMMENT
MEDIUMcore/audit/priority.py94# Non-production tree demotion (vendored-compat / test-harness files,COMMENT
MEDIUMcore/audit/priority.py103# compat-shim / regress-harness findings keep drowning the productionCOMMENT
LOWcore/audit/lifetime_witness.py986 # ANY position, not just call shape: a parenthesized orCOMMENT
MEDIUMcore/audit/sweep.py2151 # Invariant-preservation harness (core.audit.invariant_smt): a satCOMMENT
MEDIUMcore/audit/calibrated_merge.py70 # The two audit:<CWE> producers: the offline corpus harness andCOMMENT
MEDIUMcore/audit/report.py759 # test-harness findings follow under labeled subsections withCOMMENT
MEDIUMcore/audit/report.py760 # counts (grouped, never dropped: a harness overflow is still aCOMMENT
MEDIUMcore/audit/report.py1983 # vulnerabilities a comparison harness later confirmed).COMMENT
278 more matches not shown…
Cross-File Repetition152 hits · 760 pts
SeverityFileLineSnippetContext
HIGHcore/sarif/tests/test_import_normalizer.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/llm/tests/test_turn_consumed_gate.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/llm/tests/test_raptor_config_schema_guard.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/llm/tests/test_anthropic_retry_visibility.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/llm/scorecard/tests/test_scorecard.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/project/tests/test_machine_project_expiry.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/project/tests/test_findings_size_gate.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/engagement/tests/test_ledger.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/inventory/tests/test_checklist_frame_mac.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGH…re/orchestration/tests/test_frida_validation_bridge.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHpackages/fuzzing/tests/test_binary_only_mode.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHpackages/fuzzing/tests/test_afl_runner.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHpackages/fuzzing/tests/test_libfuzzer_runner.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGH…ckages/llm_analysis/tests/test_logger_excerpt_scrub.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGH…lm_analysis/tests/test_load_attack_path_log_excerpt.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHpackages/codeql/tests/test_language_detector.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHpackages/codeql/tests/test_buildless_mode.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHpackages/codeql/tests/test_database_manager.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHpackages/codeql/tests/test_abstained_verdicts.py0let caplog see records from the 'raptor' logger. raptorlogger sets propagate=false on logging.getlogger('raptor'), so reSTRING
HIGHcore/witness/provenance.py0read an existing key with the shared fd-fstat discipline (:func:`core.security.mac_key.read_existing_key`): refuse symliSTRING
HIGHcore/llm/cache_integrity.py0read an existing key with the shared fd-fstat discipline (:func:`core.security.mac_key.read_existing_key`): refuse symliSTRING
HIGHcore/llm/scorecard/integrity.py0read an existing key with the shared fd-fstat discipline (:func:`core.security.mac_key.read_existing_key`): refuse symliSTRING
HIGHcore/iris/integrity.py0read an existing key with the shared fd-fstat discipline (:func:`core.security.mac_key.read_existing_key`): refuse symliSTRING
HIGHcore/inventory/checklist_mac.py0read an existing key with the shared fd-fstat discipline (:func:`core.security.mac_key.read_existing_key`): refuse symliSTRING
HIGHcore/witness/provenance.py0whether this install can mint/verify claim tokens at all.STRING
HIGHcore/iris/integrity.py0whether this install can mint/verify claim tokens at all.STRING
HIGHcore/understand_graph/integrity.py0whether this install can mint/verify claim tokens at all.STRING
HIGHcore/inventory/checklist_frame_mac.py0whether this install can mint/verify claim tokens at all.STRING
HIGHcore/inventory/checklist_mac.py0whether this install can mint/verify claim tokens at all.STRING
HIGHcore/witness/tests/test_provenance.py0a key file that stays short is genuinely suspect: the loop runs out of retries, warns once, and refuses (none).STRING
HIGHcore/llm/tests/test_cache_integrity_key_race.py0a key file that stays short is genuinely suspect: the loop runs out of retries, warns once, and refuses (none).STRING
HIGHcore/llm/scorecard/tests/test_integrity.py0a key file that stays short is genuinely suspect: the loop runs out of retries, warns once, and refuses (none).STRING
HIGHcore/iris/tests/test_store_integrity.py0a key file that stays short is genuinely suspect: the loop runs out of retries, warns once, and refuses (none).STRING
HIGHcore/llm/cache_integrity.py0return *data* with a fresh integrity token attached (in place; returned for chaining). when no usable key exists the tokSTRING
HIGHcore/llm/scorecard/integrity.py0return *data* with a fresh integrity token attached (in place; returned for chaining). when no usable key exists the tokSTRING
HIGHcore/iris/integrity.py0return *data* with a fresh integrity token attached (in place; returned for chaining). when no usable key exists the tokSTRING
HIGHcore/project/tests/test_report.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/project/tests/test_clean.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/project/tests/test_project.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/project/tests/test_cli.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/audit/tests/test_guess_target_corroboration.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/audit/tests/test_resume_substrate.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/sandbox/tests/test_triage.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/sandbox/tests/test_e2e_sandbox.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/sandbox/tests/test_summary.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_provenance.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_run_ownership.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_worker_liveness.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_tmp_reaper.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_findings_stamp.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_metadata.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_run_contention.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_hook_finalize_precedence.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_agentic_entrypoint_hardening.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_resume.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/run/tests/test_interrupt_resume.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGH…ges/code_understanding/tests/test_understand_resume.py0user registries stay out of the real home: the root-conftest layer doing this is stripped from release extracts (conftesSTRING
HIGHcore/understand_graph/integrity.py0read the key, lazily creating it (0700 dir, 0600 file, o_excl) if absent — the shared hardened discipline in :func:`coreSTRING
HIGHcore/inventory/checklist_frame_mac.py0read the key, lazily creating it (0700 dir, 0600 file, o_excl) if absent — the shared hardened discipline in :func:`coreSTRING
HIGHcore/inventory/checklist_mac.py0read the key, lazily creating it (0700 dir, 0600 file, o_excl) if absent — the shared hardened discipline in :func:`coreSTRING
92 more matches not shown…
Hallucination Indicators19 hits · 200 pts
SeverityFileLineSnippetContext
CRITICAL…7_codeql_java-command-line-injection_d47f527b566d.json61 "snippet": "org.apache.commons.codec.binary.Base64.decodeBase64(",CODE
CRITICAL⚡core/analysis/tests/test_reachability.py903 "org.springframework.web.bind.annotation.GetMapping(\"/x\")"CODE
CRITICALpackages/cve_diff/tests/unit/test_stage_assertions.py10from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICALpackages/cve_diff/tests/unit/test_pipeline_sage.py117 from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICALpackages/cve_diff/tests/unit/test_acquisition_layers.py27from cve_diff.core.exceptions import AcquisitionErrorCODE
CRITICALpackages/cve_diff/tests/unit/test_commit_resolver.py8from cve_diff.core.exceptions import IdenticalCommitsErrorCODE
CRITICALpackages/cve_diff/tests/unit/infra/test_scorecard.py119 from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICALpackages/cve_diff/tests/unit/infra/test_scorecard.py142 from cve_diff.core.exceptions import AcquisitionErrorCODE
CRITICAL…es/cve_diff/tests/unit/diffing/test_extract_via_api.py6from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICAL⚡…diff/tests/unit/diffing/test_extract_via_gitlab_api.py20from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICALpackages/cve_diff/tests/unit/cli/test_main.py21from cve_diff.core.exceptions import IdenticalCommitsErrorCODE
CRITICALpackages/cve_diff/tests/unit/cli/test_main.py385 from cve_diff.core.exceptions import DiscoveryErrorCODE
CRITICAL…es/cve_diff/cve_diff/diffing/extract_via_gitlab_api.py31from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICALpackages/cve_diff/cve_diff/diffing/commit_resolver.py27from cve_diff.core.exceptions import IdenticalCommitsErrorCODE
CRITICALpackages/cve_diff/cve_diff/diffing/extractor.py16from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICALpackages/cve_diff/cve_diff/diffing/extract_via_api.py30from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICAL…ages/cve_diff/cve_diff/diffing/extraction_agreement.py26from cve_diff.core.exceptions import AnalysisErrorCODE
CRITICALpackages/cve_diff/cve_diff/acquisition/layers.py43from cve_diff.core.exceptions import AcquisitionErrorCODE
CRITICALpackages/cve_diff/cve_diff/cli/bench.py35from cve_diff.core.exceptions import CveDiffErrorCODE
Structural Annotation Overuse86 hits · 151 pts
SeverityFileLineSnippetContext
LOW⚡core/sarif/tests/test_import_e2e.py232 # Step 1: parseCOMMENT
LOW⚡core/sarif/tests/test_import_e2e.py239 # Step 2: dedup (no dupes expected)COMMENT
LOW⚡core/sarif/tests/test_import_e2e.py243 # Step 3: normalizeCOMMENT
LOWcore/llm/egress.py497 # Step 1: bring up / extend the in-process proxy. MUST happenCOMMENT
LOW⚡core/llm/egress.py510 # Step 2: only mutate env on the first call. SubsequentCOMMENT
LOW⚡core/llm/egress.py516 # Step 3: point HTTPS_PROXY at our in-process proxy so httpx-basedCOMMENT
LOWcore/llm/egress.py541 # Step 4: ensure local-loop hosts (Ollama, vLLM-localhost,COMMENT
LOWcore/llm/config.py850 # Step 1: preferred providers via env var (consumer's explicitCOMMENT
LOWcore/llm/config.py867 # Step 2: operator's thinking-model config (file-based; coversCOMMENT
LOWcore/llm/config.py922 # Step 3: default-order autodetect via env vars. Skip providersCOMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py208 # Step 1: split findings into D–S-eligible vs vote-fallback.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py225 # Step 2: run D–S across all eligible records, partitioned by class.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py274 # Step 3: vote fallback for everything else.COMMENT
LOW⚡core/security/tests/test_envelope_probe.py328 # Step 1: probe each modelCOMMENT
LOW⚡core/security/tests/test_envelope_probe.py342 # Step 2: select profile based on cached resultCOMMENT
LOW⚡core/security/tests/test_envelope_probe.py346 # Step 3: verify passthrough prompt is simplerCOMMENT
LOWcore/audit/compile_probe.py494 # Step 1: baseline — the file must compile standalone.COMMENT
LOWcore/audit/compile_probe.py512 # Step 2: tautology — the expression must be a compile-timeCOMMENT
LOWcore/audit/compile_probe.py528 # Step 3: the claim. Steps 1-2 green means failure here canCOMMENT
LOW⚡core/sandbox/landlock.py199 # Step 2: Functional self-test in a child process. Must run in aCOMMENT
LOWcore/sandbox/landlock.py182 # Step 1: ABI probe — landlock_create_ruleset(NULL, 0, version=1).COMMENT
LOW⚡core/sandbox/_spawn.py2836 # Step 5: tell parent we're ready for newuidmap.COMMENT
LOW⚡core/sandbox/_spawn.py2840 # Step 7: wait for parent 'go' signal — parent has runCOMMENT
LOW⚡core/sandbox/_spawn.py3170 # Step 11: fresh /proc.COMMENT
LOW⚡core/sandbox/_spawn.py3311 # Step 12: Landlock. AFTER the fresh-proc mount (seeCOMMENT
LOW⚡core/sandbox/_spawn.py3320 # Step 13: seccomp (ships the unix-scope notify fd toCOMMENT
LOWcore/sandbox/_spawn.py2748 # Step 3: create namespaces. Leaves us as "nobody" in theCOMMENT
LOWcore/sandbox/_spawn.py2983 # Step 9: mount-ns pivot_root if target/output supplied.COMMENT
LOWcore/sandbox/_spawn.py3111 # Step 10: pid-ns via a second fork. NEWPID only takesCOMMENT
LOWcore/sandbox/_spawn.py3772 # Step 4: wait for child to signal "unshare done, ready for newuidmap".COMMENT
LOWcore/sandbox/_spawn.py3883 # Step 6: newuidmap / newgidmap.COMMENT
LOWcore/sandbox/_spawn.py4285 # Step 8: tell child to proceed.COMMENT
LOWcore/sandbox/_spawn.py4383 # Step 15: collect output and wait. Everything from here down runsCOMMENT
LOW⚡core/trajectories/test_store.py358 # Step 0: initial user promptCOMMENT
LOW⚡core/trajectories/test_store.py362 # Step 1: assistant's find_symbol callCOMMENT
LOW⚡core/trajectories/test_store.py366 # Step 2: tool resultCOMMENT
LOW⚡core/trajectories/test_store.py369 # Step 3: terminal submissionCOMMENT
LOW.claude/commands/create-skill.md24### Step 1: Capture Successful ApproachCOMMENT
LOW.claude/commands/create-skill.md36### Step 2: Define Skill ParametersCOMMENT
LOW⚡.claude/commands/create-skill.md49### Step 3: Extract Reusable PatternsCOMMENT
LOW⚡.claude/commands/create-skill.md57### Step 4: Validate Token BudgetCOMMENT
LOW⚡.claude/commands/create-skill.md65### Step 5: Create Skill FileCOMMENT
LOW.claude/commands/create-skill.md106### Step 6: Test Auto-LoadingCOMMENT
LOW.claude/commands/audit.md70### Step 0: Choose execution modeCOMMENT
LOW.claude/commands/audit.md82### Step 1: Resolve output directoryCOMMENT
LOW.claude/commands/audit.md92### Step 2: Context mapCOMMENT
LOW.claude/commands/audit.md104### Step 3: Run the orchestratorCOMMENT
LOW.claude/commands/audit.md116### Step 4: Surface resultsCOMMENT
LOW⚡.claude/skills/oss-forensics/github-archive/SKILL.md308# Step 1: dry-run estimate (validates the query, scans nothing)COMMENT
LOW⚡.claude/skills/oss-forensics/github-archive/SKILL.md311# Step 2: check the printed estimated_cost_usd against your budgetCOMMENT
LOW⚡.claude/skills/oss-forensics/github-archive/SKILL.md314# Step 3: execute with a bytes-billed safety cap — the job FAILSCOMMENT
LOW⚡.claude/skills/crash-analysis/function-tracing/SKILL.md43### Step 1: Add to BuildCOMMENT
LOW⚡.claude/skills/crash-analysis/function-tracing/SKILL.md50### Step 2: Build Target (sandboxed — the build scripts are untrusted)COMMENT
LOW⚡.claude/skills/crash-analysis/function-tracing/SKILL.md55### Step 3: Run (sandboxed; the rpath resolves libtrace.so — no loader variable)COMMENT
LOW⚡.claude/skills/crash-analysis/function-tracing/SKILL.md61### Step 4: Convert to Perfetto (sandboxed — the log bytes came from the untrusted target, and the converter is native cCOMMENT
LOW.claude/skills/audit/review.md13### Step 1: UnderstandCOMMENT
LOW.claude/skills/audit/review.md22### Step 2: HypothesizeCOMMENT
LOW.claude/skills/audit/review.md37### Step 3: Generate mechanical testsCOMMENT
LOW.claude/skills/audit/review.md84### Step 4: EvaluateCOMMENT
LOW.claude/skills/audit/review.md90### Step 5: Record the verdictCOMMENT
26 more matches not shown…
Docstring Block Structure25 hits · 125 pts
SeverityFileLineSnippetContext
HIGHcore/dataflow/codeql_augmented_run.py136Run ``codeql database analyze`` once. Args: db_path: Path to the CodeQL DB directory. queries: One STRING
HIGHcore/llm/providers.py1490 Convert dict schema or Pydantic model to Pydantic model class. Supports hybrid approach: - If already PydaSTRING
HIGHcore/llm/multi_model/dispatch.py86Run a task across N models in parallel and merge results. Args: task: Callable that takes one model and retSTRING
HIGHcore/llm/multi_model/prompt_helpers.py39Wrap prior-model output for safe inclusion in a downstream prompt. Args: content: The model's output. StrinSTRING
HIGHcore/project/export.py223Zip a project output directory, skipping symlinks. Args: project_output_dir: The project's output directorySTRING
HIGHcore/project/export.py683Import a zipped project. Validates the zip, extracts output data to output_base/<name>/, and registers the projSTRING
HIGHcore/audit/strategy.py386Select review strategies for a function. Always includes ``general``. Additional strategies are added based on STRING
HIGHcore/sandbox/calibrate.py382Run a fresh calibration probe and cache the result. Args: bin_path: path to the binary to probe. Resolved vSTRING
HIGHcore/inventory/lookup.py142Find the function containing a given file:line in the checklist. Args: checklist: Inventory dict from buildSTRING
HIGHcore/run/output.py264Resolve the output directory for a command run. Priority: 1. explicit_out (from --out argument) — used as-is, nSTRING
HIGHcore/git/clone.py1044Run ``git ls-remote --heads --tags`` against ``url``. Read-only operation that returns the refs the remote advertisSTRING
HIGH…ills/oss-forensics/github-evidence-kit/src/__init__.py86 Load a previously serialized evidence object from JSON. Args: data: Dictionary from JSON deserializatiSTRING
HIGHpackages/sca/discovery.py277Walk repo finding manifests + lockfiles. Args: repo: project root (absolute or relative; resolved before waSTRING
HIGHpackages/autonomous/dialogue.py323 Ask the LLM a strategic question about fuzzing. Examples: - "Should I continue fuzzing or stopSTRING
HIGHpackages/ghidra/headless.py258Create a Ghidra project by importing a raw binary. Runs ``analyzeHeadless -import`` with full auto-analysis into STRING
HIGHpackages/ghidra/headless.py386Export a Ghidra project to RAPTOR's JSON format. Runs ``analyzeHeadless`` with the Java export script against the STRING
HIGHpackages/ghidra/headless.py510Apply RAPTOR enrichments back to a Ghidra project. Copies the original project to *output_gpr* and runs ``analySTRING
HIGHpackages/ghidra/parser.py29Parse a Ghidra export JSON file into an REDatabase. Args: path: Path to the JSON file produced by the exporSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py254Check whether an arithmetic op can wrap given the visible guards. Use this when the source shows arithmetic that *lSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py415Check whether an array index can fall outside its buffer. Use this when the source shows ``arr[index]`` (or ``memcpSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py507Check whether a pointer can be NULL when dereferenced. Use this when the source dereferences a pointer that has priSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py582Check CWE-680: integer overflow leading to buffer overflow. The canonical pattern: size_t alloc_size = countSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py691Check whether a negative value can bypass a comparison guard. The canonical CWE-839 pattern: if (msg_qbytes STRING
HIGHpackages/exploit_feasibility/under_mitigations.py297Rebuild ``target_source`` under each profile, run ``witness_bytes`` against each, return the per-profile outcomeSTRING
HIGHpackages/exploit_feasibility/smt_encoding.py146Can a forbidden byte survive the emitter's transfer unescaped? Args: transfer: The emitter's per-character STRING
Verbosity Indicators56 hits · 99 pts
SeverityFileLineSnippetContext
LOW⚡core/sarif/tests/test_import_e2e.py232 # Step 1: parseCOMMENT
LOW⚡core/sarif/tests/test_import_e2e.py239 # Step 2: dedup (no dupes expected)COMMENT
LOW⚡core/sarif/tests/test_import_e2e.py243 # Step 3: normalizeCOMMENT
LOWcore/llm/egress.py497 # Step 1: bring up / extend the in-process proxy. MUST happenCOMMENT
LOW⚡core/llm/egress.py510 # Step 2: only mutate env on the first call. SubsequentCOMMENT
LOW⚡core/llm/egress.py516 # Step 3: point HTTPS_PROXY at our in-process proxy so httpx-basedCOMMENT
LOWcore/llm/egress.py541 # Step 4: ensure local-loop hosts (Ollama, vLLM-localhost,COMMENT
LOWcore/llm/config.py850 # Step 1: preferred providers via env var (consumer's explicitCOMMENT
LOWcore/llm/config.py867 # Step 2: operator's thinking-model config (file-based; coversCOMMENT
LOWcore/llm/config.py922 # Step 3: default-order autodetect via env vars. Skip providersCOMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py208 # Step 1: split findings into D–S-eligible vs vote-fallback.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py225 # Step 2: run D–S across all eligible records, partitioned by class.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py274 # Step 3: vote fallback for everything else.COMMENT
LOW⚡core/security/tests/test_envelope_probe.py328 # Step 1: probe each modelCOMMENT
LOW⚡core/security/tests/test_envelope_probe.py342 # Step 2: select profile based on cached resultCOMMENT
LOW⚡core/security/tests/test_envelope_probe.py346 # Step 3: verify passthrough prompt is simplerCOMMENT
LOWcore/audit/compile_probe.py494 # Step 1: baseline — the file must compile standalone.COMMENT
LOWcore/audit/compile_probe.py512 # Step 2: tautology — the expression must be a compile-timeCOMMENT
LOWcore/audit/compile_probe.py528 # Step 3: the claim. Steps 1-2 green means failure here canCOMMENT
LOW⚡core/sandbox/landlock.py199 # Step 2: Functional self-test in a child process. Must run in aCOMMENT
LOWcore/sandbox/landlock.py182 # Step 1: ABI probe — landlock_create_ruleset(NULL, 0, version=1).COMMENT
LOW⚡core/sandbox/_spawn.py2836 # Step 5: tell parent we're ready for newuidmap.COMMENT
LOW⚡core/sandbox/_spawn.py2840 # Step 7: wait for parent 'go' signal — parent has runCOMMENT
LOW⚡core/sandbox/_spawn.py3170 # Step 11: fresh /proc.COMMENT
LOW⚡core/sandbox/_spawn.py3311 # Step 12: Landlock. AFTER the fresh-proc mount (seeCOMMENT
LOW⚡core/sandbox/_spawn.py3320 # Step 13: seccomp (ships the unix-scope notify fd toCOMMENT
LOWcore/sandbox/_spawn.py2748 # Step 3: create namespaces. Leaves us as "nobody" in theCOMMENT
LOWcore/sandbox/_spawn.py2983 # Step 9: mount-ns pivot_root if target/output supplied.COMMENT
LOWcore/sandbox/_spawn.py3111 # Step 10: pid-ns via a second fork. NEWPID only takesCOMMENT
LOWcore/sandbox/_spawn.py3772 # Step 4: wait for child to signal "unshare done, ready for newuidmap".COMMENT
LOWcore/sandbox/_spawn.py3883 # Step 6: newuidmap / newgidmap.COMMENT
LOWcore/sandbox/_spawn.py4285 # Step 8: tell child to proceed.COMMENT
LOWcore/sandbox/_spawn.py4383 # Step 15: collect output and wait. Everything from here down runsCOMMENT
LOW⚡core/trajectories/test_store.py358 # Step 0: initial user promptCOMMENT
LOW⚡core/trajectories/test_store.py362 # Step 1: assistant's find_symbol callCOMMENT
LOW⚡core/trajectories/test_store.py366 # Step 2: tool resultCOMMENT
LOW⚡core/trajectories/test_store.py369 # Step 3: terminal submissionCOMMENT
LOW⚡packages/binary_analysis/tests/test_blamed_lines.py19### Step 1: AllocationCOMMENT
LOW⚡packages/binary_analysis/tests/test_blamed_lines.py22### Step 2: OverwriteCOMMENT
LOW⚡packages/binary_analysis/tests/test_blamed_lines.py25### Step 3: Crash (repeat of step 1 file)COMMENT
LOW⚡packages/binary_analysis/tests/test_blamed_lines.py28### Step 4: HelperCOMMENT
LOW⚡packages/binary_analysis/tests/test_blamed_lines.py289 "discussion here.\n\n### Step 5: Conclusion\n"CODE
LOW⚡packages/exploitation/bootstrap.py161 # Step 2: Pick the best matching runCOMMENT
LOW⚡packages/exploitation/bootstrap.py168 # Step 3: Validate schemaCOMMENT
LOW⚡packages/exploitation/bootstrap.py177 # Step 4: Extract matching findingsCOMMENT
LOW⚡packages/exploitation/bootstrap.py188 # Step 5: Check source freshnessCOMMENT
LOW⚡packages/exploitation/bootstrap.py195 # Step 6: Check for feasibility dataCOMMENT
LOW⚡packages/exploitation/bootstrap.py201 # Step 7: Determine statusCOMMENT
LOWpackages/exploitation/bootstrap.py150 # Step 1: Find validation runsCOMMENT
LOW⚡…ges/code_understanding/dispatch/hunt_cocci_dispatch.py436 # Step 1: translate the pattern into a cocci rule via 1 LLM call.COMMENT
LOW⚡…ges/code_understanding/dispatch/hunt_cocci_dispatch.py483 # Step 2: write the rule to a temp file and hand it to spatch.COMMENT
LOW⚡packages/llm_analysis/intent_match.py579 # Step 1: describe what the exploit does. Prompt CONSTRUCTION isCOMMENT
LOW⚡packages/llm_analysis/intent_match.py633 # Step 2: judge whether description matches finding. SameCOMMENT
LOW⚡packages/llm_analysis/dataflow_validation.py2102 # Step 1: full-path suffix match on a component boundary (preferred)COMMENT
LOW⚡packages/llm_analysis/dataflow_validation.py2106 # Step 2: basename fallback (deliberate trade-off — see caller)COMMENT
LOWpackages/codeql/autonomous_analyzer.py731 # Step 1: cheap-tier prefilter. Asks a small model "is thisCOMMENT
AI Structural Patterns118 hits · 80 pts
SeverityFileLineSnippetContext
LOWcore/dataflow/barrier_synth.py737CODE
LOWcore/dataflow/cvefix_bridge.py417CODE
LOWcore/dataflow/cvefix_bridge.py602CODE
LOWcore/dataflow/cvefix_walk.py534CODE
LOWcore/llm/ranking.py491CODE
LOWcore/llm/tool_use/loop.py207CODE
LOWcore/llm/cwe_strategies/picker.py234CODE
LOWcore/llm/scorecard/scorecard.py644CODE
LOWcore/analysis/peer_groups.py227CODE
LOWcore/analysis/summaries.py315CODE
LOWcore/analysis/tests/test_value_set_java.py169CODE
LOWcore/evidence/__init__.py806CODE
LOWcore/taint/tests/test_emission.py140CODE
LOWcore/taint/tests/test_emission.py153CODE
LOWcore/taint/tests/test_emission_hostile.py82CODE
LOWcore/iris/refine.py95CODE
LOWcore/labeled_attempts/test_retrieval.py54CODE
LOWcore/recall/tests/test_flip_gate.py22CODE
LOWcore/engagement/supervise.py786CODE
LOWcore/container/containers.py269CODE
LOWcore/audit/prefilter.py426CODE
LOWcore/audit/strategy.py368CODE
LOWcore/audit/strategy.py514CODE
LOWcore/audit/priority.py120CODE
LOWcore/audit/llm_review.py1261CODE
LOWcore/audit/triage.py131CODE
LOWcore/audit/triage.py404CODE
LOWcore/audit/environment.py561CODE
LOWcore/audit/sweep.py4743CODE
LOWcore/audit/gaps.py187CODE
LOWcore/audit/gaps.py2330CODE
LOWcore/audit/gaps.py2842CODE
LOWcore/audit/gaps.py3000CODE
LOWcore/audit/gaps.py3727CODE
LOWcore/audit/consistency_prepass.py363CODE
LOWcore/audit/decompiler_sanitise.py109CODE
LOWcore/audit/refutation.py2270CODE
LOWcore/audit/executor.py248CODE
LOWcore/audit/executor.py593CODE
LOWcore/audit/executor.py669CODE
LOWcore/audit/executor.py1525CODE
LOWcore/audit/executor.py1580CODE
LOWcore/audit/corpus/run_corpus.py917CODE
LOWcore/audit/corpus/run_corpus.py1439CODE
LOWcore/audit/corpus/run_corpus.py2741CODE
LOWcore/audit/corpus/tests/test_rule_eval.py44CODE
LOWcore/audit/corpus/tests/test_run_corpus.py2438CODE
LOWcore/audit/tests/test_findings.py259CODE
LOWcore/audit/tests/test_decomp_sweep.py452CODE
LOWcore/sandbox/mount_ns.py1127CODE
LOWcore/sandbox/telemetry_mac.py562CODE
LOWcore/sandbox/seatbelt_audit.py505CODE
LOWcore/sandbox/proxy.py1606CODE
LOWcore/sandbox/seatbelt.py238CODE
LOWcore/sandbox/_landlock_audit.py420CODE
LOWcore/sandbox/observe.py322CODE
LOWcore/sandbox/context.py1387CODE
LOWcore/sandbox/context.py8765CODE
LOWcore/sandbox/context.py10010CODE
LOWcore/sandbox/_spawn.py1455CODE
58 more matches not shown…
Redundant / Tautological Comments53 hits · 70 pts
SeverityFileLineSnippetContext
LOW⚡raptor_agentic.py3864 # Check if we have any findings from source-code scanners.COMMENT
LOWraptor_agentic.py4511 # Check if validation produced enriched findingsCOMMENT
LOWraptor_codeql.py190 # Check if we should do autonomous analysisCOMMENT
LOWcore/llm/detection.py405 # Check if any keys need attentionCOMMENT
LOWcore/llm/detection.py875 # Check if model has a keyCOMMENT
LOWcore/llm/config.py1413 # Check if any model has a role setCOMMENT
LOWcore/llm/client.py3544 # Check if last error was quota-relatedCOMMENT
LOWcore/llm/providers.py1515 # Check if already a Pydantic model classCOMMENT
LOWcore/license/detector.py758 # Read the file ONCE — classify_text AND extract refsCOMMENT
LOWcore/audit/dispatch_completeness.py126 # Check if at least one value looks callable: a bare Name, anCOMMENT
LOWcore/audit/ts_extract.py1275 # Check if enclosing function signals truncationCOMMENT
LOWcore/audit/attacker_synthesis.py577 # Check if the overall chain matches a known high-impact combination.COMMENT
LOW⚡core/audit/condition_extraction_python.py190 # Check if target is in the if-bodyCOMMENT
LOW⚡core/audit/condition_extraction_python.py196 # Check if target is in the else-bodyCOMMENT
LOWcore/audit/condition_adequacy.py418 # Check if present guards are all irrelevantCOMMENT
LOWcore/audit/pattern_completeness.py206 # Check if ANY synonym is also handled in this file.COMMENT
LOWcore/audit/pattern_completeness.py272 # Check if the sibling is handled ANYWHERE in this file.COMMENT
LOWcore/audit/pattern_completeness.py296 # Check if sibling is ALSO in an exclusion context.COMMENT
LOW⚡core/audit/condition_extraction.py480 # Check if this is a statement-type node that could be consequenceCOMMENT
LOW⚡core/audit/condition_extraction.py490 # Check if sink is in consequenceCOMMENT
LOW⚡core/audit/condition_extraction.py495 # Check if sink is in alternativeCOMMENT
LOW⚡core/audit/condition_extraction.py505 # Check if consequence is just an exit or contains only exitsCOMMENT
LOWcore/audit/condition_extraction.py642 # Check if its body is exit-only (guard clause pattern)COMMENT
LOWcore/audit/refutation.py1195 # Check if any known-bounded function appears in the hypothesis.COMMENT
LOWcore/http/tests/test_egress_backend.py111 # Set no_proxy to its most aggressive form before constructing.COMMENT
LOWpackages/binary_analysis/crash_analyser.py1419 # Check if binary has stack canaries via symbol table (not objdump -dCOMMENT
LOWpackages/binary_analysis/crash_analyser.py1532 # Check if address is in typical memory regionsCOMMENT
LOWpackages/fuzzing/afl_runner.py726 # Check if we're on macOSCOMMENT
LOWpackages/fuzzing/afl_runner.py1172 # Check if all instances are still runningCOMMENT
LOWpackages/fuzzing/afl_runner.py340 if not self.binary.stat().st_mode & 0o111: # Check if executableCODE
LOWpackages/web/checks/cache.py161 # Check if the response contains profile/account dataCOMMENT
LOWpackages/web/checks/tls.py19 # Check if HTTP version redirectsCOMMENT
LOWpackages/sca/transitive.py213 # Check if this entry is itself a workspace root with a lockfileCOMMENT
LOWpackages/codeql/database_manager.py802 # Check if database is validCOMMENT
LOWpackages/codeql/dataflow_validator.py595 # Check if this is a path-problem (dataflow)COMMENT
LOWpackages/autonomous/dialogue.py706 # Check if we've seen this pattern beforeCOMMENT
LOWpackages/autonomous/goal_planner.py207 # Check if crash type matches goalCOMMENT
LOWpackages/autonomous/goal_planner.py214 # Check if crash is in target code areaCOMMENT
LOWpackages/exploit_feasibility/strategies.py542 # Check if disabled via boot paramCOMMENT
LOWpackages/exploit_feasibility/graph.py338 # Check if goal reachedCOMMENT
LOWpackages/exploit_feasibility/graph.py344 # Check if we can reach the goal with current capabilitiesCOMMENT
LOWpackages/exploit_feasibility/analyzer.py255 # Check if blocked by RELROCOMMENT
LOWpackages/exploit_feasibility/analyzer.py2143 # Check if PT_GNU_STACK is actually presentSTRING
LOWpackages/exploit_feasibility/analyzer.py2290 # Check if RWE (read-write-execute) - means NX disabledSTRING
LOWpackages/exploit_feasibility/analyzer.py4258 # Check if size is on this line (old format) or next line (new format)STRING
LOWpackages/exploit_feasibility/analyzer.py4908 # Check if stack pivot is possible based on ROP gadgetsSTRING
LOWpackages/exploit_feasibility/api.py75 # Check if it's a web vulnerabilityCOMMENT
LOWpackages/exploit_feasibility/api.py2204 # Check if format string write is actually available (verified %n working)COMMENT
LOWpackages/exploit_feasibility/api.py2492 # Check if write_count supports necessary multi-writesCOMMENT
LOWpackages/exploit_feasibility/api.py2602 # Check if we can actually build ROPCOMMENT
LOWpackages/exploitability_validation/orchestrator.py560 # Check if we should skip remaining stagesCOMMENT
LOWpackages/exploitability_validation/orchestrator.py1217 # Check if we have any "not_disproven" findings that need Stage BCOMMENT
LOWpackages/exploitability_validation/orchestrator.py1652 # Check if any findings need feasibility analysis.COMMENT
Self-Referential Comments19 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUMcore/llm/tests/test_llm_callbacks.py93 # Create a mock AuthenticationErrorCOMMENT
MEDIUM⚡core/hash/tests/test_hash.py102 # Create a small fileCOMMENT
MEDIUM⚡core/hash/tests/test_hash.py107 # Create a large file (simulate by setting very small limit)COMMENT
MEDIUM⚡core/hash/tests/test_hash.py170 # Create a file that will be skippedCOMMENT
MEDIUMcore/security/_dangerous_env_strip.sh17# This file is SOURCED, not executed. It declares the canonical set ofCOMMENT
MEDIUMcore/project/tests/test_add.py98 # Create a subdirectory with just the runsCOMMENT
MEDIUMcore/sandbox/tests/test_spawn_mount_ns.py469 # Create the overlay source file in our temp dir.COMMENT
MEDIUMcore/sandbox/tests/test_sandbox_attack_scenarios.py738 # Create a real dir with a secret file, a symlink to it.COMMENT
MEDIUM⚡core/sandbox/tests/test_e2e_sandbox.py249 # Create a symlink inside output pointing outside every grantCOMMENT
MEDIUMcore/sandbox/tests/test_observe_profile.py562 # Create the real (would-be-spoofed) data somewhere else.COMMENT
MEDIUMcore/inventory/tests/test_shared_checklist.py214 # Create the project JSON and .active symlink in theCOMMENT
MEDIUMcore/inventory/tests/test_shared_checklist.py298 # Create a symlink (not a real file) — should be skippedCOMMENT
MEDIUM⚡core/orchestration/tests/test_understand_bridge.py1930 # Create a target dir so on-disk hashing worksCOMMENT
MEDIUM⚡packages/sca/tests/test_verify.py262 # Create a node_modules dir we don't want copied (would be huge in real life).COMMENT
MEDIUMpackages/openant/tests/test_phase1b_integration.py151 # Create a minimal SARIF fileCOMMENT
MEDIUM⚡packages/exploit_feasibility/analyzer.py192# This module provides FeasibilityReport and FeasibilityAnalyzer classes.COMMENT
MEDIUM⚡…ges/exploitability_validation/tests/test_validation.py1677 # Create a minimal SARIF fileSTRING
MEDIUM⚡.github/tests/test_release_workflow.sh307# Create an off-main tagCOMMENT
MEDIUM.github/tests/test_ci_controls_docs.py526 # Creating a workflow_dispatch event is the actions scope'sCOMMENT
Fake / Example Data48 hits · 50 pts
SeverityFileLineSnippetContext
LOWcore/dataflow/tests/test_barrier_synth.py282 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOWcore/llm/dispatcher/tests/test_lifecycle.py29 creds._keys = {"anthropic": "fake-key", "openai": None, "gemini": None}CODE
LOW…re/llm/dispatcher/tests/test_inproc_scratch_cleanup.py36 creds._keys = {"anthropic": "fake-key", "openai": None, "gemini": None}CODE
LOW⚡core/llm/tests/test_pinned_model.py62 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOW⚡core/llm/tests/test_pinned_model.py72 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOW⚡core/llm/tests/test_pinned_model.py84 monkeypatch.setenv(v, "test-fake-key")CODE
LOW⚡core/llm/tests/test_pinned_model.py141 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOW⚡core/llm/tests/test_pinned_model.py157 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOW⚡core/llm/tests/test_pinned_model.py229 "api_key": "test-fake-key"},CODE
LOWcore/llm/tests/test_pinned_model.py177 api_key="test-fake-key", max_tokens=max_tokens,CODE
LOWcore/llm/tests/test_pinned_model.py240 assert cfg.primary_model.api_key == "test-fake-key"CODE
LOWcore/llm/tests/test_instructor_refusal.py74 api_key="dummy-key-for-tests",CODE
LOWcore/llm/tests/test_bedrock_live_features.py337 ("Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOWcore/llm/tests/test_bedrock_live_features.py337 ("Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOWcore/recall/tests/test_cvefix_manifest.py53 env = ["-c", "user.email=t@example.org", "-c", "user.name=t"]STRING
LOWcore/recall/tests/test_cvefix_manifest.py191 env = ["-c", "user.email=t@example.org", "-c", "user.name=t"]STRING
LOWcore/recall/tests/test_cvefix_manifest.py209 env = ["-c", "user.email=t@example.org", "-c", "user.name=t"]STRING
LOWcore/recall/tests/test_cvefix_manifest.py265 env = ["-c", "user.email=t@example.org", "-c", "user.name=t"]STRING
LOWcore/recall/tests/test_pinned_clone.py28 env = ["-c", "user.email=t@example.org", "-c", "user.name=t"]CODE
LOWcore/recall/tests/test_juliet_manifest.py447 ["git", "-C", str(clone), "-c", "user.email=t@example.org",CODE
LOWcore/recall/tests/test_juliet_manifest.py89 ["git", "-C", str(clone), "-c", "user.email=t@example.org",STRING
LOWcore/recall/tests/test_juliet_manifest.py198 ["git", "-C", str(clone), "-c", "user.email=t@example.org",STRING
LOWcore/recall/tests/test_juliet_manifest.py365 ["git", "-C", str(clone), "-c", "user.email=t@example.org",STRING
LOW⚡core/audit/tests/test_e2e_block_sink.py156 ctx = {"source": "placeholder"}CODE
LOW⚡core/audit/tests/test_e2e_block_sink.py173 ctx = {"source": "placeholder"}CODE
LOW⚡core/audit/tests/test_e2e_block_sink.py190 ctx = {"source": "placeholder"}CODE
LOW⚡core/audit/tests/test_e2e_block_sink.py219 ctx = {"source": "placeholder"}CODE
LOWcore/audit/tests/test_e2e_block_sink.py398 ctx = {"source": "placeholder"}CODE
LOW⚡core/run/tests/test_provenance.py909 return_value={"name": "Jane Doe", "handle": "@jane"}):CODE
LOW⚡core/run/tests/test_provenance.py911 self.assertEqual(m["who"], {"name": "Jane Doe", "handle": "@jane"})CODE
LOW⚡core/run/tests/test_identity.py21 p = self._write(d, {"name": "Jane Doe", "handle": "@jane",CODE
LOW⚡core/run/tests/test_identity.py25 {"name": "Jane Doe", "handle": "@jane", "url": "https://x"})CODE
LOW…s/github-evidence-kit/tests/test_gharchive_recovery.py240 "author": {"name": "n", "email": "e@example.org"}},CODE
LOW⚡…thub-evidence-kit/tests/test_url_canonical_identity.py140 author={"name": "a", "email": "a@example.org",CODE
LOW⚡…thub-evidence-kit/tests/test_url_canonical_identity.py142 committer={"name": "a", "email": "a@example.org",CODE
LOW…ges/code_understanding/tests/test_understand_resume.py70 api_key="fake-key-for-test",CODE
LOW…ode_understanding/tests/test_libexec_trajectory_e2e.py114 api_key="fake-key-for-test",CODE
LOW⚡…ckages/code_understanding/tests/dispatch/test_tools.py562 (d / "x.c").write_text("placeholder")CODE
LOWpackages/sca/llm/tests/test_registry_view.py30 {"name": "alice", "email": "alice@example.org"},CODE
LOWpackages/sca/llm/tests/test_registry_view.py45 "maintainers": [{"name": "alice", "email": "alice@example.org"}],CODE
LOWpackages/sca/llm/tests/test_registry_view.py52 {"name": "alice", "email": "alice@example.org"},CODE
LOWpackages/sca/llm/tests/test_registry_view.py67 "author_email": "alice@example.org",CODE
LOW⚡packages/sca/llm/tests/test_registry_view.py206 {"name": "alice", "email": "alice@example.org"},CODE
LOW⚡packages/sca/llm/tests/test_registry_view.py223 {"name": "b", "email": "b@example.org"},CODE
LOW…kages/sca/supply_chain/tests/test_registry_metadata.py421 assert lbf[0].evidence["sole_maintainer"] == "Acme Corp", (CODE
LOW…kages/sca/supply_chain/tests/test_registry_metadata.py1181 {"name": "real-person", "email": "p@example.org"},CODE
LOW⚡packages/cve_env/tests/unit/test_dockerfile_hygiene.py109 text = 'FROM alpine:3.19\nLABEL maintainer="user@example.com"\n'CODE
LOW.github/tests/test_release_workflow.sh86 git config user.email "test@test.com"CODE
Overly Generic Function Names61 hits · 50 pts
SeverityFileLineSnippetContext
LOWcore/dataflow/tests/test_injection_prescreen.py746 " def helper():\n"CODE
LOWcore/dataflow/tests/test_smt_barrier.py566 "def helper(x):\n"CODE
LOWcore/dataflow/tests/test_smt_barrier.py1069 " def helper():\n"CODE
LOW…ema_constants/tests/test_validate_schema_cache_type.py108 def helper():CODE
LOWcore/llm/http_pool.py1306 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWcore/llm/tests/test_http_pool.py1495 def handle_request(self, request):CODE
LOW⚡core/analysis/tests/test_interproc.py227 "def helper(a, b):\n"CODE
LOW⚡core/analysis/tests/test_interproc.py242 "def helper(a, b):\n"CODE
LOW⚡core/analysis/tests/test_interproc.py379 "def helper(a, b):\n"CODE
LOWcore/analysis/tests/test_interproc.py646 "def helper(a, *rest, key=''):\n"CODE
LOWcore/analysis/tests/test_interproc.py660 "def helper(a, *rest, key=''):\n"CODE
LOWcore/analysis/tests/test_interproc.py698 "def helper(a='', *rest):\n"CODE
LOW⚡core/analysis/tests/test_reachability_closure.py298 "def helper():\n"CODE
LOW⚡core/analysis/tests/test_reachability.py395 "def helper(): pass\n"CODE
LOW⚡core/analysis/tests/test_reachability.py1184 "from mymod import *\ndef helper():\n pass\nhelper()\n",CODE
LOW⚡core/analysis/tests/test_reachability.py1213 "def helper():\n return 1\ndef entry():\n helper()\n",CODE
LOW⚡core/analysis/tests/test_reachability.py1222 "def helper():\n return 1\ndef entry():\n helper()\n",CODE
LOWcore/analysis/tests/test_reachability.py429 "def helper(): pass\n"CODE
LOW⚡core/analysis/tests/test_package_callgraph.py605 _record_for("pkg/utils.py", "def helper():\n return 'real'\n"),CODE
LOW⚡core/analysis/tests/test_package_callgraph.py610 " def helper():\n"CODE
LOW⚡core/analysis/tests/test_package_callgraph.py633 "def helper():\n return 'module'\n"CODE
LOW⚡core/analysis/tests/test_package_callgraph.py635 " def helper():\n"CODE
LOW⚡core/analysis/tests/test_package_callgraph.py650 " def helper():\n"CODE
LOW⚡core/analysis/tests/test_python_module_callgraph.py92 "def helper(x): return x\n"CODE
LOW⚡core/analysis/tests/test_python_module_callgraph.py99 "def helper(): pass\n"CODE
LOW⚡core/analysis/tests/test_python_module_callgraph.py263 " def helper(): pass\n"CODE
LOWcore/analysis/tests/test_taint_multi_lang.py125function handleRequest(userInput, res) {CODE
LOW⚡core/analysis/tests/test_reachability_adjacency.py157 "def helper():\n"CODE
LOW⚡core/analysis/tests/test_reachability_adjacency.py338 "def helper():\n"CODE
LOW⚡core/analysis/tests/test_reachability_adjacency.py384 "def helper():\n"CODE
LOW⚡core/analysis/tests/test_reachability_adjacency.py441 "def helper():\n" # line 1CODE
LOW⚡core/analysis/tests/test_reachability_adjacency.py442 " def helper():\n" # line 2 — nested redefinitionCODE
LOW⚡core/analysis/tests/test_reachability_adjacency.py940 "def helper():\n"CODE
LOW⚡core/analysis/tests/test_reachability_adjacency.py1118 "def helper():\n"CODE
LOWcore/analysis/tests/test_reachability_adjacency.py1376 "def helper(x):\n"CODE
LOW⚡core/analysis/tests/test_reachability_evidence.py58 "def helper():\n"CODE
LOWcore/analysis/tests/test_sanitizer_cut_value_bound.py769 " def helper():\n"CODE
LOW⚡core/analysis/tests/test_taint_summaries.py204 "def helper(s):\n"CODE
LOW⚡core/analysis/tests/test_taint_summaries.py430 "def helper(v):\n"CODE
LOWcore/analysis/tests/test_taint_summaries.py238 "def helper(a, b):\n"CODE
LOWcore/analysis/tests/test_taint_summaries.py819 "def helper(a, *rest, key=''):\n"CODE
LOWcore/taint/tests/test_engine.py696 " def helper(self, x):\n"CODE
LOWcore/taint/tests/test_summaries.py149def helper(x):CODE
LOWcore/audit/tests/test_test_discovery.py109 source = "def helper():\n pass\n"CODE
LOWcore/audit/tests/test_findings_attribution.py280 "def helper():\n"CODE
LOW⚡core/inventory/tests/test_inventory.py396 (src / "utils.py").write_text("def helper(x):\n return x\n")CODE
LOWcore/inventory/tests/test_inventory.py244 code = "function handleRequest(req, res) {\n}\n"CODE
LOWcore/inventory/tests/test_inventory.py325 def test_function(self):CODE
LOWcore/inventory/tests/test_extractors.py95 code = "def helper(): pass"CODE
LOWcore/orchestration/tests/test_reachability_prepass.py387 "def helper(): pass\n"CODE
LOWcore/orchestration/tests/test_context_map_callgraph.py176 "def helper():\n"CODE
LOW…orchestration/tests/test_agentic_passes_integration.py66 "def handle_request(req):\n return req.body\n"CODE
LOW…re/orchestration/tests/test_reachability_enrichment.py612 "def helper(cmd):\n"CODE
LOW…ts/test_validation_helper_inventory_mismatch_stderr.py51def helper():CODE
LOWcore/run/tests/test_validation_helper_parts_fid_gate.py58def helper():CODE
LOWcore/run/tests/test_validation_helper_parts.py37def helper():CODE
LOWpackages/binary_analysis/tests/test_gdb_injection.py438 (repo / "lib" / "utils.py").write_text("def helper():\n pass\n")CODE
LOW⚡…kages/sca/reachability/tests/test_host_reachability.py83 "def helper():\n" # line 1CODE
LOW…tability_validation/tests/test_witness_helper_floor.py41def helper():CODE
LOW…loitability_validation/tests/test_stage_e_env_build.py37def helper():CODE
1 more matches not shown…
Synthetic Comment Markers2 hits · 16 pts
SeverityFileLineSnippetContext
HIGHcore/audit/tests/test_vendored_detector.py48 " * This code was generated with the following revisions:\n"CODE
HIGH⚡packages/joern/tests/test_heap_ledger.py88 # granted as requested, not raised to it.COMMENT
Slop Phrases6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM⚡core/llm/tool_use/tests/test_fallback.py234 "Let me know if you need anything else."CODE
MEDIUM⚡core/json/tests/test_tolerant.py675 + self._ARRAY + "\n\nLet me know if you need more.")CODE
LOW⚡packages/sca/parsers/tests/test_inline_installs.py863 "# don't forget to pip install requests before running\n",CODE
LOW⚡packages/sca/parsers/tests/test_inline_installs.py863 "# don't forget to pip install requests before running\n",CODE
MEDIUM⚡packages/cve_env/tests/unit/test_refusals.py345 "I'm unable to comply with this.",CODE
MEDIUMpackages/cve_env/tests/unit/test_refusals.py35 "I'm unable to comply with this.",CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcore/progress/__init__.py526# Example usage:COMMENT
LOWcore/sandbox/scripts/feature-matrix/run-matrix.sh9# Usage:COMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMcore/llm/dispatcher/tests/test_upstream_stale_retry.py441CODE