AI Slop Code RIsk Monitor

jhao104/proxy_pool

Python ProxyPool for web spider

25.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for jhao104/proxy_pool, a Python project with 23,758 GitHub stars. SynthScan examined 7,462 lines of code across 87 source files, recording 147 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 25.2 (Elevated 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.

25.2
Adjusted Signal
25.2
Raw Pattern Score
100%
Time Factor
2026-06-15
Last Push
23.8K
Stars
Python
Language
7.5K
Lines of Code
87
Files
147
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 54.3/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 13.7/100 · LOW

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

Agent Over-Engineering Ratio 66.5/100 · HIGH

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

PR Review Velocity Impact 69.9/100 · HIGH

Which changes need focused human review? 147 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 6MEDIUM 1LOW 140

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

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

Hyper-Verbose Identifiers95 hits · 111 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/test_fetcher_sources.py75 def test_all_fetchers_have_name_url_enabled(self):CODE
LOW⚡tests/unit/test_fetcher_sources.py83 def test_all_fetchers_subclass_base(self):CODE
LOW⚡tests/unit/test_fetcher_sources.py89 def test_all_fetchers_have_fetch_method(self):CODE
LOWtests/unit/test_fetcher_sources.py256 def test_fetch_old_returns_empty(self, mock_dt, mock_wr):CODE
LOWtests/unit/test_fetcher_sources.py272 def test_fetch_old_cross_day_returns_empty(self, mock_dt, mock_wr):CODE
LOWtests/unit/test_fetcher_sources.py312 def test_fetch_empty_table_returns_empty(self, mock_requests):CODE
LOWtests/unit/test_fetcher_sources.py340 def test_fetch_filters_non_cn(self, mock_wr):CODE
LOWtests/unit/test_fetcher_sources.py352 def test_fetch_filters_non_http(self, mock_wr):CODE
LOWtests/unit/test_fetcher_sources.py381 def test_fetch_empty_data_returns_empty(self, mock_wr):CODE
LOWtests/unit/test_fetcher_sources.py405 def test_fetch_empty_data_returns_empty(self, mock_wr):CODE
LOWtests/unit/test_fetcher_sources.py412 def test_fetch_exception_returns_empty(self, mock_wr):CODE
LOWtests/unit/test_web_request.py124 def test_empty_content_returns_none(self):CODE
LOWtests/unit/test_web_request.py130 def test_valid_html_returns_element(self):CODE
LOW⚡tests/unit/test_web_request.py143 def test_returns_response_text(self):CODE
LOW⚡tests/unit/test_web_request.py153 def test_valid_json_returns_dict(self):CODE
LOW⚡tests/unit/test_web_request.py159 def test_invalid_json_returns_empty_dict(self):CODE
LOWtests/unit/test_web_request.py171 def test_user_agent_returns_string(self):CODE
LOWtests/unit/test_web_request.py177 def test_header_contains_user_agent(self):CODE
LOW⚡tests/unit/test_db_client.py38 def test_redis_uri_no_password(self):CODE
LOW⚡tests/unit/test_db_client.py46 def test_ssdb_uri_no_password(self):CODE
LOW⚡tests/unit/test_db_client.py52 def test_unknown_db_type_raises(self):CODE
LOWtests/unit/test_scheduler.py41 def test_fetcher_yields_go_to_queue(self, mock_fetcher_cls, mock_checker):CODE
LOWtests/unit/test_scheduler.py61 def test_triggers_fetch_when_pool_low(self, mock_ph_cls, mock_checker, mock_fetch):CODE
LOWtests/unit/test_scheduler.py76 def test_skips_fetch_when_pool_sufficient(self, mock_ph_cls, mock_checker, mock_fetch):CODE
LOWtests/unit/test_fetch.py28 def test_returns_correct_path(self):CODE
LOWtests/unit/test_fetch.py67 def test_import_exception_returns_none(self, mock_importlib, mock_mtime):CODE
LOW⚡tests/unit/test_fetch.py86 def test_filters_enabled_only(self):CODE
LOW⚡tests/unit/test_fetch.py93 def test_filters_exclude_list(self):CODE
LOW⚡tests/unit/test_fetch.py103 def test_returns_sorted_by_name(self):CODE
LOWtests/unit/test_fetch.py132 def test_merges_duplicate_sources(self):CODE
LOWtests/unit/test_check.py28 def test_validator_http_pass_https_pass(self, mock_pv_cls, mock_conf_cls):CODE
LOWtests/unit/test_check.py54 def test_validator_http_pass_https_fail(self, mock_pv_cls, mock_conf_cls):CODE
LOWtests/unit/test_check.py90 def test_validator_fail_count_decrement(self, mock_pv_cls, mock_conf_cls):CODE
LOWtests/unit/test_check.py109 def test_validator_raw_sets_region(self, mock_pv_cls, mock_conf_cls, mock_region):CODE
LOWtests/unit/test_check.py128 def test_validator_use_skips_region(self, mock_pv_cls, mock_conf_cls, mock_region):CODE
LOWtests/unit/test_check.py148 def test_success_returns_country_code(self, mock_wr_cls):CODE
LOWtests/unit/test_check.py159 def test_exception_returns_error(self, mock_wr_cls):CODE
LOWtests/unit/test_check.py198 def test_ifraw_new_proxy_gets_put(self):CODE
LOWtests/unit/test_check.py210 def test_ifraw_existing_proxy_skipped(self):CODE
LOWtests/unit/test_check.py222 def test_ifraw_failed_proxy_not_put(self):CODE
LOWtests/unit/test_check.py248 def test_ifuse_fail_exceeds_max_deleted(self):CODE
LOWtests/unit/test_check.py263 def test_ifuse_fail_below_max_kept(self):CODE
LOWtests/unit/test_proxy_handler.py53 def test_get_returns_none_when_empty(self):CODE
LOWtests/unit/test_proxy_handler.py90 def test_pop_returns_none_when_empty(self):CODE
LOWtests/unit/test_proxy_handler.py116 def test_delete_delegates_to_db(self):CODE
LOWtests/unit/test_proxy_handler.py156 def test_exists_delegates_to_db(self):CODE
LOW⚡tests/unit/test_config.py63 def test_verify_timeout_default(self, conf):CODE
LOW⚡tests/unit/test_config.py66 def test_max_fail_count_default(self, conf):CODE
LOW⚡tests/unit/test_config.py69 def test_pool_size_min_default(self, conf):CODE
LOW⚡tests/unit/test_config.py75 def test_fetcher_exclude_is_list(self, conf):CODE
LOWtests/unit/test_config.py91 def test_verify_timeout_override(self):CODE
LOWtests/unit/test_config.py96 def test_max_fail_count_override(self):CODE
LOWtests/unit/test_validator.py49 def test_invalid_proxy_format(self, proxy):CODE
LOWtests/unit/test_validator.py68 def test_invalid_returns_false(self, proxy):CODE
LOWtests/unit/test_validator.py88 def test_returns_false_on_exception(self, mock_head):CODE
LOWtests/unit/test_validator.py113 def test_returns_false_on_exception(self, mock_head):CODE
LOWtests/unit/test_base_fetcher.py36 def test_ip_port_in_html_text(self):CODE
LOWtests/unit/test_base_fetcher.py100 def test_fetch_raises_not_implemented(self):CODE
LOWtests/unit/test_proxy.py81 def test_to_json_is_valid_json(self):CODE
LOWtests/unit/test_proxy.py87 def test_create_from_json_roundtrip(self):CODE
35 more matches not shown…
Unused Imports22 hits · 22 pts
SeverityFileLineSnippetContext
LOWutil/six.py28CODE
LOWutil/six.py30CODE
LOWutil/six.py41CODE
LOWutil/six.py41CODE
LOWutil/six.py43CODE
LOWutil/six.py43CODE
LOWtests/unit/test_web_request.py15CODE
LOWtests/unit/test_web_request.py16CODE
LOWtests/unit/test_scheduler.py16CODE
LOWtests/unit/test_fetch.py23CODE
LOWtests/unit/test_check.py15CODE
LOWtests/unit/test_check.py16CODE
LOWtests/unit/test_check.py17CODE
LOWtests/unit/test_proxy_handler.py15CODE
LOWtests/unit/test_validator.py15CODE
LOWtests/unit/test_proxy.py16CODE
LOWtests/unit/test_log_handler.py16CODE
LOWtests/unit/test_log_handler.py17CODE
LOWtests/unit/test_launcher.py15CODE
LOWtests/integration/test_redis_client.py17CODE
LOWtests/integration/test_redis_client.py18CODE
LOWtests/api/test_proxy_api.py16CODE
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHhandler/__init__.py0------------------------------------------------- file name: singleton description : author : jhao date: 2016/12/3 -----STRING
HIGHapi/__init__.py0------------------------------------------------- file name: singleton description : author : jhao date: 2016/12/3 -----STRING
HIGHutil/lazyProperty.py0------------------------------------------------- file name: singleton description : author : jhao date: 2016/12/3 -----STRING
HIGHutil/singleton.py0------------------------------------------------- file name: singleton description : author : jhao date: 2016/12/3 -----STRING
Excessive Try-Catch Wrapping18 hits · 19 pts
SeverityFileLineSnippetContext
LOWREADME.md155 except Exception:CODE
LOWutil/webRequest.py79 except Exception as e:CODE
LOWutil/webRequest.py106 except Exception as e:CODE
LOWutil/webRequest.py131 except Exception as e:CODE
MEDIUMutil/webRequest.py128def json(self):CODE
LOWfetcher/sources/proxifly.py36 except Exception as e:CODE
LOWfetcher/sources/scdn.py61 except Exception as e:CODE
LOWfetcher/sources/daili66.py35 except Exception as e:CODE
LOWfetcher/sources/geonode.py43 except Exception as e:CODE
LOWfetcher/sources/roundproxies.py36 except Exception as e:CODE
LOWfetcher/sources/docip.py33 except Exception as e:CODE
LOWdocs/api.md48 except Exception:CODE
LOWdocs/extending/validator.md49 except Exception as e:CODE
LOWdocs/extending/validator.md63 except Exception as e:CODE
LOWhelper/fetch.py52 except Exception as e:CODE
LOWhelper/fetch.py114 except Exception as e:CODE
LOWhelper/validator.py67 except Exception as e:CODE
LOWhelper/validator.py79 except Exception as e:CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHhandler/logHandler.py40except FileExistsError:CODE
HIGHtests/unit/test_base_fetcher.py105except NotImplementedError:CODE
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdb/ssdbClient.py72CODE
LOWdb/redisClient.py72CODE
LOWhelper/proxy.py20CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWfetcher/sources/scdn.py32CODE
LOWfetcher/sources/freevpnnode.py27CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsetting.py61MAX_FAIL_COUNT = 0COMMENT