AI Slop Code Risk Monitor

telepresenceio/telepresence

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

Local development against a remote Kubernetes or OpenShift cluster

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for telepresenceio/telepresence, a Go project with 7,326 GitHub stars. SynthScan examined 232,655 lines of code across 1330 source files, recording 319 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.5 (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.

1.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
7.3K
Stars
Go
Language
232.7K
Lines of Code
1.3K
Files
319
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 6.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 7.3/100 · LOW

Which changes need focused human review? 319 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 2HIGH 2MEDIUM 3LOW 312

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 319 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.

Over-Commented Block305 hits · 304 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.yml1# The YAML in this file should contain:COMMENT
LOWcmd/traffic/cmd/quicforwarder/batchio.go1package quicforwarderCOMMENT
LOWcmd/traffic/cmd/quicforwarder/config.go21COMMENT
LOWcmd/traffic/cmd/quicforwarder/config.go41 // to.COMMENT
LOWcmd/traffic/cmd/quicforwarder/forwarder.go121 f.runIngress(ctx)COMMENT
LOWcmd/traffic/cmd/quicforwarder/sockbuf.go1package quicforwarderCOMMENT
LOWcmd/traffic/cmd/quicforwarder/metrics.go21 // dropGarbage means the datagram didn't parse as QUIC packet(s) at all, orCOMMENT
LOWcmd/traffic/cmd/quicforwarder/migration_test.go161 return quic.DialAddr(context.Background(), addr, &tls.Config{COMMENT
LOWcmd/traffic/cmd/quicforwarder/migration_test.go261// does not survive: a rebind that straddles a single connection attempt's ownCOMMENT
LOWcmd/traffic/cmd/quicforwarder/bench_test.go21 "github.com/quic-go/quic-go"COMMENT
LOWcmd/traffic/cmd/quicforwarder/gso_linux.go21// the syscall entry/exit overhead, a small fraction of that per-datagram cost. GSOCOMMENT
LOWcmd/traffic/cmd/quicforwarder/allowlist.go41// Allowlist is the forwarder's atomic view of the live manager/agent pod IPs aCOMMENT
LOWcmd/traffic/cmd/quicforwarder/allowlist.go121COMMENT
LOWcmd/traffic/cmd/quicforwarder/allowlist.go161 a.readyOnce.Do(func() {COMMENT
LOWcmd/traffic/cmd/quicforwarder/router.go21 // ephemeral -- an attacker cannot make it grow arbitrarily by tricklingCOMMENT
LOWcmd/traffic/cmd/quicforwarder/router.go41type backendPicker interface {COMMENT
LOWcmd/traffic/cmd/agent/quic.go21// created once, in NewState, and lives for the lifetime of the agent process; theCOMMENT
LOWcmd/traffic/cmd/agent/fileshare_auth.go81// attaches as per-RPC credentials on the plaintext, port-forwarded transport (seeCOMMENT
LOWcmd/traffic/cmd/agent/state.go41 SetGRPCServer(svc *grpc.Server)COMMENT
LOWcmd/traffic/cmd/agent/nodeagent_linux.go41// nodeConfig is the sidecar Config, augmented with the host PID that each configuredCOMMENT
LOWcmd/traffic/cmd/agent/fwd/wiretap.go21// - Each Read on the wiretap consumes one entry in the cache.COMMENT
LOWcmd/traffic/cmd/agent/fwd/wiretap.go221// - Errors occurring when reading on the tapped request-body will be propagated and cause all wiretaps to be closed.COMMENT
LOWcmd/traffic/cmd/agent/tls/portconfig.go41COMMENT
LOWcmd/traffic/cmd/agent/quicserver/listener.go1// Package quicserver implements the traffic-agent side of the QUIC listener described inCOMMENT
LOWcmd/traffic/cmd/agent/quicserver/listener.go61// Listener accepts mTLS-authenticated QUIC connections on behalf of the traffic-agentCOMMENT
LOWcmd/traffic/cmd/manager/service.go101 // discovery entirely (see GetQuicTunnelEndpoint), so there is nothing for it toCOMMENT
LOWcmd/traffic/cmd/manager/service.go1881COMMENT
LOWcmd/traffic/cmd/manager/manager.go221 }COMMENT
LOWcmd/traffic/cmd/manager/external.go21)COMMENT
LOWcmd/traffic/cmd/manager/usg/installid.go21)COMMENT
LOWcmd/traffic/cmd/manager/quictunnel/discovery.go41 // serviceWatchResync bounds how stale the Service snapshot can get if a watchCOMMENT
LOWcmd/traffic/cmd/manager/quictunnel/listener.go21)COMMENT
LOWcmd/traffic/cmd/manager/quictunnel/listener.go41type TunnelHandler func(ctx context.Context, stream tunnel.Stream) errorCOMMENT
LOWcmd/traffic/cmd/manager/quictunnel/ca.go21COMMENT
LOWcmd/traffic/cmd/manager/auth/authorizer.go81COMMENT
LOWcmd/traffic/cmd/manager/auth/external.go21 // with concurrent reviews.COMMENT
LOWcmd/traffic/cmd/manager/auth/clientca.go21COMMENT
LOWcmd/traffic/cmd/manager/state/intercept.go1281COMMENT
LOWcmd/traffic/cmd/manager/state/nodeagent_watch.go81// and then watches its pods for further changes, repeating for as long asCOMMENT
LOWcmd/traffic/cmd/manager/state/state.go261 }COMMENT
LOWcmd/traffic/cmd/manager/state/nodeagent.go81}COMMENT
LOWcmd/traffic/cmd/manager/state/nodeagent.go101// sweep) invokes it only after nodeAgentWanted reports that no claim on theCOMMENT
LOWcmd/traffic/cmd/manager/state/nodeagent.go541// nodeAgentTargets returns one target for every Running & Ready pod of wlCOMMENT
LOWcmd/traffic/cmd/manager/state/nodeagent.go701 // criSocket is the container-runtime socket path to mount into theCOMMENT
LOWcmd/traffic/cmd/manager/state/watcher.go61// handlerReg pairs an informer with the registration of the event handlerCOMMENT
LOWcmd/traffic/cmd/manager/mutator/service.go121// NodeAgentReaper deletes every node-agent Job the traffic-manager created,COMMENT
LOWcmd/traffic/cmd/manager/mutator/watcher.go361}COMMENT
LOWcmd/traffic/cmd/manager/managerutil/envconfig.go101 // binds to on all interfaces. Zero (the default) disables the listener.COMMENT
LOWcmd/traffic/cmd/manager/managerutil/envconfig.go121 // restart.COMMENT
LOWcmd/traffic/cmd/manager/managerutil/envconfig.go141COMMENT
LOWcmd/traffic/cmd/manager/managerutil/envconfig.go181 // reads from a single pod before truncating it and reporting theCOMMENT
LOWcmd/routecontroller/main.go121 v4 = append(v4, prefix)COMMENT
LOWcmd/routecontroller/main.go141// The forward hook only affects traffic forwarded through the host (i.e. podCOMMENT
LOWbuild-aux/unparsable-packages.yaml1# Packages whose licenses cannot be auto-detected by go-mkopensource.COMMENT
LOWbuild-aux/genversion/main.go1// Copyright 2021 Datawire. All rights reserved.COMMENT
LOWcharts/telepresence-oss/values.yaml1################################################################################COMMENT
LOWcharts/telepresence-oss/values.yaml41# coverage hostPath in test clusters or injecting a sidecar's sharedCOMMENT
LOWcharts/telepresence-oss/values.yaml81 # mode controls how strictly the traffic-manager enforces caller authentication:COMMENT
LOWcharts/telepresence-oss/values.yaml101 # kube-system to the stock extension-apiserver-authentication-readerCOMMENT
LOWcharts/telepresence-oss/values.yaml121 # grant (connections to connect, attachments to attach).COMMENT
245 more matches not shown…
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALpkg/client/cli/setup/interview.go190 naMaybe := iv.Facts.NodeAgent.Viable.Verdict.Likely()CODE
CRITICALpkg/client/cli/setup/interview.go387 cmAvailable := iv.Facts.External.CertManager.Verdict.Likely()CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHcmd/traffic/cmd/agent/containerstate_test.go43// set as requested, so newPortHandler's defaultTarget selection can beCOMMENT
HIGHpkg/agentconfig/sidecar_test.go97// intercept's TargetPortNumeric set as requested, mirroring the fake-Config pattern usedCOMMENT
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtest-infra/aws-vpn/pki.sh18#--------------------------------------------------------------------------------------COMMENT
MEDIUMtest-infra/aws-vpn/pki.sh32#--------------------------------------------------------------------------------------COMMENT
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOWdocs/howtos/client-rbac.md25## Step 1: drop the discovery and diagnostic grantsCOMMENT
LOWdocs/howtos/client-rbac.md53## Step 2: enforce authenticationCOMMENT
LOWdocs/howtos/client-rbac.md70## Step 3: authorize with Telepresence's own grantsCOMMENT
LOWdocs/howtos/client-rbac.md154## Step 4: Direct Connect, no Kubernetes API access at allCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yaml268 # Create a temporary keychainCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpkg/client/docker/daemon_test.go160 // TODO: Add test cases.COMMENT
LOWpkg/client/cli/daemon/identifier_test.go68 // TODO: Add test cases.COMMENT
Example Usage Blocks1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpkg/client/cli/cmd/usage.go122 usageMarkdown = `### Usage:CODE