AI Slop Code RIsk Monitor

genlayerlabs/genlayer-project-boilerplate

6.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for genlayerlabs/genlayer-project-boilerplate, a TypeScript project with 18,768 GitHub stars. SynthScan examined 17,709 lines of code across 63 source files, recording 74 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 6.6 (Moderate 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.

6.6
Adjusted Signal
6.6
Raw Pattern Score
100%
Time Factor
2026-09-09
Last Push
18.8K
Stars
TypeScript
Language
17.7K
Lines of Code
63
Files
74
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 12.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 27.1/100 · MEDIUM

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

PR Review Velocity Impact 28.7/100 · MEDIUM

Which changes need focused human review? 74 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 0HIGH 2MEDIUM 18LOW 54

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

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

Decorative Section Separators17 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMcontracts/PatternTest.py24 # ── Pattern 1 & 2: gl.vm.Return type check + partial field matching ──────COMMENT
MEDIUMcontracts/PatternTest.py69 # ── Pattern 4: u256 arithmetic ────────────────────────────────────────────COMMENT
MEDIUM⚡contracts/PatternTest.py85 # ── Pattern 5: Address constructor ────────────────────────────────────────COMMENT
MEDIUM⚡contracts/PatternTest.py94 # ── Pattern 6: json.dumps sort_keys ──────────────────────────────────────COMMENT
MEDIUM⚡contracts/PatternTest.py101 # ── Pattern 7: Nested TreeMap workaround ─────────────────────────────────COMMENT
MEDIUM⚡tests/direct/test_patterns.py74# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/direct/test_patterns.py76# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/direct/test_patterns.py98# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/direct/test_patterns.py100# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/direct/test_patterns.py15# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/direct/test_patterns.py17# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/integration/test_new_features.py37# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/integration/test_new_features.py39# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/integration/test_new_features.py118# ─────────────────────────────────────────────────────────────────────────────STRING
MEDIUM⚡tests/integration/test_new_features.py120# ─────────────────────────────────────────────────────────────────────────────STRING
MEDIUM⚡tests/integration/test_new_features.py240# ─────────────────────────────────────────────────────────────────────────────STRING
MEDIUM⚡tests/integration/test_new_features.py242# ─────────────────────────────────────────────────────────────────────────────STRING
Hyper-Verbose Identifiers45 hits · 43 pts
SeverityFileLineSnippetContext
LOWfrontend/lib/genlayer/client.ts275export function createMetaMaskWalletClient(): WalletClient | null {CODE
LOWfrontend/lib/genlayer/fees.ts32function transactionFeesFromEstimate(estimate: FeePresetEstimate["estimate"]) {CODE
LOWfrontend/lib/genlayer/fees.ts51export function feePresetToTransactionFees(preset?: FeePresetEstimate) {CODE
LOWtests/direct/test_create_bet.py28def test_create_multiple_bets(direct_vm, direct_deploy, direct_alice):CODE
LOWtests/direct/test_create_bet.py42def test_create_duplicate_bet_fails(direct_vm, direct_deploy, direct_alice):CODE
LOWtests/direct/test_create_bet.py52def test_different_users_can_bet_same_match(CODE
LOW⚡tests/direct/test_patterns.py44 def test_json_with_backtick_fences(self):CODE
LOW⚡tests/direct/test_patterns.py50 def test_json_with_plain_backtick_fences(self):CODE
LOW⚡tests/direct/test_patterns.py56 def test_leading_trailing_whitespace(self):CODE
LOW⚡tests/direct/test_patterns.py62 def test_json_with_preamble_text(self):CODE
LOW⚡tests/direct/test_patterns.py81 def test_stable_across_two_calls(self):CODE
LOW⚡tests/direct/test_patterns.py87 def test_sort_keys_orders_alphabetically(self):CODE
LOW⚡tests/direct/test_patterns.py92 def test_insertion_order_dict_same_output(self):CODE
LOW⚡tests/direct/test_patterns.py105 def test_isinstance_return_on_success(self, direct_vm, direct_deploy):CODE
LOW⚡tests/direct/test_patterns.py241 def test_add_multiple_items_same_key(self, direct_vm, direct_deploy):CODE
LOW⚡tests/direct/test_patterns.py250 def test_different_keys_are_independent(self, direct_vm, direct_deploy):CODE
LOW⚡tests/direct/test_patterns.py258 def test_empty_key_returns_empty_list(self, direct_vm, direct_deploy):CODE
LOW⚡tests/direct/test_patterns.py264 def test_json_string_stored_and_retrieved(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_patterns.py32 def test_raw_dict_passthrough(self):CODE
LOWtests/direct/test_patterns.py119 def test_validator_distinguishes_return_from_error(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_patterns.py137 def test_partial_match_ignores_analysis_field(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_patterns.py170 def test_increment_multiple_times(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_patterns.py198 def test_address_from_hex_str(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_patterns.py208 def test_address_from_raw_bytes(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_patterns.py275 def test_stable_json_same_output_twice(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_patterns.py283 def test_stable_json_sorts_keys(self, direct_vm, direct_deploy):CODE
LOWtests/direct/test_views.py18def test_get_player_points_default_zero(direct_deploy, direct_alice):CODE
LOWtests/direct/test_resolve_bet.py39def test_resolve_losing_bet_no_points(direct_vm, direct_deploy, direct_alice):CODE
LOWtests/direct/test_resolve_bet.py74def test_resolve_already_resolved_fails(direct_vm, direct_deploy, direct_alice):CODE
LOWtests/direct/test_resolve_bet.py87def test_resolve_unfinished_game_fails(direct_vm, direct_deploy, direct_alice):CODE
LOWtests/direct/test_resolve_bet.py98def test_multiple_users_resolve_independently(CODE
LOW⚡tests/integration/test_new_features.py123def test_run_validator_exists(direct_vm):STRING
LOW⚡tests/integration/test_new_features.py129def test_run_validator_raises_without_captured(direct_vm):STRING
LOW⚡tests/integration/test_new_features.py135def test_run_validator_false_when_mocks_differ(direct_vm, direct_deploy, nondet_contract_path):STRING
LOW⚡tests/integration/test_new_features.py245def test_mock_web_intercepts_render_screenshot_call(direct_vm, direct_deploy, visual_contract_path):STRING
LOWtests/integration/test_new_features.py163def test_run_validator_true_when_mocks_agree(direct_vm, direct_deploy, nondet_contract_path):STRING
LOWtests/integration/test_new_features.py184def test_run_validator_respects_leader_result_override(direct_vm, direct_deploy, nondet_contract_path):STRING
LOWtests/integration/test_new_features.py206def test_run_validator_with_football_bets_skips_gracefully(direct_vm, direct_deploy):STRING
LOWtests/integration/test_new_features.py260def test_web_render_screenshot_empty_bytes_causes_pil_error(direct_vm, direct_deploy, visual_contract_path):STRING
LOWtests/integration/test_new_features.py279def test_exec_prompt_accepts_raw_image_bytes(direct_vm, direct_deploy, visual_contract_path):STRING
LOWtests/integration/test_new_features.py294def test_web_render_text_mode_works(direct_vm, direct_deploy):STRING
LOWtests/integration/test_new_features.py316def test_image_object_structure():STRING
LOWtests/integration/test_football_bets.py35def test_football_bets_success_win():CODE
LOWtests/integration/test_football_bets.py66def test_football_bets_draw_success():CODE
LOWtests/integration/test_football_bets.py99def test_football_bets_unsuccess():CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtests/integration/test_new_features.py220except Exception:CODE
HIGHtests/integration/test_new_features.py307except Exception:CODE
Unused Imports4 hits · 3 pts
SeverityFileLineSnippetContext
LOWcontracts/PatternTest.py8CODE
LOWcontracts/football_bets.py5CODE
LOWtests/direct/test_patterns.py11CODE
LOWtests/direct/test_patterns.py222CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json2822 "resolved": "https://registry.npmjs.org/@reown/appkit-scaffold-ui/-/appkit-scaffold-ui-1.7.8.tgz",CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcontracts/PatternTest.py52CODE
LOWcontracts/PatternTest.py67CODE
Excessive Try-Catch Wrapping3 hits · 1 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_new_features.py220 except Exception:STRING
LOWtests/integration/test_new_features.py307 except Exception:STRING
LOWtests/integration/test_new_features.py343 except Exception:STRING