AI Slop Code Risk Monitor

gravitl/netmaker

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

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gravitl/netmaker, a Go project with 11,850 GitHub stars. SynthScan examined 122,697 lines of code across 592 source files, recording 96 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
11.8K
Stars
Go
Language
122.7K
Lines of Code
592
Files
96
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 3.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 4.3/100 · LOW

Which changes need focused human review? 96 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 6LOW 90

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 96 distinct pattern matches across 4 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 Block86 hits · 86 pts
SeverityFileLineSnippetContext
LOWmain.go41COMMENT
LOWservercfg/serverconf.go881// TODO: Future Enhancement - Implement Leader Election for True HA FailoverCOMMENT
LOWclickhouse/clickhouse.go61// IsConnected returns whether a clickhouse connectionCOMMENT
LOWpro/logic/status.go141COMMENT
LOWpro/controllers/users.go1161// @Router /api/users/{username}/remote_access_gw/{remote_access_gateway_id} [post]COMMENT
LOWpro/controllers/users.go1241COMMENT
LOWpro/controllers/users.go1621 DnsAddress: node.IngressDNS,COMMENT
LOWpro/controllers/jit.go41// @Tags JITCOMMENT
LOWpro/controllers/jit.go641 logic.ReturnSuccessResponseWithJson(w, r, networksWithJITStatus, "fetched user JIT network status")COMMENT
LOWpro/controllers/auto_relay.go501 if sendPeerUpdate {COMMENT
LOWpro/controllers/events.go21}COMMENT
LOWpro/controllers/events.go81}COMMENT
LOWpro/controllers/flows.go81// @Param src_entity_id query string false "Source entity ID filter"COMMENT
LOWpro/controllers/posture_check.go41// @Success 200 {object} models.SuccessResponseCOMMENT
LOWpro/controllers/posture_check.go121 proLogic.PopulatePostureCheckGroupNames(r.Context(), []schema.PostureCheck{pc})COMMENT
LOWpro/controllers/integrations.go241COMMENT
LOWpro/controllers/integrations.go361COMMENT
LOWgrpc/auditlogs/auditlogs_grpc.pb.go61// for forward compatibility.COMMENT
LOWgrpc/flow/flow_grpc.pb.go61// for forward compatibility.COMMENT
LOWauth/host_session.go101 }COMMENT
LOWk8s/server/netmaker-ui.yaml41# kind: IngressCOMMENT
LOWk8s/server/netmaker-ui.yaml61# service:COMMENT
LOWk8s/server/mosquitto.yaml161# ingressClassName: nginxCOMMENT
LOWk8s/server/netmaker-server.yaml201# kind: IngressCOMMENT
LOWk8s/server/netmaker-server.yaml221# service:COMMENT
LOWcompose/docker-compose.pro.yml61 restart: alwaysCOMMENT
LOWlogic/peers.go521 // RelayedBy is temporarily empty/stale after gateway teardown;COMMENT
LOWlogic/acls_selected_ips_test.go2221 t.Fatalf("expected reverse Dst to contain relayed device /32, got %v", rev.Dst)COMMENT
LOWlogic/acls_selected_ips_test.go2381COMMENT
LOWlogic/acls_selected_ips_test.go2561// site-acl is Uni, src has {EgressID: blr-eg, NodeID: macbook,COMMENT
LOWmodels/network_test.go1package modelsCOMMENT
LOWmigrate/migrate_test.go1// Package migrate provides tests for migration functions, includingCOMMENT
LOWscripts/netmaker-ci-runner.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/nm-quick.sh841COMMENT
LOWcontrollers/enrollmentkeys.go401COMMENT
LOWcontrollers/dns.go61COMMENT
LOWcontrollers/dns.go201 r,COMMENT
LOWcontrollers/dns.go581 json.NewEncoder(w).Encode(entry)COMMENT
LOWcontrollers/gateway.go381 json.NewEncoder(w).Encode(apiNode)COMMENT
LOWcontrollers/egress.go41 presets := []models.EgressPresetApp{}COMMENT
LOWcontrollers/org.go261//func createOrg(w http.ResponseWriter, r *http.Request) {COMMENT
LOWcontrollers/org.go281// returnCOMMENT
LOWcontrollers/org.go581COMMENT
LOWcontrollers/org.go601// err := o.Get(r.Context())COMMENT
LOWcontrollers/org.go621// err = o.Delete(r.Context())COMMENT
LOWcontrollers/org.go681COMMENT
LOWcontrollers/org.go701// if err != nil {COMMENT
LOWcontrollers/org.go721// logic.ReturnErrorResponse(w, r, logic.FormatError(err, logic.BadReq))COMMENT
LOWcontrollers/org.go741// logic.ReturnErrorResponse(w, r, logic.FormatError(err, logic.Internal))COMMENT
LOWcontrollers/org.go781// @Success 200 {object} models.SuccessResponseCOMMENT
LOWcontrollers/org.go801// logic.ReturnErrorResponse(w, r, logic.FormatError(errors.New("tenant not found"), logic.NotFound))COMMENT
LOWcontrollers/server.go101 }COMMENT
LOWcontrollers/server.go181}COMMENT
LOWcontrollers/server.go461COMMENT
LOWcontrollers/user.go181// @Produce jsonCOMMENT
LOWcontrollers/user.go481// @Summary Get the login methods available for a tenant or organizationCOMMENT
LOWcontrollers/user.go861// @Tags UsersCOMMENT
LOWcontrollers/user.go1141 userID := r.Header.Get("user")COMMENT
LOWcontrollers/user.go1281 logger.Log(2, r.Header.Get("user"), "fetched users")COMMENT
LOWcontrollers/user.go2001COMMENT
26 more matches not shown…
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtest/utils/ip.go11// ── IPv4 Public ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/utils/ip.go69// ── IPv6 Public ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/utils/ip.go121// ── Private / Shared CIDR generation ────────────────────────────────────────COMMENT
MEDIUMtest/utils/ip.go180// ── Random IP within a CIDR ──────────────────────────────────────────────────COMMENT
MEDIUMtest/utils/ip.go242// ── helpers ──────────────────────────────────────────────────────────────────COMMENT
Fake / Example Data4 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡pro/integration/mdm/iru/iru_test.go13 "user": {"email": "user@example.com", "name": "User One"}CODE
LOW⚡pro/integration/mdm/iru/iru_test.go17 if d.User.Email() != "user@example.com" {CODE
LOW⚡pro/integration/mdm/iru/iru_test.go27 "user": "user@example.com"CODE
LOW⚡pro/integration/mdm/iru/iru_test.go31 if d.User.Email() != "user@example.com" {CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMservercfg/serverconf.go897// - Most robust but adds infrastructure dependencyCOMMENT