Repository Analysis

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.

43.7 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of gadievron/raptor, a Python project with 3,471 GitHub stars. SynthScan v2.0 examined 1,233,263 lines of code across 3124 source files, recording 33865 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 43.7 places this repository in the Strong AI signal band.

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

43.7
Adjusted Score
43.7
Raw Score
100%
Time Factor
2026-08-02
Last Push
3.5K
Stars
Python
Language
1.2M
Lines of Code
3.1K
Files
33.9K
Pattern Hits
2026-08-02
Scan Date
0.07
HC Hit Rate

What These Metrics Mean

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

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

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

CRITICAL 14HIGH 195MEDIUM 7764LOW 25892

Directory Score Breakdown

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

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators7406 hits · 27134 pts
SeverityFileLineSnippetContext
MEDIUMconftest.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMconftest.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMraptor_agentic.py2300 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2302 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2531 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2533 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2595 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2597 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2605 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2607 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2484 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2486 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2747 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2749 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2802 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2806 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2834 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2836 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2925 # ========================================================================COMMENT
MEDIUMraptor_agentic.py2927 # ========================================================================COMMENT
MEDIUMraptor_agentic.py1792 # ========================================================================STRING
MEDIUMraptor_agentic.py1794 # ========================================================================STRING
MEDIUMraptor_agentic.py1797 # ========================================================================STRING
MEDIUMraptor_agentic.py1799 # ========================================================================STRING
MEDIUMraptor_agentic.py1813 # ========================================================================STRING
MEDIUMraptor_agentic.py1819 # ========================================================================STRING
MEDIUMraptor_agentic.py1906 # ========================================================================STRING
MEDIUMraptor_agentic.py1914 # ========================================================================STRING
MEDIUMraptor_agentic.py1722 # ========================================================================STRING
MEDIUMraptor_agentic.py1724 # ========================================================================STRING
MEDIUMraptor_fuzzing.py587 # ========================================================================STRING
MEDIUMraptor_fuzzing.py589 # ========================================================================STRING
MEDIUMraptor_fuzzing.py832 # ========================================================================STRING
MEDIUMraptor_fuzzing.py834 # ========================================================================STRING
MEDIUMraptor_fuzzing.py302 # ========================================================================STRING
MEDIUMraptor_fuzzing.py304 # ========================================================================STRING
MEDIUMraptor_fuzzing.py407 # ========================================================================STRING
MEDIUMraptor_fuzzing.py409 # ========================================================================STRING
MEDIUMraptor_fuzzing.py516 # ========================================================================STRING
MEDIUMraptor_fuzzing.py518 # ========================================================================STRING
MEDIUMcore/dataflow/known_safe_calls.py54 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py56 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py81 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py83 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py129 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py131 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py144 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py146 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py169 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py171 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py200 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py202 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py220 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/known_safe_calls.py222 # ------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/smt_barrier.py74# --------------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/smt_barrier.py81# --------------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/smt_barrier.py101# --------------------------------------------------------------------------COMMENT
MEDIUMcore/dataflow/smt_barrier.py103# --------------------------------------------------------------------------COMMENT
7346 more matches not shown…
Hyper-Verbose Identifiers18513 hits · 17732 pts
SeverityFileLineSnippetContext
LOWconftest.py109def pytest_collection_modifyitems(items):CODE
LOWraptor.py92def _extract_and_strip_max_cost_usd(args: list) -> tuple[float | None, list]:CODE
LOWraptor.py189def _extract_agentic_log_level(args: list) -> str | None:CODE
LOWraptor_agentic.py610def _prepare_fuzz_crashes_for_validate(CODE
LOWraptor_agentic.py3530def _build_threat_model_report_section(summary):CODE
LOWraptor_agentic.py41def _materialise_threat_model_phase(CODE
LOWraptor_agentic.py262def _write_threat_model_candidate_sarif(context_map: dict, sarif_path: Path) -> int:CODE
LOWraptor_agentic.py360def _print_threat_model_phase(summary: dict) -> None:CODE
LOWraptor_agentic.py692def _candidate_replay_binaries(binary_path: Path) -> list[str]:CODE
LOWraptor_agentic.py825def _crash_context_to_validate_finding(context, replay: list[dict] | None = None) -> dict:CODE
LOWraptor_agentic.py864def _run_fuzz_validation_smoke(findings_path: Path, target: Path, out_dir: Path) -> dict:CODE
LOWraptor_agentic.py932def _build_fuzz_phase_summary(fuzzing_result: dict | None, fuzz_out: Path | None) -> dict:CODE
LOWraptor_agentic.py985def _build_completion_manifest(orch_meta, import_result, import_sarif_files,CODE
LOWraptor_agentic.py3573def _build_aggregation_report_section(aggregation):CODE
LOWraptor_agentic.py3635def _build_dataflow_validation_report_section(dv):CODE
LOWcore/dataflow/evidence_collector.py39def collect_sanitizer_evidence(CODE
LOWcore/dataflow/evidence_collector.py96def _describe_pool_completeness(*, file_count: int, truncated: bool) -> str:CODE
LOWcore/dataflow/smt_barrier.py371def _try_charset_sub_validator(line: str, offset: int) -> Optional[ValidatorSpec]:CODE
LOWcore/dataflow/smt_barrier.py571def _line_in_try_body_with_catching_handler(CODE
LOWcore/dataflow/smt_barrier.py614def _validator_block_exits_on_failure(CODE
LOWcore/dataflow/smt_barrier.py679def _variable_reassigned_between(CODE
LOWcore/dataflow/smt_barrier.py1001def _lexical_validator_dominates(CODE
LOWcore/dataflow/smt_barrier.py1089def _crosses_function_boundary(CODE
LOWcore/dataflow/smt_barrier.py1126def _python_chain_reaches_sink(CODE
LOWcore/dataflow/smt_barrier.py1184def substitution_dominates_sink(CODE
LOWcore/dataflow/smt_barrier.py1236def _lexical_substitution_dominates(CODE
LOWcore/dataflow/evidence_renderer.py33def render_evidence_for_prompt(evidence: SanitizerEvidence) -> str:CODE
LOWcore/dataflow/barrier_synth.py468def _summarise_surviving_finding(CODE
LOWcore/dataflow/owasp_corpus_generator.py84def _rewrite_finding_paths_and_snippets(CODE
LOWcore/dataflow/sanitizer_catalog.py176def sanitizer_callables_for_cwe(CODE
LOWcore/dataflow/structural_validator.py260def _identify_sanitizer_calls(CODE
LOWcore/dataflow/structural_validator.py284def _extract_branch_guards_from_content(CODE
LOWcore/dataflow/codeql_augmented_run.py180def run_baseline_and_augmented(CODE
LOWcore/dataflow/cvefix_walk.py217def _toolchain_readable_paths(codeql_bin: str) -> list:CODE
LOWcore/dataflow/tier1_llm.py163def _mechanical_recheck_charset_kind(CODE
LOWcore/dataflow/tier1_llm.py186def _find_best_validator_line(CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py28 def test_all_fixtures_resolve_to_records(self):CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py34 def test_validator_fixture_lexical_suppresses(self):CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py39 def test_sanitizer_cut_safe_value_bound_suppresses(self):CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py47 def test_helper_fixture_inter_proc_suppresses(self):CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py52 def test_wrong_variable_not_suppressed(self):CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py59 def test_complementary_coverage_fails_removal_gate(self):CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py69 def test_no_bug_hidden_by_either_method(self):CODE
LOWcore/dataflow/tests/test_sanitizer_cut_parity_report.py74 def test_report_renders_and_states_gate_no(self):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py54def test_analyze_builds_expected_cli(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py172def test_default_timeout_is_reasonable_for_a_real_codeql_run():CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py183def test_analyze_raises_codeqlrunerror_on_non_zero_exit(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py191def test_analyze_trims_very_long_stderr_in_error_message(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py216def test_analyze_rejects_empty_queries(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py228def test_baseline_and_augmented_runs_twice(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py73def test_analyze_omits_additional_packs_when_no_extension(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py84def test_analyze_adds_additional_packs_when_extension_supplied(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py102def test_analyze_creates_output_parent_dir(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py110def test_analyze_returns_analysis_result(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py128def test_analyze_forwards_extra_args(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py143def test_analyze_uses_custom_codeql_binary_path(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py155def test_analyze_passes_timeout_to_runner(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py202def test_analyze_raises_on_timeout(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py242def test_baseline_first_call_has_no_extension_pack(tmp_path: Path):CODE
LOWcore/dataflow/tests/test_codeql_augmented_run.py255def test_augmented_second_call_has_extension_pack(tmp_path: Path):CODE
18453 more matches not shown…
Unused Imports2801 hits · 2482 pts
SeverityFileLineSnippetContext
LOWraptor.py61CODE
LOWcore/dataflow/validator.py14CODE
LOWcore/dataflow/known_safe_calls.py18CODE
LOWcore/dataflow/finding.py18CODE
LOWcore/dataflow/run_corpus.py13CODE
LOWcore/dataflow/smt_barrier.py61CODE
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.py31CODE
LOWcore/dataflow/ghsa_harvester.py23CODE
LOWcore/dataflow/owasp_corpus_generator.py22CODE
LOWcore/dataflow/cvefix_corpus_generator.py34CODE
LOWcore/dataflow/cvefix_corpus_generator.py49CODE
LOWcore/dataflow/cvefix_pipeline.py18CODE
LOWcore/dataflow/__init__.py16CODE
LOWcore/dataflow/__init__.py16CODE
LOWcore/dataflow/__init__.py16CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/__init__.py17CODE
LOWcore/dataflow/sanitizer_evidence.py37CODE
LOWcore/dataflow/trust_report.py18CODE
LOWcore/dataflow/cvefix_loader.py19CODE
LOWcore/dataflow/sanitizer_catalog.py27CODE
LOWcore/dataflow/structural_validator.py18CODE
LOWcore/dataflow/llm_bridge.py25CODE
LOWcore/dataflow/codeql_augmented_run.py34CODE
LOWcore/dataflow/label.py15CODE
LOWcore/dataflow/llm_extractor.py22CODE
LOWcore/dataflow/cvefix_walk.py20CODE
LOWcore/dataflow/sanitizer_cut_config.py39CODE
LOWcore/dataflow/tier1_llm.py39CODE
LOWcore/dataflow/path_annotator.py37CODE
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_barrier_synth.py3CODE
LOWcore/dataflow/tests/test_barrier_synth.py457CODE
LOWcore/dataflow/tests/test_lexical_removal_switch.py24CODE
LOWcore/dataflow/tests/test_label.py3CODE
LOWcore/dataflow/tests/test_finding.py3CODE
LOWcore/dataflow/tests/test_structural_validator.py3CODE
LOWcore/dataflow/tests/test_adapters_codeql.py3CODE
LOWcore/dataflow/tests/test_tier1_llm.py8CODE
LOWcore/dataflow/tests/test_llm_bridge.py3CODE
LOWcore/dataflow/tests/test_sanitizer_cut_config.py7CODE
LOWcore/dataflow/tests/test_smt_barrier.py10CODE
2741 more matches not shown…
Excessive Try-Catch Wrapping1353 hits · 1219 pts
SeverityFileLineSnippetContext
LOWraptor.py502 except Exception as e:CODE
LOWraptor.py520 except Exception as e:CODE
LOWraptor.py161 except Exception: # noqa: BLE001CODE
LOWraptor.py183 except Exception: # noqa: BLE001CODE
LOWraptor.py280 except Exception as e:CODE
LOWraptor.py430 except Exception as e:CODE
LOWraptor.py444 except Exception: # noqa: BLE001CODE
LOWraptor.py576 except Exception as exc:CODE
LOWraptor.py668 except Exception:CODE
LOWraptor.py673 except Exception as e:CODE
LOWraptor.py779 except Exception as e:CODE
LOWraptor.py816 except Exception as exc:CODE
LOWraptor.py1291 except Exception as e:CODE
LOWraptor_agentic.py600 except Exception as e:CODE
LOWraptor_agentic.py605 except Exception:CODE
LOWraptor_agentic.py2527 except Exception as e:CODE
LOWraptor_agentic.py3517 except Exception as e:CODE
LOWraptor_agentic.py3526 except Exception as e:CODE
LOWraptor_agentic.py99 except Exception as e:CODE
LOWraptor_agentic.py128 except Exception:CODE
LOWraptor_agentic.py173 except Exception as e:CODE
LOWraptor_agentic.py200 except Exception as e:CODE
LOWraptor_agentic.py208 except Exception as e:CODE
LOWraptor_agentic.py439 except Exception as exc:CODE
LOWraptor_agentic.py453 except Exception: # noqa: BLE001CODE
LOWraptor_agentic.py457 except Exception: # noqa: BLE001CODE
LOWraptor_agentic.py478 except Exception as exc:CODE
LOWraptor_agentic.py885 except Exception as e:CODE
LOWraptor_agentic.py1942 except Exception: # noqa: BLE001CODE
LOWraptor_agentic.py1973 except Exception: # noqa: BLE001CODE
LOWraptor_agentic.py2162 except Exception as e:CODE
LOWraptor_agentic.py2337 except Exception as e:CODE
LOWraptor_agentic.py2382 except Exception:CODE
LOWraptor_agentic.py2387 except Exception as e:CODE
LOWraptor_agentic.py3040 except Exception as e:CODE
LOWraptor_agentic.py3042 except Exception as e:CODE
LOWraptor_agentic.py3498 except Exception:CODE
LOWraptor_agentic.py1788 except Exception as e:STRING
LOWraptor_agentic.py1810 except Exception as e:STRING
LOWraptor_agentic.py1893 except Exception as e:STRING
LOWraptor_agentic.py1899 except Exception as e:STRING
LOWraptor_agentic.py1921 except Exception:STRING
LOWraptor_agentic.py1583 except Exception:STRING
LOWraptor_agentic.py1659 except Exception as e:STRING
LOWraptor_agentic.py1686 except Exception as e:STRING
LOWraptor_agentic.py1852 except Exception as e:STRING
LOWraptor_fuzzing.py576 except Exception:STRING
LOWraptor_fuzzing.py582 except Exception as e:STRING
LOWraptor_fuzzing.py825 except Exception as e:STRING
LOWraptor_fuzzing.py223 except Exception as e:STRING
LOWraptor_fuzzing.py252 except Exception as e:STRING
LOWraptor_fuzzing.py318 except Exception as e:STRING
LOWraptor_fuzzing.py328 except Exception as e:STRING
LOWraptor_fuzzing.py364 except Exception as e:STRING
LOWraptor_fuzzing.py424 except Exception as e:STRING
LOWraptor_fuzzing.py623 except Exception as e: # noqa: BLE001 — best-effortSTRING
LOWraptor_fuzzing.py633 except Exception as e: # noqa: BLE001 — best-effortSTRING
LOWraptor_codeql.py53 except Exception as e:CODE
LOWraptor_codeql.py63 except Exception as e:CODE
LOWraptor_codeql.py232 except Exception as e:CODE
1293 more matches not shown…
Cross-Language Confusion159 hits · 913 pts
SeverityFileLineSnippetContext
HIGHraptor_fuzzing.py208 "Allowlist matches ExploitValidator: address, undefined, "STRING
HIGHcore/dataflow/tests/test_smt_barrier.py643 " if (!/^[A-Za-z0-9]+$/.test(name)) return null;\n" # line 2CODE
HIGHcore/dataflow/tests/test_smt_barrier.py653 "+ if (!/^[A-Za-z0-9]+$/.test(name)) return null;\n"CODE
HIGHcore/dataflow/scripts/handlabel_seed.py308 rationale="@PathVariable userId (line 43) flows into UserProfile construction (line 51). The auth check on line CODE
HIGHcore/sarif/parser.py737 # finding can carry `{"snippet": null}` or `{"message": null}`COMMENT
HIGHcore/llm/tests/test_quota_detection.py170 "'tokens', 'param': null, 'code': 'rate_limit_exceeded'}}"CODE
HIGHcore/analysis/binary_oracle.py1010 "address": null},STRING
HIGHcore/analysis/cfg_builder_cpp.py30 ``a && escape(x)`` is independently attributable) is documentedSTRING
HIGHcore/analysis/taint_multi_lang.py85_JAVA_NULL_CHECK = re.compile(r"if\s*\(\s*(\w+)\s*(?:==\s*null|!=\s*null)")CODE
HIGHcore/analysis/taint_multi_lang.py91 r"if\s*\(\s*!?\s*(\w+)\s*(?:===?\s*(?:null|undefined)|!==?\s*(?:null|undefined))"CODE
HIGHcore/analysis/tests/test_lifecycle_field_discovery.py187 lines[i] = "if (auth && permission && null && lock && bounds) init alloc free"STRING
HIGHcore/analysis/tests/test_lifecycle_field_discovery.py211 if (s->auth_level > 0 && s->token != NULL) {CODE
HIGHcore/analysis/tests/test_taint_multi_lang.py34 if (input == null) return;CODE
HIGHcore/analysis/tests/test_taint_multi_lang.py76 if (data === null) throw new Error("null");CODE
HIGHcore/analysis/tests/test_lifecycle_collector.py25 cond = _extract_condition_from_label("If (task->mm && task->flags & PF_EXITING)")CODE
HIGHcore/analysis/tests/test_lifecycle_collector.py26 assert cond == "task->mm && task->flags & PF_EXITING"CODE
HIGHcore/analysis/tests/test_lifecycle_checker.py55 assert _normalize_condition(" a && b ") == "a && b"CODE
HIGHcore/smt_solver/canonicalise.py95 # identifiers like `a.equals(b)` (`.` and `(` areCOMMENT
HIGHcore/smt_solver/session.py97 solver.push()CODE
HIGHcore/smt_solver/session.py99 raise RuntimeError(f"scoped: solver.push() failed: {e}") from eCODE
HIGHcore/config/tests/test_config.py137 # to a safe sentinel (/dev/null) so git ignores ~/.gitconfig andCOMMENT
HIGHcore/security/tests/test_prompt_envelope.py517 slots={"code": TaintedString(value="a < b && c > d", trust="untrusted")},CODE
HIGHcore/security/tests/test_prompt_envelope.py616 code = "if (a < b && c > d) { x = a < 10; }"CODE
HIGHcore/security/tests/test_adversarial_robustness.py356 payload = "if (a < b && c > d) { vector<int> v; }"CODE
HIGHcore/dockerfile/apt.py17 * ``RUN apt-get update && apt-get install -y pkg`` (chained)STRING
HIGHcore/dockerfile/apt.py164 commands whether they're standalone (``a && b``) or fusedSTRING
HIGHcore/dockerfile/tests/test_parser.py23RUN apt-get update && apt-get install -y curlCODE
HIGHcore/dockerfile/tests/test_apt.py74 "RUN apt-get update && apt-get install -y curl wget\n"CODE
HIGHcore/dockerfile/tests/test_apt.py92 "RUN apt-get install -y maybe-this || apt-get install -y fallback\n"CODE
HIGHcore/dockerfile/tests/test_apt.py136 "RUN apt-get update && apt-get install -y --no-install-recommends \\\n"CODE
HIGHcore/dockerfile/tests/test_apt.py516 '"apt-get update && apt-get install -y curl"\n'CODE
HIGHcore/dockerfile/tests/test_apt.py70 """The standard ``apt-get update && apt-get install -y ...``STRING
HIGHcore/dockerfile/tests/test_apt.py131 ``RUN apt-get update && apt-get install -y --no-install-recommends \\``STRING
HIGHcore/audit/frida_observe.py302 var addrs = Module.findExportByName(null, name);CODE
HIGHcore/audit/frida_observe.py307 if (exp) matches.push(exp);CODE
HIGHcore/audit/frida_observe.py322 argv.push(args[i].toString());CODE
HIGHcore/audit/frida_observe.py324 argv.push('?');CODE
HIGHcore/audit/frida_observe.py339 'retval': retval.toString(),CODE
HIGHcore/audit/condition_smt.py337 solver.push()CODE
HIGHcore/audit/condition_smt.py389 solver.push()CODE
HIGHcore/audit/sentinel_collapse.py392 rf"\b{re.escape(var_name)}\s*!==?\s*(?:null|undefined)\b",CODE
HIGHcore/audit/tests/test_path_feasibility.py105 hyp = "assuming ptr is non-null, the dereference is safe"CODE
HIGHcore/audit/tests/test_condition_binding.py182 source = "void f() {\n if (is_admin && len < MAX)\n memcpy(dst, src, len);\n}"CODE
HIGHcore/audit/tests/test_llm_review.py293 "When the allocation fails and returns null, the subsequent "CODE
HIGHcore/audit/tests/test_condition_smt.py161 "len < MAX_SIZE && len < LIMIT",CODE
HIGHcore/audit/tests/test_condition_smt.py177 "len < MAX_SIZE && len < MID",CODE
HIGHcore/audit/tests/test_value_space_checker.py428 return trueCODE
HIGHcore/audit/tests/test_value_space_checker.py430 return falseCODE
HIGHcore/audit/tests/test_value_space_checker.py432 return falseCODE
HIGHcore/audit/tests/test_prefilter.py238 if (idx < 0 || idx >= len)CODE
HIGHcore/audit/tests/test_prefilter.py328 while (si < src_len && di < dst_cap) {CODE
HIGHcore/audit/tests/test_prefilter.py348 while (i < cap - 1 && src[i]) {CODE
HIGHcore/audit/tests/test_prefilter.py368 while (i < cap && src[i]) {CODE
HIGHcore/audit/tests/test_fail_open_detector.py294 results.push(port);CODE
HIGHcore/audit/tests/test_fail_open_detector.py316 results.push(port);CODE
HIGHcore/audit/tests/test_sentinel_collapse.py334 if (result !== null) {CODE
HIGHcore/audit/tests/test_ts_extract.py65 return null;CODE
HIGHcore/audit/tests/test_ts_extract.py69 return undefined;CODE
HIGHcore/audit/tests/test_ts_extract.py86 if (item == null) {CODE
HIGHcore/audit/tests/test_ts_extract.py87 return null;CODE
99 more matches not shown…
Modern Structural Boilerplate888 hits · 895 pts
SeverityFileLineSnippetContext
LOWcore/__init__.py83__all__ = [CODE
LOWcore/dataflow/sanitizer_cut_parity_report.py225__all__ = [CODE
LOWcore/dataflow/cvefix_corpus_generator.py53logger = logging.getLogger(__name__)CODE
LOWcore/dataflow/__init__.py31__all__ = [CODE
LOWcore/dataflow/sanitizer_catalog.py294__all__ = [CODE
LOWcore/dataflow/structural_validator.py39logger = logging.getLogger(__name__)CODE
LOWcore/dataflow/llm_bridge.py44logger = logging.getLogger(__name__)CODE
LOWcore/dataflow/sanitizer_cut_config.py355__all__ = [CODE
LOWcore/dataflow/sanitizer_cut_parity.py568__all__ = [CODE
LOWcore/reporting/witnesses.py31logger = logging.getLogger(__name__)CODE
LOWcore/reporting/__init__.py33__all__ = [CODE
LOWcore/reporting/scan_coverage.py175__all__ = [CODE
LOWcore/staleness/__init__.py37__all__ = [CODE
LOWcore/witness/store.py36logger = logging.getLogger(__name__)CODE
LOWcore/witness/discovery.py32logger = logging.getLogger(__name__)CODE
LOWcore/witness/__init__.py46__all__ = [CODE
LOWcore/llm/prompt_budget.py32logger = logging.getLogger(__name__)CODE
LOWcore/llm/semantic_entropy.py232__all__ = ["divergence", "pairwise_distance"]CODE
LOWcore/llm/egress.py90logger = logging.getLogger(__name__)CODE
LOWcore/llm/egress.py284__all__ = [CODE
LOWcore/llm/cc_proxy_hosts.py57logger = logging.getLogger(__name__)CODE
LOWcore/llm/config.py495def set_operator_primary_override(model: Optional['ModelConfig']) -> None:CODE
LOWcore/llm/log_quiet.py68__all__ = ["quiet_noisy_loggers"]CODE
LOWcore/llm/task_types.py83__all__ = ["TaskType", "FAST_TIER_TASKS"]CODE
LOWcore/llm/concurrency.py22logger = logging.getLogger(__name__)CODE
LOWcore/llm/__init__.py36__all__ = [CODE
LOWcore/llm/coerce.py80__all__ = ["to_int_safe", "to_float_safe"]CODE
LOWcore/llm/cost.py67__all__ = ["sanitize_cost", "sanitize_iterations"]CODE
LOWcore/llm/bedrock_prefixes.py54__all__ = [CODE
LOWcore/llm/throttle.py43logger = logging.getLogger(__name__)CODE
LOWcore/llm/cc_adapter.py16logger = logging.getLogger(__name__)CODE
LOWcore/llm/tool_use/__init__.py42__all__ = [CODE
LOWcore/llm/tool_use/loop.py166logger = logging.getLogger(__name__)CODE
LOWcore/llm/dispatcher/__init__.py37__all__ = [CODE
LOWcore/llm/multi_model/panel_log.py209__all__ = [CODE
LOWcore/llm/multi_model/dispatch.py61logger = logging.getLogger(__name__)CODE
LOWcore/llm/multi_model/calibrated_aggregation.py262__all__ = [CODE
LOWcore/llm/multi_model/__init__.py38__all__ = [CODE
LOWcore/llm/multi_model/dawid_skene.py377__all__ = [CODE
LOWcore/llm/cwe_strategies/__init__.py52__all__ = [CODE
LOWcore/llm/scorecard/prefilter.py144__all__ = [CODE
LOWcore/llm/scorecard/stage_roles.py127__all__ = [CODE
LOWcore/llm/scorecard/stability.py27logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/__init__.py70__all__ = [CODE
LOWcore/llm/scorecard/self_consistency.py27logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/scorecard.py1219__all__ = [CODE
LOWcore/llm/scorecard/reasoning_divergence.py58logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/reasoning_divergence.py186__all__ = [CODE
LOWcore/llm/scorecard/dataflow_validation.py20logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/consensus.py47logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/consensus.py203__all__ = ["record_consensus_outcomes"]CODE
LOWcore/llm/scorecard/cross_family.py22logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/judge.py39logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/judge.py171__all__ = ["record_judge_outcomes"]CODE
LOWcore/llm/scorecard/priors.py316__all__ = [CODE
LOWcore/llm/scorecard/tool_evidence.py40logger = logging.getLogger(__name__)CODE
LOWcore/llm/scorecard/tool_evidence.py190__all__ = [CODE
LOWcore/analysis/reach_audit.py30logger = logging.getLogger(__name__)CODE
LOWcore/analysis/reach_audit.py48def set_joern_server(server) -> None:CODE
LOWcore/analysis/reach_audit.py390__all__ = ["AuditReport", "audit_corpus", "classify_reachability"]CODE
828 more matches not shown…
Over-Commented Block1020 hits · 842 pts
SeverityFileLineSnippetContext
LOWconftest.py61# ``from packages.Y.Z import W`` resolve during pytest collection.COMMENT
LOWconftest.py81# faulthandler_timeout (set in tests.yml) catches a *hang*; this catchesCOMMENT
LOWpytest.ini1[pytest]COMMENT
LOWrequirements.txt1# RAPTOR Framework RequirementsCOMMENT
LOWrequirements.txt21# (CVE-2025-69872 was the trigger; raptor doesn't use the cacheCOMMENT
LOWrequirements.txt41# tree-sitter-c-sharp==0.23.5COMMENT
LOWrequirements.txt61pyyaml==6.0.3COMMENT
LOWrequirements.txt81# Optional: For SMT-based constraint analysis (one-gadget feasibility, etc.)COMMENT
LOWraptor.py381 return 1 # extraction failed (message printed); no run sealed yetCOMMENT
LOWraptor.py461 # so CostTracker enforces the cap during LLM calls.COMMENT
LOWraptor.py641 return proc.wait()COMMENT
LOWraptor.py1061 # the subprocess writes to fd 1 directly — interleaving theCOMMENT
LOWraptor_agentic.py521 # Create threads to read stdout and stderr concurrently.COMMENT
LOWraptor_agentic.py1561 # paths in the except handlers below, leaking raptor_git_*/ underCOMMENT
LOWraptor_agentic.py2041 "--out", str(out_dir / "scan"),COMMENT
LOWraptor_agentic.py2081 # the operator's command needs shell semanticsCOMMENT
LOWraptor_agentic.py2141 )COMMENT
LOWraptor_fuzzing.py281 # configured project run dir. Subsequent /project statusCOMMENT
LOWrequirements-dev.txt21gcovr==8.6COMMENT
LOWraptor_codeql.py381 # /agentic + /fuzz: entry-point CLI flag mutates the namedCOMMENT
LOWraptor_codeql.py401 from core.analysis.binary_oracle_cli import apply_to_configCOMMENT
LOWcore/dataflow/known_safe_calls.py221 # C / C++ — Phase 11 entriesCOMMENT
LOWcore/dataflow/smt_barrier.py81# --------------------------------------------------------------------------COMMENT
LOWcore/dataflow/smt_barrier.py141 counterexample: Optional[str] = NoneCOMMENT
LOWcore/dataflow/smt_barrier.py161# one) gives a one-char language which doesn't generalise to theCOMMENT
LOWcore/dataflow/smt_barrier.py221)COMMENT
LOWcore/dataflow/smt_barrier.py301# If our literal-char extractor silently reads ``\W`` as charsCOMMENT
LOWcore/dataflow/smt_barrier.py461 line = raw[1:]COMMENT
LOWcore/dataflow/smt_barrier.py481# ``if``-check inspects the value without transforming it, so theCOMMENT
LOWcore/dataflow/smt_barrier.py1021# means the validator's exit-on-fail (the diff's guard-and-exit shape)COMMENT
LOWcore/dataflow/barrier_synth.py961 "ruby": _RB_SYSTEM_PROMPT,COMMENT
LOWcore/dataflow/cvefix_bridge.py101_OTHER_DIFF_TOTAL_CAP = 500COMMENT
LOWcore/dataflow/cvefix_bridge.py141 "CREATE TABLE IF NOT EXISTS synth_results ("COMMENT
LOWcore/dataflow/sanitizer_catalog.py101COMMENT
LOWcore/dataflow/cvefix_walk.py41 "central.sonatype.com", "oss.sonatype.org", "maven.google.com", "dl.google.com",COMMENT
LOWcore/schema_constants/__init__.py161 "code_injection": "command_injection",COMMENT
LOWcore/schema_constants/__init__.py181 # CWE-190 (overflow) and CWE-191 (underflow) cover differentCOMMENT
LOWcore/reporting/formatting.py61 #COMMENT
LOWcore/sarif/parser.py221 "rules_by_id": {},COMMENT
LOWcore/sarif/parser.py381COMMENT
LOWcore/sarif/parser.py521 for result in results:COMMENT
LOWcore/llm/detection.py161 Returns True if litellm was found (migration handled here), False otherwise.COMMENT
LOWcore/llm/detection.py601 # (if it is, _check_litellm_installed already handled migration)COMMENT
LOWcore/llm/detection.py621 # the env signal here. Without dispatcher AND without botocoreCOMMENT
LOWcore/llm/detection.py641 # silently degrade ``--sequential`` runs to ClaudeCodeProvider /COMMENT
LOWcore/llm/egress.py221 allowlist = derive_allowlist(config)COMMENT
LOWcore/llm/cc_proxy_hosts.py401 return foundryCOMMENT
LOWcore/llm/config.py241COMMENT
LOWcore/llm/config.py481# so every downstream ``LLMConfig()`` no-arg construction honours theCOMMENT
LOWcore/llm/config.py561 # explicit choice beats env-var defaults — if they configuredCOMMENT
LOWcore/llm/config.py1101 # or under this cap. None = no eviction (cache grows unboundedly).COMMENT
LOWcore/llm/config.py1121 # data keeps flowing in — drift detection via random sampling.COMMENT
LOWcore/llm/log_quiet.py21called once from the dispatcher's ``start()`` so EVERY run pathCOMMENT
LOWcore/llm/task_types.py41COMMENT
LOWcore/llm/client.py61# After this many consecutive cache write failures, auto-disableCOMMENT
LOWcore/llm/client.py121 msg = re.sub(r'gh[oprsu]_[a-zA-Z0-9_]{36,}', '[REDACTED-API-KEY]', msg)COMMENT
LOWcore/llm/client.py141 # quote could close, with a lazy match in between, andCOMMENT
LOWcore/llm/client.py461 # cost shows up as a concrete line.COMMENT
LOWcore/llm/client.py481 # CONCURRENT keys.COMMENT
LOWcore/llm/client.py681 # threads run the provider call concurrently for theCOMMENT
960 more matches not shown…
Deep Nesting1047 hits · 837 pts
SeverityFileLineSnippetContext
LOWraptor.py322CODE
LOWraptor_agentic.py41CODE
LOWraptor_agentic.py399CODE
LOWraptor_agentic.py713CODE
LOWraptor_agentic.py1003CODE
LOWraptor_agentic.py427CODE
LOWraptor_fuzzing.py48CODE
LOWraptor_codeql.py68CODE
LOWcore/dataflow/smt_barrier.py540CODE
LOWcore/dataflow/smt_barrier.py571CODE
LOWcore/dataflow/smt_barrier.py679CODE
LOWcore/dataflow/smt_barrier.py1295CODE
LOWcore/dataflow/barrier_synth.py440CODE
LOWcore/dataflow/barrier_synth.py565CODE
LOWcore/dataflow/corpus_metrics.py68CODE
LOWcore/dataflow/cvefix_bridge.py305CODE
LOWcore/dataflow/cvefix_bridge.py368CODE
LOWcore/dataflow/trust_corpus_report.py135CODE
LOWcore/dataflow/trust_report.py67CODE
LOWcore/dataflow/sanitizer_catalog.py232CODE
LOWcore/dataflow/structural_validator.py284CODE
LOWcore/dataflow/structural_validator.py333CODE
LOWcore/dataflow/cvefix_walk.py325CODE
LOWcore/dataflow/tier1_llm.py229CODE
LOWcore/dataflow/tier1_llm.py237CODE
LOWcore/dataflow/sanitizer_cut_parity.py364CODE
LOWcore/schema_constants/tests/test_cwe_map_unique.py25CODE
LOWcore/reporting/findings.py70CODE
LOWcore/reporting/scan_coverage.py51CODE
LOWcore/sarif/parser.py71CODE
LOWcore/sarif/parser.py187CODE
LOWcore/sarif/parser.py287CODE
LOWcore/sarif/parser.py665CODE
LOWcore/witness/discovery.py52CODE
LOWcore/witness/discovery.py116CODE
LOWcore/llm/prompt_budget.py112CODE
LOWcore/llm/detection.py158CODE
LOWcore/llm/detection.py245CODE
LOWcore/llm/detection.py512CODE
LOWcore/llm/config.py86CODE
LOWcore/llm/client.py293CODE
LOWcore/llm/client.py424CODE
LOWcore/llm/client.py661CODE
LOWcore/llm/client.py1266CODE
LOWcore/llm/client.py1589CODE
LOWcore/llm/providers.py713CODE
LOWcore/llm/providers.py934CODE
LOWcore/llm/providers.py1865CODE
LOWcore/llm/providers.py2692CODE
LOWcore/llm/providers.py353CODE
LOWcore/llm/providers.py494CODE
LOWcore/llm/providers.py649CODE
LOWcore/llm/providers.py1289CODE
LOWcore/llm/providers.py1598CODE
LOWcore/llm/providers.py2477CODE
LOWcore/llm/providers.py2890CODE
LOWcore/llm/providers.py3589CODE
LOWcore/llm/response_validation.py355CODE
LOWcore/llm/throttle.py186CODE
LOWcore/llm/cc_adapter.py175CODE
987 more matches not shown…
Modern AI Meta-Vocabulary237 hits · 735 pts
SeverityFileLineSnippetContext
MEDIUMraptor.py492 # /scan writes codeql_*.sarif at the top level; /agentic writes itCOMMENT
MEDIUMraptor.py511 # Print a coverage summary at the end of /agentic (after complete_run,COMMENT
MEDIUMraptor.py513 # /scan and /validate print their own; this closes the agentic gap.COMMENT
MEDIUMraptor.py528# Read by the subprocess mode handlers (codeql/agentic) to re-inject theCOMMENT
MEDIUMraptor.py408 # mode itself, or scan/agentic with ``--codeql`` /COMMENT
MEDIUMraptor.py409 # ``--codeql-only``. Plain /agentic (no --codeql) doesn't reachCOMMENT
MEDIUMraptor.py655 # next /scan or /agentic invocation saw a staleCOMMENT
MEDIUMraptor.py854 # Enable CodeQL by default for comprehensive agentic modeCOMMENT
MEDIUMraptor.py868 # Re-inject --trust-repo stripped by main(): the agentic child parses itCOMMENT
MEDIUMraptor.py1159 # SUBPROCESS mode handlers (codeql/agentic) can't rely on that flag —COMMENT
MEDIUMraptor.py1247 # ``agentic`` shouldn't force the operator to read theCOMMENT
MEDIUMraptor_agentic.py144 # concurrent writer (a second /agentic run, an operatorCOMMENT
MEDIUMraptor_agentic.py2014 # this, `python raptor.py agentic --audit` would set audit mode inCOMMENT
MEDIUMraptor_agentic.py2015 # the agentic process but the actual sandbox-using subprocessesCOMMENT
MEDIUMraptor_agentic.py2145 # Surface the timeout in the agentic-run summary even whenCOMMENT
MEDIUMraptor_agentic.py2253 # exited non-zero. Pre-fix the agentic wrapper threw awayCOMMENT
MEDIUMraptor_agentic.py3054 # Build findings funnel from orchestration resultsCOMMENT
MEDIUMraptor_agentic.py3091 # Post-process orchestration results: compute CVSS, infer CWE, fix severityCOMMENT
MEDIUMraptor_agentic.py1816 # bridge tier-2/3) AND enriches the agentic checklist with prioritySTRING
MEDIUMraptor_agentic.py1908 # Marks dead-code functions priority=low in the agentic checklist usingSTRING
MEDIUMraptor_agentic.py1910 # the agentic LLM analysis prompt reads priority/priority_reason andSTRING
MEDIUMraptor_codeql.py350 # pass per finding (filter + summarise), while agentic does theSTRING
MEDIUMraptor_codeql.py354 # ``--max-findings 20`` to agentic explicitly.STRING
MEDIUMraptor_codeql.py381 # /agentic + /fuzz: entry-point CLI flag mutates the namedSTRING
MEDIUMcore/dataflow/smt_barrier.py910 # /agentic run mid-flight.COMMENT
MEDIUMcore/dataflow/cvefix_bridge.py106# test scaffolding crowds out the real validator code with noise.COMMENT
MEDIUMcore/dataflow/cvefix_bridge.py342 # proposer hallucinates plausible-looking guards on shapesCOMMENT
MEDIUMcore/dataflow/cvefix_bridge.py511 # so it's the diagnostic material for improving the proposer's few-shot.COMMENT
MEDIUMcore/dataflow/sanitizer_cut_parity.py344 Review #3 on PR #794: the parity log is append-only, and agenticSTRING
MEDIUMcore/reporting/findings.py257 # Reasoning / analysis (from agentic or validate)COMMENT
MEDIUMcore/reporting/__init__.py34 # Layer 1 — domain-agnostic report scaffoldingCOMMENT
MEDIUMcore/reporting/formatting.py54 # Check for error first (agentic)COMMENT
MEDIUMcore/reporting/formatting.py58 # Boolean fields (agentic pipeline) are the actual verdict — check first.COMMENT
MEDIUMcore/witness/discovery.py41 "autonomous/witnesses", # /agentic's AutonomousSecurityAgentV2CODE
MEDIUMcore/witness/types.py66 # /agentic or /crash-analysis (future PR) executed theirCOMMENT
MEDIUMcore/llm/detection.py639 # (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.py479 # than any current consumer needs — even agentic at 1kCOMMENT
MEDIUMcore/llm/client.py1336 # Warn if prompt likely exceeds context window (~4 chars per token)COMMENT
MEDIUMcore/llm/client.py1654 # Warn if prompt likely exceeds context window (~4 chars per token)COMMENT
MEDIUMcore/llm/providers.py246 # Single-turn round-trip used by the agentic ``ToolUseLoop``COMMENT
MEDIUMcore/llm/providers.py475 # provider instances per request (a common pattern in the agenticCOMMENT
MEDIUMcore/llm/providers.py3558 # generalises across consumers; per-consumer guardrailsCOMMENT
MEDIUMcore/llm/model_data.py170# Per-model context window, max output token, and rate limits.COMMENT
MEDIUMcore/llm/response_validation.py133# that are already usable. Tuned on the agentic+/validate retry-rateCOMMENT
MEDIUMcore/llm/tool_use/types.py494 "context_overflow", # request would exceed context windowCODE
MEDIUMcore/llm/tool_use/loop.py292 # Submission discipline: when an agentic consumer needs theCOMMENT
MEDIUMcore/llm/tool_use/loop.py491 # ---- pre-flight: context window -----------------------------COMMENT
MEDIUMcore/llm/tool_use/loop.py1132 # whole orchestration. Wrap as a regular Exception soCOMMENT
MEDIUMcore/llm/dispatcher/server.py73# ~100+ per /agentic run. No operator action on success.COMMENT
MEDIUMcore/llm/dispatcher/server.py101_TOKEN_DEFAULT_TTL_S = 8 * 60 * 60 # 8 hours — long-running /agenticCODE
MEDIUMcore/llm/dispatcher/server.py105_TOKEN_DEFAULT_BUDGET = 10_000 # requests per worker run — agenticCODE
MEDIUMcore/llm/dispatcher/server.py353 # /agentic / /understand / /validate isn't drowned inCOMMENT
MEDIUMcore/llm/tests/test_dispatcher_integration.py540 # In-process LLM call (Phase 4 orchestration shape)COMMENT
MEDIUMcore/llm/tests/test_log_quiet.py131 # bulk of operator log noise during /agentic.COMMENT
MEDIUMcore/llm/multi_model/tests/test_pipelines.py79# Verdict-style: full /agentic-shape pipelineCOMMENT
MEDIUM…e/llm/multi_model/tests/test_calibrated_aggregation.py259 # priors_by_class has no entry for "agentic:rule-y" → falls to default.COMMENT
MEDIUMcore/llm/scorecard/tests/test_consensus.py355 # Cell exists under agentic:java/path-traversal, NOT bareCOMMENT
MEDIUMcore/llm/scorecard/tests/test_tool_evidence.py301 # Cell under codeql:..., not agentic:...COMMENT
MEDIUMcore/analysis/binary_oracle.py509 # is generous for the largest binaries we expect to see in /agentic.COMMENT
177 more matches not shown…
AI Slop Vocabulary81 hits · 263 pts
SeverityFileLineSnippetContext
MEDIUMraptor.py854 # Enable CodeQL by default for comprehensive agentic modeCOMMENT
MEDIUMraptor_agentic.py2094 # behaviour is more nuanced.COMMENT
MEDIUMcore/llm/providers.py3232 # The claude-code harness reports the model it used in `analysed_by`;COMMENT
LOWcore/llm/multi_model/tests/test_pipelines.py169 # Here we just return a dict summarising what we'd send.COMMENT
MEDIUMcore/llm/scorecard/scorecard.py147 # harness-side-channel demotion). ``incorrect`` = attempted +COMMENT
MEDIUMcore/analysis/binary_oracle_autodetect.py38# harness) so an existing operator build isn't overridden by a leftoverCOMMENT
MEDIUMcore/analysis/binary_oracle_autodetect.py39# harness cache.COMMENT
MEDIUMcore/analysis/binary_oracle_precision.py463 # Late import: the registry is the only thing the harness depends onCOMMENT
MEDIUMcore/analysis/binary_oracle_precision.py464 # for driver lookup; pulling it lazily lets the harness module stayCOMMENT
MEDIUMcore/analysis/tests/test_reachability.py1011 # ``attributes`` field predates this feature), so Tier-1 dispatch is robust.COMMENT
MEDIUMcore/analysis/tests/test_binary_oracle_cli.py90 # Opt-out is comprehensive: even project-persisted binariesCOMMENT
MEDIUMcore/analysis/tests/test_binary_oracle_precision.py374 # ``mode`` is the harness cross-tab style — liveness-based, used byCOMMENT
MEDIUMcore/labeled_attempts/types.py110 # Candidate tried to side-channel the harness — modify the targetCOMMENT
MEDIUMcore/labeled_attempts/retrieval.py82 # the run's goal. Fuzz-harness-class output —COMMENT
MEDIUMcore/function_taxonomy/__init__.py223# elevate privilege, escape namespace isolation, or load kernelCOMMENT
MEDIUMcore/function_taxonomy/__init__.py469 "LLVMFuzzerTestOneInput", # libFuzzer harness conventionCODE
MEDIUMcore/annotations/tests/test_cli.py525 # command harness; here, just ensure the explicit-base path works.COMMENT
LOWcore/audit/condition_extraction_python.py213 # Early-return guard pattern: if-body is just return/raise,COMMENT
MEDIUMcore/audit/sentinel_collapse.py122# is more comprehensive (covers None, True, False, "", 0 in addition toCOMMENT
MEDIUMcore/audit/tests/test_dark_verify.py181 assert "#include <stdlib.h>" in harnessCODE
MEDIUMcore/audit/dark_verify/_harness.py22# Helpers shared across harness generatorsCOMMENT
MEDIUMcore/audit/dark_verify/_execute.py246 # Python harness uses repr(), which includes quotes for stringsCOMMENT
MEDIUMcore/sandbox/seccomp.py497 # robust against supply-chain drift (int 0x80 / x32 / AArch32COMMENT
MEDIUMcore/sandbox/proxy.py96# 64 — original conservative default. SCA stress harness onCOMMENT
MEDIUMcore/sandbox/profiles.py35# target_run: posture for spawning a harness-authored target binaryCOMMENT
MEDIUMcore/sandbox/profiles.py39# the spawning harness. Callers that want isolation FROMCOMMENT
LOWcore/sandbox/tests/test_audit_integration.py189 # Should not raise; just return False.COMMENT
MEDIUMcore/sandbox/tests/test_audit_degraded_marker.py113 # before the fork. Call the marker site through a thin harness soCOMMENT
MEDIUMcore/sandbox/tests/test_consumer_sanitisation_e2e.py146 # without needing real harness paths.COMMENT
MEDIUMcore/sandbox/tests/test_fork_safe_warn_sites.py114 # extra_ro_paths block via a minimal harness.COMMENT
MEDIUMcore/inventory/exclusions.py8# Default exclude patterns — comprehensive list for clean inventoryCOMMENT
MEDIUMcore/inventory/fixture_detection.py291 # No production caller. Confirmed test-harness-only.COMMENT
MEDIUMcore/inventory/binary_oracle_corpora/snappy.py104 mode: Literal["gcov"] = "gcov" # harness cross-tab is liveness-basedCODE
LOW…-forensics/github-evidence-kit/src/collectors/local.py67 # For now, we just return an empty list or implement basic logic if needed.COMMENT
MEDIUM.devcontainer/test_devcontainer.py112 # ``name`` comes from the harness's hardcoded list, notCOMMENT
MEDIUM.devcontainer/test_devcontainer.py321 # ``module_name`` is from the harness's hardcoded listCOMMENT
MEDIUMpackages/source_intel/adapter.py1514 # that pass synthetic file_paths). The regex path is robust onCOMMENT
MEDIUMpackages/exploitation/reporting.py425 # tail'ing the file, CI harness scraping the report,COMMENT
MEDIUMpackages/coccinelle/runner.py30# @script:python@ harness — they'd shadow Python builtins / keywordsCOMMENT
MEDIUMpackages/coccinelle/runner.py214 # If the rule needs harness injection, the modified text has toCOMMENT
MEDIUMpackages/coccinelle/runner.py480 # harness AND used as a Python identifier in the harness's for-COMMENT
MEDIUMpackages/coccinelle/runner.py482 # rule file with a homoglyph pos_var could produce a harnessCOMMENT
MEDIUMpackages/coccinelle/runner.py485 # the harness-injected identifier; legitimate Coccinelle rulesCOMMENT
MEDIUMpackages/coccinelle/runner.py494 # becomes a Python identifier inside the @script:python@ harnessCOMMENT
MEDIUMpackages/coccinelle/runner.py501 # check skip harness injection (spatch still runs, justCOMMENT
MEDIUMpackages/coccinelle/runner.py514 # Detect multi-rule .cocci files. Pre-fix the harness onlyCOMMENT
MEDIUMpackages/coccinelle/runner.py518 # harness reference.COMMENT
MEDIUMpackages/coccinelle/runner.py525 # JSON harness), and the caller logs that structuredCOMMENT
MEDIUMpackages/coccinelle/runner.py529 # rule names are Python identifiers in the harness.COMMENT
MEDIUMpackages/coccinelle/runner.py532 # Multi-rule file — harness injection isn't safe.COMMENT
MEDIUMpackages/coccinelle/runner.py575 # Type-guard: spatch's @script:python harness always emitsCOMMENT
MEDIUMpackages/coccinelle/tests/test_runner.py455 # No harness injection → pass-through to the original rule.STRING
MEDIUMpackages/fuzzing/harness_generator.py55 compile_command: str # clang -fsanitize=fuzzer,address ... -o harnessCODE
MEDIUMpackages/fuzzing/harness_generator.py271 f"# Generated by RAPTOR for {harness.target_function}\n"CODE
MEDIUM…ges/code_understanding/dispatch/hunt_cocci_dispatch.py324 # The runner's harness auto-injection writes the harnessedCOMMENT
MEDIUM…derstanding/tests/dispatch/test_hunt_cocci_dispatch.py510 # the runner auto-injects a harness that emits COCCIRESULT JSONCOMMENT
MEDIUM…derstanding/tests/dispatch/test_hunt_cocci_dispatch.py560 # the runner auto-injects a harness that emits COCCIRESULT JSONCOMMENT
MEDIUMpackages/llm_analysis/crash_agent.py397 # the /agentic path stays NOT_RUN until a build harnessCOMMENT
MEDIUMpackages/sca/harden.py549 # superseded (snapshot.debian.org is the robust alternative). When theCOMMENT
MEDIUMpackages/sca/risk.py268 # silently elevate it past actual exploitation signals.COMMENT
21 more matches not shown…
Hallucination Indicators14 hits · 150 pts
SeverityFileLineSnippetContext
CRITICAL…7_codeql_java-command-line-injection_d47f527b566d.json61 "snippet": "org.apache.commons.codec.binary.Base64.decodeBase64(",CODE
CRITICALcore/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_acquisition_layers.py27from cve_diff.core.exceptions import AcquisitionErrorCODE
CRITICALpackages/cve_diff/tests/unit/test_commit_resolver.py8from cve_diff.core.exceptions import IdenticalCommitsErrorCODE
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
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.py28from cve_diff.core.exceptions import IdenticalCommitsErrorCODE
CRITICALpackages/cve_diff/cve_diff/diffing/extractor.py17from 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.py44from cve_diff.core.exceptions import AcquisitionErrorCODE
CRITICALpackages/cve_diff/cve_diff/cli/bench.py30from cve_diff.core.exceptions import CveDiffErrorCODE
Structural Annotation Overuse78 hits · 150 pts
SeverityFileLineSnippetContext
LOWcore/sarif/tests/test_import_e2e.py232 # Step 1: parseCOMMENT
LOWcore/sarif/tests/test_import_e2e.py239 # Step 2: dedup (no dupes expected)COMMENT
LOWcore/sarif/tests/test_import_e2e.py243 # Step 3: normalizeCOMMENT
LOWcore/llm/egress.py234 # Step 1: bring up / extend the in-process proxy. MUST happenCOMMENT
LOWcore/llm/egress.py247 # Step 2: only mutate env on the first call. SubsequentCOMMENT
LOWcore/llm/egress.py253 # Step 3: point HTTPS_PROXY at our in-process proxy so httpx-basedCOMMENT
LOWcore/llm/egress.py260 # Step 4: ensure local-loop hosts (Ollama, vLLM-localhost,COMMENT
LOWcore/llm/config.py544 # Step 1: preferred providers via env var (consumer's explicitCOMMENT
LOWcore/llm/config.py559 # Step 2: operator's thinking-model config (file-based; coversCOMMENT
LOWcore/llm/config.py584 # Step 3: default-order autodetect via env vars. Skip providersCOMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py176 # Step 1: split findings into D–S-eligible vs vote-fallback.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py193 # Step 2: run D–S across all eligible records, partitioned by class.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py235 # Step 3: vote fallback for everything else.COMMENT
LOWcore/security/tests/test_envelope_probe.py328 # Step 1: probe each modelCOMMENT
LOWcore/security/tests/test_envelope_probe.py342 # Step 2: select profile based on cached resultCOMMENT
LOWcore/security/tests/test_envelope_probe.py346 # Step 3: verify passthrough prompt is simplerCOMMENT
LOWcore/sandbox/landlock.py72 # Step 1: ABI probe — landlock_create_ruleset(NULL, 0, version=1).COMMENT
LOWcore/sandbox/landlock.py83 # Step 2: Functional self-test in a child process. Must run in aCOMMENT
LOWcore/sandbox/_spawn.py1091 # Step 5: tell parent we're ready for newuidmap.COMMENT
LOWcore/sandbox/_spawn.py1095 # Step 7: wait for parent 'go' signal — parent has runCOMMENT
LOWcore/sandbox/_spawn.py1243 # Step 10: Landlock. Must run BEFORE seccomp so seccompCOMMENT
LOWcore/sandbox/_spawn.py1248 # Step 11: seccomp.COMMENT
LOWcore/sandbox/_spawn.py1255 # Step 12: pid-ns via a second fork. NEWPID only takesCOMMENT
LOWcore/sandbox/_spawn.py1486 # Step 4: wait for child to signal "unshare done, ready for newuidmap".COMMENT
LOWcore/sandbox/_spawn.py1495 # Step 6: newuidmap / newgidmap.COMMENT
LOWcore/sandbox/_spawn.py1041 # Step 3: create namespaces. Leaves us as "nobody" in theCOMMENT
LOWcore/sandbox/_spawn.py1140 # Step 9: mount-ns pivot_root if target/output supplied.COMMENT
LOWcore/sandbox/_spawn.py1726 # Step 8: tell child to proceed.COMMENT
LOWcore/sandbox/_spawn.py1778 # Step 14: collect output and wait. Everything from here down runsCOMMENT
LOWcore/trajectories/test_store.py316 # Step 0: initial user promptCOMMENT
LOWcore/trajectories/test_store.py320 # Step 1: assistant's find_symbol callCOMMENT
LOWcore/trajectories/test_store.py324 # Step 2: tool resultCOMMENT
LOWcore/trajectories/test_store.py327 # 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.md104### Step 6: Test Auto-LoadingCOMMENT
LOW.claude/commands/audit.md45### Step 0: Choose execution modeCOMMENT
LOW.claude/commands/audit.md57### Step 1: Resolve output directoryCOMMENT
LOW.claude/commands/audit.md67### Step 2: Context mapCOMMENT
LOW.claude/commands/audit.md77### Step 3: Run the orchestratorCOMMENT
LOW.claude/commands/audit.md89### Step 4: Surface resultsCOMMENT
LOW.claude/skills/oss-forensics/github-archive/SKILL.md328 # Step 1: Dry run estimateCOMMENT
LOW.claude/skills/oss-forensics/github-archive/SKILL.md338 # Step 2: Check budgetCOMMENT
LOW.claude/skills/oss-forensics/github-archive/SKILL.md345 # Step 3: Execute with safety limitCOMMENT
LOW.claude/skills/crash-analysis/function-tracing/SKILL.md40### Step 1: Add to BuildCOMMENT
LOW.claude/skills/crash-analysis/function-tracing/SKILL.md46### Step 2: Build TargetCOMMENT
LOW.claude/skills/crash-analysis/function-tracing/SKILL.md51### Step 3: RunCOMMENT
LOW.claude/skills/crash-analysis/function-tracing/SKILL.md58### Step 4: Convert to PerfettoCOMMENT
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.md81### Step 4: EvaluateCOMMENT
LOW.claude/skills/audit/review.md87### Step 5: AnnotateCOMMENT
LOW.claude/skills/audit/review.md118### Step 6: Checker synthesis (Mode 2)COMMENT
LOWdocs/crash-analysis.md99### Step 1: Memory AllocationCOMMENT
LOWdocs/crash-analysis.md111### Step 2: Pointer ModificationCOMMENT
LOWtiers/analysis-guidance.md29### Step 1: Check Mitigations FirstCOMMENT
18 more matches not shown…
Docstring Block Structure20 hits · 100 pts
SeverityFileLineSnippetContext
HIGHcore/dataflow/codeql_augmented_run.py93Run ``codeql database analyze`` once. Args: db_path: Path to the CodeQL DB directory. queries: One STRING
HIGHcore/llm/providers.py935 Convert dict schema or Pydantic model to Pydantic model class. Supports hybrid approach: - If already PydaSTRING
HIGHcore/llm/multi_model/dispatch.py76Run 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.py206Zip a project output directory, skipping symlinks. Args: project_output_dir: The project's output directorySTRING
HIGHcore/project/export.py262Import a zipped project. Validates the zip, extracts output data to output_base/<name>/, and registers the projSTRING
HIGHcore/audit/strategy.py229Select review strategies for a function. Always includes ``general``. Additional strategies are added based on STRING
HIGHcore/sandbox/calibrate.py318Run a fresh calibration probe and cache the result. Args: bin_path: path to the binary to probe. Resolved vSTRING
HIGHcore/inventory/lookup.py29Find the function containing a given file:line in the checklist. Args: checklist: Inventory dict from buildSTRING
HIGHcore/run/output.py110Resolve the output directory for a command run. Priority: 1. explicit_out (from --out argument) — used as-is, nSTRING
HIGHcore/git/clone.py470Run ``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__.py94 Load a previously serialized evidence object from JSON. Args: data: Dictionary from JSON deserializatiSTRING
HIGHpackages/sca/discovery.py254Walk repo finding manifests + lockfiles. Args: repo: project root (absolute or relative; resolved before waSTRING
HIGHpackages/autonomous/dialogue.py260 Ask the LLM a strategic question about fuzzing. Examples: - "Should I continue fuzzing or stopSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py233Check whether an arithmetic op can wrap given the visible guards. Use this when the source shows arithmetic that *lSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py395Check whether an array index can fall outside its buffer. Use this when the source shows ``arr[index]`` (or ``memcpSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py487Check whether a pointer can be NULL when dereferenced. Use this when the source dereferences a pointer that has priSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py561Check CWE-680: integer overflow leading to buffer overflow. The canonical pattern: size_t alloc_size = countSTRING
HIGHpackages/exploit_feasibility/smt_verbs.py670Check whether a negative value can bypass a comparison guard. The canonical pattern: if (msg_qbytes > rlim) STRING
HIGHpackages/exploit_feasibility/under_mitigations.py243Rebuild ``target_source`` under each profile, run ``witness_bytes`` against each, return the per-profile outcomeSTRING
Verbosity Indicators47 hits · 94 pts
SeverityFileLineSnippetContext
LOWcore/sarif/tests/test_import_e2e.py232 # Step 1: parseCOMMENT
LOWcore/sarif/tests/test_import_e2e.py239 # Step 2: dedup (no dupes expected)COMMENT
LOWcore/sarif/tests/test_import_e2e.py243 # Step 3: normalizeCOMMENT
LOWcore/llm/egress.py234 # Step 1: bring up / extend the in-process proxy. MUST happenCOMMENT
LOWcore/llm/egress.py247 # Step 2: only mutate env on the first call. SubsequentCOMMENT
LOWcore/llm/egress.py253 # Step 3: point HTTPS_PROXY at our in-process proxy so httpx-basedCOMMENT
LOWcore/llm/egress.py260 # Step 4: ensure local-loop hosts (Ollama, vLLM-localhost,COMMENT
LOWcore/llm/config.py544 # Step 1: preferred providers via env var (consumer's explicitCOMMENT
LOWcore/llm/config.py559 # Step 2: operator's thinking-model config (file-based; coversCOMMENT
LOWcore/llm/config.py584 # Step 3: default-order autodetect via env vars. Skip providersCOMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py176 # Step 1: split findings into D–S-eligible vs vote-fallback.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py193 # Step 2: run D–S across all eligible records, partitioned by class.COMMENT
LOWcore/llm/multi_model/calibrated_aggregation.py235 # Step 3: vote fallback for everything else.COMMENT
LOWcore/security/tests/test_envelope_probe.py328 # Step 1: probe each modelCOMMENT
LOWcore/security/tests/test_envelope_probe.py342 # Step 2: select profile based on cached resultCOMMENT
LOWcore/security/tests/test_envelope_probe.py346 # Step 3: verify passthrough prompt is simplerCOMMENT
LOWcore/sandbox/landlock.py72 # Step 1: ABI probe — landlock_create_ruleset(NULL, 0, version=1).COMMENT
LOWcore/sandbox/landlock.py83 # Step 2: Functional self-test in a child process. Must run in aCOMMENT
LOWcore/sandbox/_spawn.py1091 # Step 5: tell parent we're ready for newuidmap.COMMENT
LOWcore/sandbox/_spawn.py1095 # Step 7: wait for parent 'go' signal — parent has runCOMMENT
LOWcore/sandbox/_spawn.py1243 # Step 10: Landlock. Must run BEFORE seccomp so seccompCOMMENT
LOWcore/sandbox/_spawn.py1248 # Step 11: seccomp.COMMENT
LOWcore/sandbox/_spawn.py1255 # Step 12: pid-ns via a second fork. NEWPID only takesCOMMENT
LOWcore/sandbox/_spawn.py1486 # Step 4: wait for child to signal "unshare done, ready for newuidmap".COMMENT
LOWcore/sandbox/_spawn.py1495 # Step 6: newuidmap / newgidmap.COMMENT
LOWcore/sandbox/_spawn.py1041 # Step 3: create namespaces. Leaves us as "nobody" in theCOMMENT
LOWcore/sandbox/_spawn.py1140 # Step 9: mount-ns pivot_root if target/output supplied.COMMENT
LOWcore/sandbox/_spawn.py1726 # Step 8: tell child to proceed.COMMENT
LOWcore/sandbox/_spawn.py1778 # Step 14: collect output and wait. Everything from here down runsCOMMENT
LOWcore/trajectories/test_store.py316 # Step 0: initial user promptCOMMENT
LOWcore/trajectories/test_store.py320 # Step 1: assistant's find_symbol callCOMMENT
LOWcore/trajectories/test_store.py324 # Step 2: tool resultCOMMENT
LOWcore/trajectories/test_store.py327 # Step 3: terminal submissionCOMMENT
LOWpackages/exploitation/bootstrap.py116 # Step 1: Find validation runsCOMMENT
LOWpackages/exploitation/bootstrap.py130 # Step 2: Pick the best matching runCOMMENT
LOWpackages/exploitation/bootstrap.py137 # Step 3: Validate schemaCOMMENT
LOWpackages/exploitation/bootstrap.py146 # Step 4: Extract matching findingsCOMMENT
LOWpackages/exploitation/bootstrap.py157 # Step 5: Check source freshnessCOMMENT
LOWpackages/exploitation/bootstrap.py164 # Step 6: Check for feasibility dataCOMMENT
LOWpackages/exploitation/bootstrap.py170 # Step 7: Determine statusCOMMENT
LOW…ges/code_understanding/dispatch/hunt_cocci_dispatch.py301 # Step 1: translate the pattern into a cocci rule via 1 LLM call.COMMENT
LOW…ges/code_understanding/dispatch/hunt_cocci_dispatch.py323 # Step 2: write the rule to a temp file and hand it to spatch.COMMENT
LOWpackages/llm_analysis/intent_match.py538 # Step 1: describe what the exploit does.COMMENT
LOWpackages/llm_analysis/intent_match.py581 # Step 2: judge whether description matches finding.COMMENT
LOWpackages/llm_analysis/dataflow_validation.py1709 # Step 1: full-path suffix match (preferred — unambiguous)COMMENT
LOWpackages/llm_analysis/dataflow_validation.py1713 # Step 2: basename fallbackCOMMENT
LOWpackages/codeql/autonomous_analyzer.py674 # Step 1: cheap-tier prefilter. Asks a small model "is thisCOMMENT
Cross-File Repetition16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHcore/iris/specs.py0a project-specific taint specification for one function.STRING
HIGHcore/audit/iris_specs.py0a project-specific taint specification for one function.STRING
HIGHcore/audit/taint_specs.py0a project-specific taint specification for one function.STRING
HIGHcore/git/_proxy_hosts.py0return the operator override list, or none when no override is configured. tolerant: malformed json, non-utf-8 bytes, orSTRING
HIGHpackages/cve_diff/cve_diff/agent/tools.py0return the operator override list, or none when no override is configured. tolerant: malformed json, non-utf-8 bytes, orSTRING
HIGHpackages/static-analysis/_proxy_hosts.py0return the operator override list, or none when no override is configured. tolerant: malformed json, non-utf-8 bytes, orSTRING
HIGHpackages/llm_analysis/tests/test_exploit_verify.py0\ #include <stdio.h> int main(void) { printf("ok\\n"); return 0; }STRING
HIGH…m_analysis/tests/test_agent_verify_exploit_compiles.py0\ #include <stdio.h> int main(void) { printf("ok\\n"); return 0; }STRING
HIGH…/llm_analysis/tests/test_crash_agent_verify_exploit.py0\ #include <stdio.h> int main(void) { printf("ok\\n"); return 0; }STRING
HIGHpackages/sca/parsers/tests/test_nuget.py0\ <project> <itemgroup> <packagereference include="x" version="1.0.0" versionoverride="2.0.0" /> </itemgroup> </project>STRING
HIGHpackages/sca/rewriters/tests/test_csproj.py0\ <project> <itemgroup> <packagereference include="x" version="1.0.0" versionoverride="2.0.0" /> </itemgroup> </project>STRING
HIGH…es/sca/rewriters/tests/test_directory_build_targets.py0\ <project> <itemgroup> <packagereference include="x" version="1.0.0" versionoverride="2.0.0" /> </itemgroup> </project>STRING
HIGH…ages/sca/supply_chain/tests/test_gha_evasion_shapes.py0\ on: push jobs: j: runs-on: ubuntu-latest steps: - run: | echo "::add-mask::${{ secrets.npm_token }}" echo "tok=${{ secSTRING
HIGHpackages/sca/supply_chain/tests/test_gha_dos_bounds.py0\ on: push jobs: j: runs-on: ubuntu-latest steps: - run: | echo "::add-mask::${{ secrets.npm_token }}" echo "tok=${{ secSTRING
HIGHpackages/sca/supply_chain/tests/test_gha_cross_step.py0\ on: push jobs: j: runs-on: ubuntu-latest steps: - run: | echo "::add-mask::${{ secrets.npm_token }}" echo "tok=${{ secSTRING
HIGH…/sca/supply_chain/tests/test_gha_indirect_redirects.py0\ on: push jobs: j: runs-on: ubuntu-latest steps: - run: | echo "::add-mask::${{ secrets.npm_token }}" echo "tok=${{ secSTRING
Redundant / Tautological Comments55 hits · 76 pts
SeverityFileLineSnippetContext
LOWraptor_agentic.py2295 # Check if we have any findings from source-code scanners.COMMENT
LOWraptor_agentic.py2627 # Check if validation produced enriched findingsCOMMENT
LOWraptor_codeql.py131 # Check if we should do autonomous analysisCOMMENT
LOWcore/llm/detection.py334 # Check if any keys need attentionCOMMENT
LOWcore/llm/detection.py561 # Check if model has a keyCOMMENT
LOWcore/llm/config.py917 # Check if any model has a role setCOMMENT
LOWcore/llm/client.py1569 # Check if last error was quota-relatedCOMMENT
LOWcore/llm/providers.py960 # Check if already a Pydantic model classCOMMENT
LOWcore/llm/tests/test_ollama_warning.py63 # Check if Ollama is availableCOMMENT
LOWcore/llm/tests/test_ollama_warning.py169 # Check if Ollama is availableCOMMENT
LOWcore/license/detector.py636 # Read the file ONCE — classify_text AND extract refsCOMMENT
LOWcore/audit/dispatch_completeness.py125 # Check if at least one value looks callable (Name, Attribute, Lambda,COMMENT
LOWcore/audit/ts_extract.py967 # Check if enclosing function signals truncationCOMMENT
LOWcore/audit/attacker_synthesis.py503 # Check if the overall chain matches a known high-impact combination.COMMENT
LOWcore/audit/condition_extraction_python.py201 # Check if target is in the if-bodyCOMMENT
LOWcore/audit/condition_extraction_python.py207 # Check if target is in the else-bodyCOMMENT
LOWcore/audit/condition_adequacy.py299 # Check if present guards are all irrelevantCOMMENT
LOWcore/audit/pattern_completeness.py207 # Check if ANY synonym is also handled in this file.COMMENT
LOWcore/audit/pattern_completeness.py276 # Check if the sibling is handled ANYWHERE in this file.COMMENT
LOWcore/audit/pattern_completeness.py300 # Check if sibling is ALSO in an exclusion context.COMMENT
LOWcore/audit/condition_extraction.py414 # Check if this is a statement-type node that could be consequenceCOMMENT
LOWcore/audit/condition_extraction.py424 # Check if sink is in consequenceCOMMENT
LOWcore/audit/condition_extraction.py429 # Check if sink is in alternativeCOMMENT
LOWcore/audit/condition_extraction.py439 # Check if consequence is just an exit or contains only exitsCOMMENT
LOWcore/audit/condition_extraction.py562 # Check if its body is exit-only (guard clause pattern)COMMENT
LOWcore/http/tests/test_egress_backend.py111 # Set no_proxy to its most aggressive form before constructing.COMMENT
LOWcore/inventory/sink_discovery.py507 # Check if this is a dangerous callCOMMENT
LOWpackages/binary_analysis/crash_analyser.py1279 # Check if binary has stack canaries via symbol table (not objdump -dCOMMENT
LOWpackages/binary_analysis/crash_analyser.py1404 # Check if address is in typical memory regionsCOMMENT
LOWpackages/fuzzing/afl_runner.py231 # Check if we're on macOSCOMMENT
LOWpackages/fuzzing/afl_runner.py549 # Check if all processes are still runningCOMMENT
LOWpackages/fuzzing/afl_runner.py64 if not self.binary.stat().st_mode & 0o111: # Check if executableCODE
LOWpackages/sca/transitive.py107 # Check if this entry is itself a workspace root with a lockfileCOMMENT
LOWpackages/codeql/database_manager.py355 # Check if database is validCOMMENT
LOWpackages/codeql/dataflow_validator.py495 # Check if this is a path-problem (dataflow)COMMENT
LOWpackages/autonomous/planner.py220 # Check if we've exceeded target duration (if set)COMMENT
LOWpackages/autonomous/dialogue.py568 # Check if we've seen this pattern beforeCOMMENT
LOWpackages/autonomous/goal_planner.py245 # Check if crash type matches goalCOMMENT
LOWpackages/autonomous/goal_planner.py252 # Check if crash is in target code areaCOMMENT
LOWpackages/autonomous/goal_planner.py296 # Check if we found the target vulnerabilityCOMMENT
LOWpackages/exploit_feasibility/strategies.py574 # Check if disabled via boot paramCOMMENT
LOWpackages/exploit_feasibility/graph.py320 # Check if goal reachedCOMMENT
LOWpackages/exploit_feasibility/graph.py326 # Check if we can reach the goal with current capabilitiesCOMMENT
LOWpackages/exploit_feasibility/analyzer.py180 # Check if blocked by RELROCOMMENT
LOWpackages/exploit_feasibility/analyzer.py1921 # Check if PT_GNU_STACK is actually presentSTRING
LOWpackages/exploit_feasibility/analyzer.py2032 # Check if RWE (read-write-execute) - means NX disabledSTRING
LOWpackages/exploit_feasibility/analyzer.py3875 # Check if size is on this line (old format) or next line (new format)STRING
LOWpackages/exploit_feasibility/analyzer.py4435 # Check if stack pivot is possible based on ROP gadgetsSTRING
LOWpackages/exploit_feasibility/api.py74 # Check if it's a web vulnerabilityCOMMENT
LOWpackages/exploit_feasibility/api.py1796 # Check if format string write is actually available (verified %n working)COMMENT
LOWpackages/exploit_feasibility/api.py2010 # Check if write_count supports necessary multi-writesCOMMENT
LOWpackages/exploit_feasibility/api.py2113 # Check if we can actually build ROPCOMMENT
LOWpackages/exploitability_validation/orchestrator.py479 # Check if we should skip remaining stagesCOMMENT
LOWpackages/exploitability_validation/orchestrator.py985 # Check if we have any "not_disproven" findings that need Stage BCOMMENT
LOWpackages/exploitability_validation/orchestrator.py1262 # Check if any findings need feasibility analysisCOMMENT
Self-Referential Comments16 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMcore/llm/tests/test_llm_callbacks.py92 # Create a mock AuthenticationErrorCOMMENT
MEDIUMcore/hash/tests/test_hash.py77 # Create a small fileCOMMENT
MEDIUMcore/hash/tests/test_hash.py82 # Create a large file (simulate by setting very small limit)COMMENT
MEDIUMcore/hash/tests/test_hash.py140 # 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.py86 # Create a subdirectory with just the runsCOMMENT
MEDIUMcore/sandbox/tests/test_sandbox_attack_scenarios.py282 # Create a socket FD — should be rejectedCOMMENT
MEDIUMcore/sandbox/tests/test_sandbox_attack_scenarios.py625 # Create a real dir with a secret file, a symlink to it.COMMENT
MEDIUMcore/sandbox/tests/test_e2e_sandbox.py187 # Create a symlink inside output pointing to /var/tmpCOMMENT
MEDIUMcore/sandbox/tests/test_observe_profile.py278 # Create the real (would-be-spoofed) data somewhere else.COMMENT
MEDIUMcore/inventory/tests/test_shared_checklist.py220 # Create a symlink (not a real file) — should be skippedCOMMENT
MEDIUMcore/orchestration/tests/test_understand_bridge.py1765 # Create a target dir so on-disk hashing worksCOMMENT
MEDIUMpackages/sca/tests/test_verify.py199 # Create a node_modules dir we don't want copied (would be huge in real life).COMMENT
MEDIUMpackages/exploit_feasibility/analyzer.py122# This module provides FeasibilityReport and FeasibilityAnalyzer classes.COMMENT
MEDIUM…ges/exploitability_validation/tests/test_validation.py1580 # Create a minimal SARIF fileSTRING
MEDIUM.github/tests/test_release_workflow.sh290# Create an off-main tagCOMMENT
AI Structural Patterns56 hits · 44 pts
SeverityFileLineSnippetContext
LOWcore/dataflow/barrier_synth.py565CODE
LOWcore/dataflow/cvefix_bridge.py368CODE
LOWcore/dataflow/cvefix_bridge.py539CODE
LOWcore/dataflow/cvefix_walk.py447CODE
LOWcore/llm/tool_use/loop.py190CODE
LOWcore/llm/scorecard/scorecard.py394CODE
LOWcore/analysis/summaries.py275CODE
LOWcore/evidence/__init__.py645CODE
LOWcore/iris/refine.py69CODE
LOWcore/iris/api.py149CODE
LOWcore/labeled_attempts/test_retrieval.py49CODE
LOWcore/annotations/tests/test_cli.py34CODE
LOWcore/audit/strategy.py213CODE
LOWcore/audit/priority.py68CODE
LOWcore/audit/triage.py49CODE
LOWcore/audit/triage.py155CODE
LOWcore/audit/orchestrator.py444CODE
LOWcore/audit/gaps.py50CODE
LOWcore/audit/executor.py52CODE
LOWcore/audit/executor.py271CODE
LOWcore/audit/executor.py333CODE
LOWcore/audit/executor.py623CODE
LOWcore/sandbox/proxy.py379CODE
LOWcore/sandbox/seatbelt.py114CODE
LOWcore/sandbox/_landlock_audit.py239CODE
LOWcore/sandbox/context.py331CODE
LOWcore/sandbox/context.py2507CODE
LOWcore/sandbox/_spawn.py470CODE
LOWcore/sandbox/tracer.py1315CODE
LOWcore/sandbox/_macos_spawn.py133CODE
LOWcore/http/urllib_backend.py393CODE
LOWcore/inventory/builder.py179CODE
LOWcore/inventory/dead_scope.py156CODE
LOWcore/run/tests/test_cli.py28CODE
LOWcore/startup/tests/test_doctor.py18CODE
LOWpackages/binary_analysis/pipeline.py1732CODE
LOWpackages/exploitation/tests/test_bootstrap.py32CODE
LOWpackages/fuzzing/libfuzzer_runner.py72CODE
LOWpackages/fuzzing/afl_runner.py39CODE
LOWpackages/llm_analysis/witness_adapter.py40CODE
LOWpackages/llm_analysis/orchestrator.py513CODE
LOWpackages/llm_analysis/agent.py636CODE
LOWpackages/llm_analysis/prompts/analysis.py499CODE
LOWpackages/semgrep/runner.py98CODE
LOWpackages/sca/calibration/refit.py534CODE
LOWpackages/sca/calibration/project_samples.py582CODE
LOWpackages/sca/calibration/tests/test_refit.py51CODE
LOWpackages/sca/tests/test_diff.py13CODE
LOWpackages/sca/tests/test_risk.py49CODE
LOWpackages/sca/tests/test_sarif.py13CODE
LOWpackages/sca/transitive_drop/detector.py54CODE
LOWpackages/sca/bump/orchestrator.py121CODE
LOWpackages/sca/bump/orchestrator.py683CODE
LOWpackages/cve_diff/cve_diff/cli/main.py267CODE
LOWpackages/static-analysis/scanner.py623CODE
LOWpackages/exploit_feasibility/api.py1639CODE
Overly Generic Function Names32 hits · 30 pts
SeverityFileLineSnippetContext
LOWcore/dataflow/tests/test_smt_barrier.py340 "def helper(x):\n"CODE
LOWcore/analysis/tests/test_interproc.py187 "def helper(a, b):\n"CODE
LOWcore/analysis/tests/test_interproc.py201 "def helper(a, b):\n"CODE
LOWcore/analysis/tests/test_interproc.py287 "def helper(a, b):\n"CODE
LOWcore/analysis/tests/test_reachability_closure.py298 "def helper():\n"CODE
LOWcore/analysis/tests/test_reachability.py395 "def helper(): pass\n"CODE
LOWcore/analysis/tests/test_reachability.py429 "def helper(): pass\n"CODE
LOWcore/analysis/tests/test_python_module_callgraph.py92 "def helper(x): return x\n"CODE
LOWcore/analysis/tests/test_python_module_callgraph.py99 "def helper(): pass\n"CODE
LOWcore/analysis/tests/test_python_module_callgraph.py263 " def helper(): pass\n"CODE
LOWcore/analysis/tests/test_taint_multi_lang.py64function handleRequest(userInput, res) {CODE
LOWcore/analysis/tests/test_reachability_adjacency.py157 "def helper():\n"CODE
LOWcore/analysis/tests/test_reachability_adjacency.py338 "def helper():\n"CODE
LOWcore/analysis/tests/test_reachability_adjacency.py384 "def helper():\n"CODE
LOWcore/analysis/tests/test_reachability_adjacency.py441 "def helper():\n" # line 1CODE
LOWcore/analysis/tests/test_reachability_adjacency.py442 " def helper():\n" # line 2 — nested redefinitionCODE
LOWcore/analysis/tests/test_reachability_adjacency.py940 "def helper():\n"CODE
LOWcore/analysis/tests/test_reachability_adjacency.py1117 "def helper():\n"CODE
LOWcore/analysis/tests/test_reachability_adjacency.py1375 "def helper(x):\n"CODE
LOWcore/analysis/tests/test_reachability_evidence.py58 "def helper():\n"CODE
LOWcore/analysis/tests/test_taint_summaries.py130 "def helper(s):\n"CODE
LOWcore/analysis/tests/test_taint_summaries.py164 "def helper(a, b):\n"CODE
LOWcore/audit/tests/test_test_discovery.py106 source = "def helper():\n pass\n"CODE
LOWcore/inventory/tests/test_inventory.py228 code = "function handleRequest(req, res) {\n}\n"CODE
LOWcore/inventory/tests/test_inventory.py314 (src / "utils.py").write_text("def helper(x):\n return x\n")CODE
LOWcore/inventory/tests/test_inventory.py273 def test_function(self):CODE
LOWcore/inventory/tests/test_extractors.py92 code = "def helper(): pass"CODE
LOWcore/orchestration/tests/test_context_map_callgraph.py174 "def helper():\n"CODE
LOW…orchestration/tests/test_agentic_passes_integration.py45 "def handle_request(req):\n return req.body\n"CODE
LOW…re/orchestration/tests/test_reachability_enrichment.py612 "def helper(cmd):\n"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
Fake / Example Data22 hits · 27 pts
SeverityFileLineSnippetContext
LOWcore/dataflow/tests/test_barrier_synth.py281 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOWcore/llm/dispatcher/tests/test_lifecycle.py26 creds._keys = {"anthropic": "fake-key", "openai": None, "gemini": None}CODE
LOWcore/llm/tests/test_pinned_model.py62 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOWcore/llm/tests/test_pinned_model.py72 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOWcore/llm/tests/test_pinned_model.py84 monkeypatch.setenv(v, "test-fake-key")CODE
LOWcore/llm/tests/test_pinned_model.py117 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOWcore/llm/tests/test_pinned_model.py133 monkeypatch.setenv("ANTHROPIC_API_KEY", "test-fake-key")CODE
LOWcore/llm/tests/test_bedrock_live_features.py331 ("Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOWcore/llm/tests/test_bedrock_live_features.py331 ("Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOWcore/audit/tests/test_e2e_block_sink.py156 ctx = {"source": "placeholder"}CODE
LOWcore/audit/tests/test_e2e_block_sink.py173 ctx = {"source": "placeholder"}CODE
LOWcore/audit/tests/test_e2e_block_sink.py190 ctx = {"source": "placeholder"}CODE
LOWcore/audit/tests/test_e2e_block_sink.py219 ctx = {"source": "placeholder"}CODE
LOWcore/audit/tests/test_e2e_block_sink.py398 ctx = {"source": "placeholder"}CODE
LOWcore/run/tests/test_provenance.py665 return_value={"name": "Jane Doe", "handle": "@jane"}):CODE
LOWcore/run/tests/test_provenance.py667 self.assertEqual(m["who"], {"name": "Jane Doe", "handle": "@jane"})CODE
LOWcore/run/tests/test_identity.py21 p = self._write(d, {"name": "Jane Doe", "handle": "@jane",CODE
LOWcore/run/tests/test_identity.py25 {"name": "Jane Doe", "handle": "@jane", "url": "https://x"})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.py515 (d / "x.c").write_text("placeholder")CODE
LOW…kages/sca/supply_chain/tests/test_registry_metadata.py421 assert lbf[0].evidence["sole_maintainer"] == "Acme Corp", (CODE
LOW.github/tests/test_release_workflow.sh65 git config user.email "test@test.com"CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMcore/llm/tool_use/tests/test_fallback.py227 "Let me know if you need anything else."CODE
LOWpackages/sca/parsers/tests/test_inline_installs.py861 "# don't forget to pip install requests before running\n",CODE
LOWpackages/sca/parsers/tests/test_inline_installs.py861 "# don't forget to pip install requests before running\n",CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcore/progress/__init__.py484# Example usage:COMMENT