Local development against a remote Kubernetes or OpenShift cluster
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.
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? 315 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 319 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CHANGELOG.yml | 1 | # The YAML in this file should contain: | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/batchio.go | 1 | package quicforwarder | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/config.go | 21 | COMMENT | |
| LOW | cmd/traffic/cmd/quicforwarder/config.go | 41 | // to. | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/forwarder.go | 121 | f.runIngress(ctx) | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/sockbuf.go | 1 | package quicforwarder | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/metrics.go | 21 | // dropGarbage means the datagram didn't parse as QUIC packet(s) at all, or | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/migration_test.go | 161 | return quic.DialAddr(context.Background(), addr, &tls.Config{ | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/migration_test.go | 261 | // does not survive: a rebind that straddles a single connection attempt's own | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/bench_test.go | 21 | "github.com/quic-go/quic-go" | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/gso_linux.go | 21 | // the syscall entry/exit overhead, a small fraction of that per-datagram cost. GSO | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/allowlist.go | 41 | // Allowlist is the forwarder's atomic view of the live manager/agent pod IPs a | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/allowlist.go | 121 | COMMENT | |
| LOW | cmd/traffic/cmd/quicforwarder/allowlist.go | 161 | a.readyOnce.Do(func() { | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/router.go | 21 | // ephemeral -- an attacker cannot make it grow arbitrarily by trickling | COMMENT |
| LOW | cmd/traffic/cmd/quicforwarder/router.go | 41 | type backendPicker interface { | COMMENT |
| LOW | cmd/traffic/cmd/agent/quic.go | 21 | // created once, in NewState, and lives for the lifetime of the agent process; the | COMMENT |
| LOW | cmd/traffic/cmd/agent/fileshare_auth.go | 81 | // attaches as per-RPC credentials on the plaintext, port-forwarded transport (see | COMMENT |
| LOW | cmd/traffic/cmd/agent/state.go | 41 | SetGRPCServer(svc *grpc.Server) | COMMENT |
| LOW | cmd/traffic/cmd/agent/nodeagent_linux.go | 41 | // nodeConfig is the sidecar Config, augmented with the host PID that each configured | COMMENT |
| LOW | cmd/traffic/cmd/agent/fwd/wiretap.go | 21 | // - Each Read on the wiretap consumes one entry in the cache. | COMMENT |
| LOW | cmd/traffic/cmd/agent/fwd/wiretap.go | 221 | // - Errors occurring when reading on the tapped request-body will be propagated and cause all wiretaps to be closed. | COMMENT |
| LOW | cmd/traffic/cmd/agent/tls/portconfig.go | 41 | COMMENT | |
| LOW | cmd/traffic/cmd/agent/quicserver/listener.go | 1 | // Package quicserver implements the traffic-agent side of the QUIC listener described in | COMMENT |
| LOW | cmd/traffic/cmd/agent/quicserver/listener.go | 61 | // Listener accepts mTLS-authenticated QUIC connections on behalf of the traffic-agent | COMMENT |
| LOW | cmd/traffic/cmd/manager/service.go | 101 | // discovery entirely (see GetQuicTunnelEndpoint), so there is nothing for it to | COMMENT |
| LOW | cmd/traffic/cmd/manager/service.go | 1881 | COMMENT | |
| LOW | cmd/traffic/cmd/manager/manager.go | 221 | } | COMMENT |
| LOW | cmd/traffic/cmd/manager/external.go | 21 | ) | COMMENT |
| LOW | cmd/traffic/cmd/manager/usg/installid.go | 21 | ) | COMMENT |
| LOW | cmd/traffic/cmd/manager/quictunnel/discovery.go | 41 | // serviceWatchResync bounds how stale the Service snapshot can get if a watch | COMMENT |
| LOW | cmd/traffic/cmd/manager/quictunnel/listener.go | 21 | ) | COMMENT |
| LOW | cmd/traffic/cmd/manager/quictunnel/listener.go | 41 | type TunnelHandler func(ctx context.Context, stream tunnel.Stream) error | COMMENT |
| LOW | cmd/traffic/cmd/manager/quictunnel/ca.go | 21 | COMMENT | |
| LOW | cmd/traffic/cmd/manager/auth/authorizer.go | 81 | COMMENT | |
| LOW | cmd/traffic/cmd/manager/auth/external.go | 21 | // with concurrent reviews. | COMMENT |
| LOW | cmd/traffic/cmd/manager/auth/clientca.go | 21 | COMMENT | |
| LOW | cmd/traffic/cmd/manager/state/intercept.go | 1281 | COMMENT | |
| LOW | cmd/traffic/cmd/manager/state/nodeagent_watch.go | 81 | // and then watches its pods for further changes, repeating for as long as | COMMENT |
| LOW | cmd/traffic/cmd/manager/state/state.go | 261 | } | COMMENT |
| LOW | cmd/traffic/cmd/manager/state/nodeagent.go | 81 | } | COMMENT |
| LOW | cmd/traffic/cmd/manager/state/nodeagent.go | 101 | // sweep) invokes it only after nodeAgentWanted reports that no claim on the | COMMENT |
| LOW | cmd/traffic/cmd/manager/state/nodeagent.go | 541 | // nodeAgentTargets returns one target for every Running & Ready pod of wl | COMMENT |
| LOW | cmd/traffic/cmd/manager/state/nodeagent.go | 701 | // criSocket is the container-runtime socket path to mount into the | COMMENT |
| LOW | cmd/traffic/cmd/manager/state/watcher.go | 61 | // handlerReg pairs an informer with the registration of the event handler | COMMENT |
| LOW | cmd/traffic/cmd/manager/mutator/service.go | 121 | // NodeAgentReaper deletes every node-agent Job the traffic-manager created, | COMMENT |
| LOW | cmd/traffic/cmd/manager/mutator/watcher.go | 361 | } | COMMENT |
| LOW | cmd/traffic/cmd/manager/managerutil/envconfig.go | 101 | // binds to on all interfaces. Zero (the default) disables the listener. | COMMENT |
| LOW | cmd/traffic/cmd/manager/managerutil/envconfig.go | 121 | // restart. | COMMENT |
| LOW | cmd/traffic/cmd/manager/managerutil/envconfig.go | 141 | COMMENT | |
| LOW | cmd/traffic/cmd/manager/managerutil/envconfig.go | 181 | // reads from a single pod before truncating it and reporting the | COMMENT |
| LOW | cmd/routecontroller/main.go | 121 | v4 = append(v4, prefix) | COMMENT |
| LOW | cmd/routecontroller/main.go | 141 | // The forward hook only affects traffic forwarded through the host (i.e. pod | COMMENT |
| LOW | build-aux/unparsable-packages.yaml | 1 | # Packages whose licenses cannot be auto-detected by go-mkopensource. | COMMENT |
| LOW | build-aux/genversion/main.go | 1 | // Copyright 2021 Datawire. All rights reserved. | COMMENT |
| LOW | charts/telepresence-oss/values.yaml | 1 | ################################################################################ | COMMENT |
| LOW | charts/telepresence-oss/values.yaml | 41 | # coverage hostPath in test clusters or injecting a sidecar's shared | COMMENT |
| LOW | charts/telepresence-oss/values.yaml | 81 | # mode controls how strictly the traffic-manager enforces caller authentication: | COMMENT |
| LOW | charts/telepresence-oss/values.yaml | 101 | # kube-system to the stock extension-apiserver-authentication-reader | COMMENT |
| LOW | charts/telepresence-oss/values.yaml | 121 | # grant (connections to connect, attachments to attach). | COMMENT |
| 245 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pkg/client/cli/setup/interview.go | 190 | naMaybe := iv.Facts.NodeAgent.Viable.Verdict.Likely() | CODE |
| CRITICAL | pkg/client/cli/setup/interview.go | 387 | cmAvailable := iv.Facts.External.CertManager.Verdict.Likely() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cmd/traffic/cmd/agent/containerstate_test.go | 43 | // set as requested, so newPortHandler's defaultTarget selection can be | COMMENT |
| HIGH | pkg/agentconfig/sidecar_test.go | 97 | // intercept's TargetPortNumeric set as requested, mirroring the fake-Config pattern used | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test-infra/aws-vpn/pki.sh | 18 | #-------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test-infra/aws-vpn/pki.sh | 32 | #-------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/howtos/client-rbac.md | 25 | ## Step 1: drop the discovery and diagnostic grants | COMMENT |
| LOW | docs/howtos/client-rbac.md | 53 | ## Step 2: enforce authentication | COMMENT |
| LOW | docs/howtos/client-rbac.md | 70 | ## Step 3: authorize with Telepresence's own grants | COMMENT |
| LOW | docs/howtos/client-rbac.md | 154 | ## Step 4: Direct Connect, no Kubernetes API access at all | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release.yaml | 268 | # Create a temporary keychain | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/client/docker/daemon_test.go | 160 | // TODO: Add test cases. | COMMENT |
| LOW | pkg/client/cli/daemon/identifier_test.go | 68 | // TODO: Add test cases. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/client/cli/cmd/usage.go | 122 | usageMarkdown = `### Usage: | CODE |