AI Slop Code Risk Monitor

cilium/tetragon

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

eBPF-based Security Observability and Runtime Enforcement

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cilium/tetragon, a C project with 5,136 GitHub stars. SynthScan examined 347,633 lines of code across 1482 source files, recording 360 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.1K
Stars
C
Language
347.6K
Lines of Code
1.5K
Files
360
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 5.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 354 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? 7 finding(s).

PR Review Velocity Impact 5.5/100 · LOW

Which changes need focused human review? 360 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 2MEDIUM 10LOW 348

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 360 distinct pattern matches across 15 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 Block321 hits · 315 pts
SeverityFileLineSnippetContext
LOWnetlify.toml1# Netlify is handled and authorized by Mahe and we use a free plan.COMMENT
LOWcmd/ksyms/ksyms.go21// ffffffffa870f925 sock_close+0x15 (/usr/lib/debug/boot/vmlinux-5.4.0-48-generic)COMMENT
LOWcmd/tetra/commands.go41 // imports the bpf package that contains unix-specific definitions not foundCOMMENT
LOWcmd/tetra/common/client.go21// https://github.com/grpc/proposal/blob/master/A6-client-retries.mdCOMMENT
LOW…ls/protoc-gen-go-tetragon/eventchecker/multichecker.go241COMMENT
LOW…ls/protoc-gen-go-tetragon/eventchecker/multichecker.go281 // check was successful. The boolean value allows short-circuiting checks.COMMENT
LOWinstall/kubernetes/tetragon/values.yaml81 startupProbe: {}COMMENT
LOWinstall/kubernetes/tetragon/values.yaml101 exportFileMaxBackups: 5COMMENT
LOWinstall/kubernetes/tetragon/values.yaml121 # {"namespace":["kube-system",""]}COMMENT
LOWinstall/kubernetes/tetragon/values.yaml141 # -- Filters to redact secrets from the args fields in Tetragon events. To performCOMMENT
LOWinstall/kubernetes/tetragon/values.yaml161 #COMMENT
LOWinstall/kubernetes/tetragon/values.yaml181 # to set the cluster_name field in GetEventsResponse messages.COMMENT
LOWinstall/kubernetes/tetragon/values.yaml221 grpc:COMMENT
LOWinstall/kubernetes/tetragon/values.yaml241 enabled: falseCOMMENT
LOWinstall/kubernetes/tetragon/values.yaml261 # method=cronJob. Empty disables the recurring CronJob, leaving onlyCOMMENT
LOWinstall/kubernetes/tetragon/values.yaml321 # host, the path is /proc. Exceptions to this are environments like kind, where the runtime itselfCOMMENT
LOWinstall/kubernetes/tetragon/values.yaml461 filenames:COMMENT
LOWinstall/kubernetes/tetragon/values.yaml481 # name: my-config-mapCOMMENT
LOWinstall/kubernetes/tetragon/values.yaml521# -- Method for installing Tetagon rthooks (tetragon-rthooks) daemonsetCOMMENT
LOWinstall/kubernetes/tetragon/values.yaml541 #COMMENT
LOWinstall/kubernetes/tetragon/values.yaml561 failAllowNamespaces: ""COMMENT
LOWtests/e2e/install/tetragon/doc.go1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/e2e/checker/doc.go1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/e2e/tests/skeleton/skeleton_test.go41// line flags can be used.COMMENT
LOWtests/e2e/tests/nodeselector/nodeselector_test.go41// loading it, so a gated-out policy is distinguishable from a missing one — anyCOMMENT
LOWtests/e2e/tests/policyfilter/policyfilter_test.go41 TetragonCLI = "tetra"COMMENT
LOWtests/e2e/metricschecker/doc.go1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/e2e/runners/doc.go1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/e2e/helpers/doc.go1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/e2e/helpers/cluster.go201 // The name of locally build images doesn't contain a registry prefixCOMMENT
LOWdocs/config/_default/hugo.toml181# banner on every page indicating that this is an archived version of the docs.COMMENT
LOWcontrib/mapdups.sh1#!/bin/bashCOMMENT
LOWcontrib/tetragon-rthooks/cmd/oci-hook/cel.go41 },COMMENT
LOWcontrib/scripts/repo-docker-run.sh21)COMMENT
LOWcontrib/tester-progs/usdt.h301#if defined __powerpc__COMMENT
LOWcontrib/tester-progs/usdt.h321 * Implementation detailsCOMMENT
LOWcontrib/tester-progs/usdt.h341#endif /* __usdt_narg */COMMENT
LOWcontrib/tester-progs/usdt.h361#define __usdt_asm10(x, ...) __usdt_str(x) "," __usdt_asm9(__VA_ARGS__)COMMENT
LOWcontrib/tester-progs/usdt.h461#endifCOMMENT
LOWcontrib/tester-progs/usdt.h521#define __usdt_inttype(x) __typeof(__builtin_choose_expr(__usdt_is_inttype(x), (x), 0U))COMMENT
LOWcontrib/tester-progs/usdt.h541#define __usdt_asm_ops11(a,b,c,d,e,f,g,h,i,j,x) __usdt_asm_ops10(a,b,c,d,e,f,g,h,i,j), __usdt_asm_op(11, x)COMMENT
LOWcontrib/tester-progs/direct-write-tester.c1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)COMMENT
LOWcontrib/tester-progs/uprobe-selector-targets.c1#include <stdio.h>COMMENT
LOWcontrib/tester-progs/exit-tester.c1#define _GNU_SOURCECOMMENT
LOWcontrib/tester-progs/threads-tester.c1#define _GNU_SOURCECOMMENT
LOWcontrib/tester-progs/uprobe-big-struct.c1#include <stdio.h>COMMENT
LOWcontrib/tester-progs/uprobe-arg-targets.c1#include <stdio.h>COMMENT
LOWcontrib/tester-progs/usdt-args.c1//go:build ignoreCOMMENT
LOW…rib/tester-progs/sigkill-unprivileged-user-ns-tester.c1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)COMMENT
LOWcontrib/tester-progs/cgroup-migrate.bash1#!/bin/bashCOMMENT
LOWcontrib/tester-progs/cgroup-migrate.bash21COMMENT
LOWcontrib/tester-progs/uprobe-execve.c1#include <stdio.h>COMMENT
LOWcontrib/tester-progs/uprobe-big-struct.h1#ifndef UPROBE_BIG_STRUCT_HCOMMENT
LOWcontrib/tester-progs/uprobe-static-chain.c1#include <stdio.h>COMMENT
LOWcontrib/tester-progs/uprobe-static-chain.c21//COMMENT
LOWcontrib/tester-progs/sdt.h41COMMENT
LOWcontrib/tester-progs/sdt.h61# define _SDT_DEPAREN_7(a,b,c,d,e,f,g) a b c d e f gCOMMENT
LOWcontrib/tester-progs/sdt.h101# if defined __powerpc__COMMENT
LOWcontrib/tester-progs/sdt.h221 register, then a sys/sdt.h note consumer may need to employCOMMENT
LOWcontrib/tester-progs/sdt.h321 _SDT_ASM_1( _SDT_ASM_ADDR p##_##n##_semaphore)COMMENT
261 more matches not shown…
Structural Annotation Overuse7 hits · 13 pts
SeverityFileLineSnippetContext
LOW…cs/use-cases/process-lifecycle/privileged-execution.md19## Step 1: Enabling Process Credential and Namespace MonitoringCOMMENT
LOW…cs/use-cases/process-lifecycle/privileged-execution.md41## Step 2: Deploying a Privileged Nginx PodCOMMENT
LOW…cs/use-cases/process-lifecycle/privileged-execution.md68## Step 3: Monitoring with TetragonCOMMENT
LOWpkg/sensors/exec/cgroups_test.go1379 // Step 1: Create the cgroup (it will be tracked)COMMENT
LOW⚡pkg/sensors/exec/cgroups_test.go1392 // Step 2: Delete the cgroup from tracking map to simulate missed trackingCOMMENT
LOW⚡pkg/sensors/exec/cgroups_test.go1400 // Step 3: Remove the cgroup directory - this should trigger the missed tracking detectionCOMMENT
LOW⚡pkg/sensors/exec/cgroups_test.go1409 // Step 4: Check errmetrics map for ENOENT error from bpf_cgroup_rmdir.cCOMMENT
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM.github/actions/install-msi/action.yml99 # -------------------------------COMMENT
MEDIUM.github/actions/install-msi/action.yml103 # -------------------------------COMMENT
MEDIUM.github/actions/extract-msi/action.yml104 # -------------------------------COMMENT
MEDIUM.github/actions/extract-msi/action.yml108 # -------------------------------COMMENT
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippetContext
LOWbpf/process/policy_filter.h83 // Now we need to check if we have a hostSelector match.COMMENT
LOWpkg/sensors/exec/cgroups_test.go1379 // Step 1: Create the cgroup (it will be tracked)COMMENT
LOW⚡pkg/sensors/exec/cgroups_test.go1392 // Step 2: Delete the cgroup from tracking map to simulate missed trackingCOMMENT
LOW⚡pkg/sensors/exec/cgroups_test.go1400 // Step 3: Remove the cgroup directory - this should trigger the missed tracking detectionCOMMENT
LOW⚡pkg/sensors/exec/cgroups_test.go1409 // Step 4: Check errmetrics map for ENOENT error from bpf_cgroup_rmdir.cCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/tester-progs/cgroup-migrate.bash173 # Create the child cgroupCOMMENT
MEDIUMcontrib/tester-progs/cgroup-migrate.bash205 # Create the child cgroupCOMMENT
MEDIUMexamples/configuration/tetragon.yaml1# This file is part of Tetragon.COMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…gpolicy/process-credentials/process-creds-changed.yaml20# kernel on behalf of processes to elevate privileges.COMMENT
MEDIUMpkg/manager/manager.go224// The resync mechanism periodically refreshes the cache, making this approach more robustCOMMENT
MEDIUMpkg/cri/container.go25// generating the path of slice. Essentially, test-a-b.slice becomesCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…e-cases/security-profiles/record-linux-capabilities.md225* `capability_arg`: is the [capability]({{< ref "/docs/reference/grpc-api#kprobecapability" >}}) required to perform theCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpkg/sensors/manager.go30// sensors as requested from different goroutines (e.g., different GRPCCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcontrib/mapdups.sh14# Example usage:COMMENT
LOWcontrib/tester-progs/cgroup-migrate.bash23# Usage:COMMENT
LOWpkg/glob/glob_multi.go21// Example usage:COMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/protoc-gen-go-tetragon/eventchecker/field.go233 return "// TODO: implement fromMap", nilCODE
LOWapi/v1/tetragon/codegen/eventchecker/eventchecker.pb.go3436 // TODO: implement fromMapCOMMENT
LOWapi/v1/tetragon/codegen/eventchecker/eventchecker.pb.go3439 // TODO: implement fromMapCOMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWinstall/kubernetes/openapi2jsonschema.py13def test_additional_properties():CODE
LOWinstall/kubernetes/openapi2jsonschema.py33def test_replace_int_or_string():CODE
LOWinstall/kubernetes/openapi2jsonschema.py64def allow_null_optional_fields(data, parent=None, grand_parent=None, key=None):CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtestdata/demos/tools/exec-memfd.py8CODE
LOWtestdata/demos/tools/exec-memfd.py9CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWinstall/kubernetes/openapi2jsonschema.py43CODE
LOWinstall/kubernetes/openapi2jsonschema.py64CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinstall/kubernetes/tetragon/values.yaml193 # Set it to "" to disable ancestors completely.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpkg/bugtool/maps.go164 // don't forget to close those files when used later onCOMMENT