AI Slop Code Risk Monitor

bfenetworks/bfe

SlopCodeMonitor badge for bfenetworks/bfe Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A modern layer 7 load balancer from baidu

3.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for bfenetworks/bfe, a Go project with 6,272 GitHub stars. SynthScan examined 315,310 lines of code across 1954 source files, recording 1161 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 3.8 (Low 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.

3.8
Adjusted Signal
3.8
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
6.3K
Stars
Go
Language
315.3K
Lines of Code
2.0K
Files
1.2K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 16.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 17.1/100 · LOW

Which changes need focused human review? 1161 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 0MEDIUM 9LOW 1152

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 1161 distinct pattern matches across 9 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.

Over-Commented Block1129 hits · 1129 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml1# Copyright 2021 The BFE AuthorsCOMMENT
LOW.goreleaser.yml1# Copyright 2021 The BFE AuthorsCOMMENT
LOW.licenserc.yaml1# Copyright (c) 2021 The BFE Authors.COMMENT
LOWrelease_local.sh1#! /bin/bashCOMMENT
LOWbfe.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW.travis.yml1# Copyright 2021 The BFE AuthorsCOMMENT
LOWrevive.toml1# Copyright (c) 2022 The BFE Authors.COMMENT
LOW…bfe_tls_conf/server_cert_conf/server_cert_conf_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…/bfe_tls_conf/tls_rule_conf/tls_rule_conf_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…onfig/bfe_tls_conf/tls_rule_conf/tls_rule_conf_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…onfig/bfe_tls_conf/tls_rule_conf/tls_rule_conf_load.go41// Notes about `NextProtos`:COMMENT
LOW…onfig/bfe_tls_conf/tls_rule_conf/tls_rule_conf_load.go61// + valid isw should be [65535, 262144] for current implementionCOMMENT
LOW…onf/session_ticket_key_conf/session_ticket_key_conf.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…ession_ticket_key_conf/session_ticket_key_conf_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_session_cache_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/bfe_config_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_session_ticket_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_session_ticket.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_ai_key_affinity.go1// Copyright (c) 2026 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_ai_key_affinity.go21)COMMENT
LOWbfe_config/bfe_conf/conf_ai_key_affinity_test.go1// Copyright (c) 2026 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_https_basic_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_basic.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/bfe_config_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_security.go1// Copyright (c) 2026 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_https_basic.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_basic_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_conf/conf_session_cache.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…nfig/bfe_cluster_conf/gslb_conf/gslb_conf_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_config/bfe_cluster_conf/gslb_conf/gslb_conf_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…fe_cluster_conf/cluster_conf/cluster_conf_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…fig/bfe_cluster_conf/cluster_conf/cluster_conf_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…fig/bfe_cluster_conf/cluster_conf/cluster_conf_load.go241 // ["openai", "anthropic"]. Empty defaults to ["openai"] for backward compatibility.COMMENT
LOW…fig/bfe_cluster_conf/cluster_conf/cluster_conf_load.go261 // bodies unchanged (after credential redaction when enabled).COMMENT
LOW…luster_conf/cluster_conf/cluster_conf_load_epp_test.go1// Copyright (c) 2026 The BFE Authors.COMMENT
LOW…ter_conf/cluster_table_conf/cluster_table_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…_cluster_conf/cluster_table_conf/cluster_table_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…_config/bfe_route_conf/vip_rule_conf/vip_table_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…ig/bfe_route_conf/vip_rule_conf/vip_table_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…onfig/bfe_route_conf/host_rule_conf/host_table_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…/bfe_route_conf/host_rule_conf/host_table_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…fe_route_conf/route_rule_conf/route_table_load_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…bfe_route_conf/route_rule_conf/basic_rule_tree_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…fig/bfe_route_conf/route_rule_conf/route_table_load.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…nfig/bfe_route_conf/route_rule_conf/basic_rule_tree.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOW…nfig/bfe_route_conf/route_rule_conf/basic_rule_tree.go121 //exact match firstlyCOMMENT
LOWbfe_wasmplugin/adapter.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_wasmplugin/filter.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_wasmplugin/plugin.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_wasmplugin/engine.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_wasmplugin/abi/registry.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_wasmplugin/abi/proxywasm010/factory.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_wasmplugin/abi/proxywasm010/imports.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_wasmplugin/abi/proxywasm010/shim.go1// Copyright (c) 2024 The BFE Authors.COMMENT
LOWbfe_net/textproto/header.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_net/textproto/textproto.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_net/textproto/textproto.go21//COMMENT
LOWbfe_net/textproto/textproto.go101 return nil, errCOMMENT
LOWbfe_net/textproto/writer_test.go1// Copyright (c) 2019 The BFE Authors.COMMENT
LOWbfe_net/textproto/header_test.go1// Copyright (c) 2021 The BFE Authors.COMMENT
1069 more matches not shown…
TODO Padding14 hits · 21 pts
SeverityFileLineSnippetContext
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go108 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go177 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go236 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go280 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go381 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go404 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go459 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go482 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go520 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go549 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go579 // TODO: Add test cases.COMMENT
LOW…_modules/mod_session_sticky/mod_session_sticky_test.go625 // TODO: Add test cases.COMMENT
LOW…e_modules/mod_session_sticky/product_rule_load_test.go31 // TODO: Add test cases.COMMENT
LOWbfe_http2/server.go100 // TODO: implementCOMMENT
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMexamples/kubernetes/api-server-configmap.yaml21 # ---------------------------------COMMENT
MEDIUMexamples/kubernetes/api-server-configmap.yaml31 # ---------------------------------COMMENT
MEDIUMexamples/kubernetes/api-server-configmap.yaml51 # ---------------------------------COMMENT
MEDIUMexamples/kubernetes/api-server-configmap.yaml73 # ---------------------------------COMMENT
MEDIUMexamples/kubernetes/api-server-configmap.yaml86 # ---------------------------------COMMENT
Slop Phrases3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMexamples/kubernetes/api-server-configmap.yaml89 # you can use "Skip {role_name} as authorization header to access api server if open this optionalCOMMENT
MEDIUMbfe_modules/mod_ai_context/rewrite.go43 {"As an AI language model, ", ""},CODE
MEDIUMbfe_modules/mod_ai_context/rewrite.go47 {"Let me know if you need more details.", ""},CODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…C01-route-table-lookup/sc01_route_table_lookup_test.go656 // Step 4: a no-route request whose body exceeds the drain budgetCOMMENT
LOW…C01-route-table-lookup/sc01_route_table_lookup_test.go672 // Step 5: HTTP/1.0 must not reuse the connection. Go's Transport alwaysCOMMENT
LOW…C01-route-table-lookup/sc01_route_table_lookup_test.go702 // Step 6: an explicit "Connection: close" request header must be honoredCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…C01-route-table-lookup/sc01_route_table_lookup_test.go656 // Step 4: a no-route request whose body exceeds the drain budgetCOMMENT
LOW…C01-route-table-lookup/sc01_route_table_lookup_test.go672 // Step 5: HTTP/1.0 must not reuse the connection. Go's Transport alwaysCOMMENT
LOW…C01-route-table-lookup/sc01_route_table_lookup_test.go702 // Step 6: an explicit "Connection: close" request header must be honoredCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/kubernetes/mysql-deploy.yaml16# This file contains all MySQL-related Kubernetes resources:COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWbfe_modules/mod_markdown/testdata/testcase1.md771. Lorem ipsum dolor sit ametCODE
LOWbfe_modules/mod_markdown/testdata/testcase1.md771. Lorem ipsum dolor sit ametCODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/zh_cn/modules/mod_unified_waf/bfe_waf_demo.md31class MyHttpRequestHandler(http.server.SimpleHTTPRequestHandler):CODE