SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.
This report summarizes scanner evidence for chaitin/SafeLine, a Go project with 23,126 GitHub stars. SynthScan examined 17,817 lines of code across 162 source files, recording 53 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 28 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 25 finding(s).
Which changes need focused human review? 53 finding(s).
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.
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.
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.
The scanner identified 53 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/manage.py | 584 | def get_url(url): | CODE |
| MEDIUM | scripts/manage.py | 673 | def exec_command(*args,shell=False): | CODE |
| MEDIUM | scripts/manage.py | 681 | def exec_command_with_loading(*args, cwd=None, env=None): | CODE |
| LOW | scripts/manage.py | 490 | except Exception as e: | CODE |
| LOW⚡ | scripts/manage.py | 701 | except Exception as e: | STRING |
| LOW⚡ | scripts/manage.py | 721 | except Exception as e: | STRING |
| LOW⚡ | scripts/manage.py | 881 | except Exception as e: | STRING |
| LOW⚡ | scripts/manage.py | 890 | except Exception as e: | STRING |
| LOW⚡ | scripts/manage.py | 899 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 589 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 645 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 665 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 678 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 936 | except Exception: | STRING |
| LOW | scripts/manage.py | 947 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1151 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1158 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1233 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1279 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1289 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1387 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1427 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1494 | except Exception as e: | STRING |
| LOW | scripts/manage.py | 1561 | except Exception as e: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compose.yaml | 41 | - ${MGT_PORT:-9443}:1443 | COMMENT |
| LOW | management/webserver/cmd/gen_certs.go | 21 | if err := genClientCACert(); err != nil { | COMMENT |
| LOW | management/webserver/api/auth.go | 41 | // BootstrapWindowEnv names the environment variable that holds how long the | COMMENT |
| LOW | management/webserver/api/auth.go | 61 | COMMENT | |
| LOW | management/webserver/api/auth.go | 201 | // checkBootstrapWindow returns an error when the window in which the account | COMMENT |
| LOW | management/webserver/api/auth.go | 301 | // in. It must not hand out a fresh secret on every call, and the secret it | COMMENT |
| LOW | management/webserver/api/common.go | 21 | const VersionInfoEntrypoint = "/release/latest/version.json" | COMMENT |
| LOW | management/webserver/api/cert.go | 41 | ) | COMMENT |
| LOW | management/webserver/rpc/auth.go | 21 | // tcontrollerd and this server. | COMMENT |
| LOW | management/tcontrollerd/config.yml | 1 | # develop use only. For production, refer to `package/build/tengine/tcontrollerd/config.yml` | COMMENT |
| LOW | management/tcontrollerd/utils/file.go | 61 | return RenameCopyFromIO(bytes.NewReader(data), filename, perm) | COMMENT |
| LOW | management/tcontrollerd/controller/validation.go | 21 | var ( | COMMENT |
| LOW | management/tcontrollerd/controller/validation.go | 41 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/ingress-nginx/README.md | 42 | ### Step 1: Install the plugin | COMMENT |
| LOW | sdk/ingress-nginx/README.md | 73 | ### Step 2: Configure the plugin | COMMENT |
| LOW | sdk/ingress-nginx/README.md | 88 | ### Step 3: Configure the ingress-controller | COMMENT |
| LOW | sdk/ingress-nginx/README.md | 109 | ### Step 3: Enable the plugin | COMMENT |
| LOW | sdk/ingress-nginx/README.md | 124 | ### Step 4: Set externalTrafficPolicy to Local | COMMENT |
| LOW | sdk/ingress-nginx/README.md | 127 | ### Step 5: Test the plugin | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/manage.py | 619 | CODE | |
| LOW | scripts/manage.py | 631 | CODE | |
| LOW | scripts/manage.py | 681 | CODE | |
| LOW | scripts/manage.py | 755 | CODE | |
| LOW | scripts/manage.py | 834 | CODE | |
| LOW | scripts/manage.py | 909 | CODE | |
| LOW | scripts/manage.py | 1000 | CODE | |
| LOW | scripts/manage.py | 1499 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | scripts/manage.py | 711 | return exec_command('systemctl enable docker && systemctl daemon-reload && systemctl restart docker',shell=True) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/manage.py | 681 | def exec_command_with_loading(*args, cwd=None, env=None): | STRING |