AI Slop Code Risk Monitor

cilium/pwru

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

Packet, where are you? -- eBPF-based Linux kernel networking debugger

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cilium/pwru, a C project with 3,846 GitHub stars. SynthScan examined 108,752 lines of code across 246 source files, recording 319 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 3.4 (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.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
3.8K
Stars
C
Language
108.8K
Lines of Code
246
Files
319
Pattern Hits
2026-10-31
Scan Date
0.05
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 14.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 16.0/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 0HIGH 12MEDIUM 0LOW 307

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 3 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 Block307 hits · 273 pts
SeverityFileLineSnippetContext
LOWbpf/kprobe_pwru.c1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)COMMENT
LOWbpf/headers/vmlinux.h1#if defined(__TARGET_ARCH_x86)COMMENT
LOWbpf/headers/bpf/bpf_endian.h41 *COMMENT
LOWbpf/headers/bpf/bpf_endian.h61# define __bpf_constant_be64_to_cpu(x) ___bpf_swab64(x)COMMENT
LOWbpf/headers/bpf/bpf_ipv6.h1#include "vmlinux.h"COMMENT
LOWbpf/headers/bpf/bpf_core_read.h361#define ___last6(a, b, c, d, e, x) xCOMMENT
LOWbpf/headers/bpf/bpf_core_read.h381#define ___arrow3(a, b, c) a->b->cCOMMENT
LOWbpf/headers/bpf/bpf_core_read.h401#define ___rd_p2(fn, ...) ___rd_p1(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__)COMMENT
LOWbpf/headers/bpf/bpf_helpers.h181};COMMENT
LOWbpf/headers/bpf/bpf_helpers.h201})COMMENT
LOWbpf/headers/bpf/bpf_helpers.h221#ifndef ___bpf_nargCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */COMMENT
LOWbpf/headers/bpf/bpf_tracing.h21 #define bpf_target_mipsCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h41#if defined(__x86_64__)COMMENT
LOWbpf/headers/bpf/bpf_tracing.h61 #define bpf_target_definedCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h81/*COMMENT
LOWbpf/headers/bpf/bpf_tracing.h101#define __PT_PARM5_SYSCALL_REG __PT_PARM5_REGCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h121#define __PT_PARM3_SYSCALL_REG edxCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h141#define __PT_PARM1_SYSCALL_REG __PT_PARM1_REGCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h161 * https://github.com/IBM/s390x-abi/releases/download/v1.6/lzsabi_s390x.pdfCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h181#define __PT_PARM6_SYSCALL_REG gprs[7]COMMENT
LOWbpf/headers/bpf/bpf_tracing.h201#define __PT_PARM4_REG uregs[3]COMMENT
LOWbpf/headers/bpf/bpf_tracing.h221 */COMMENT
LOWbpf/headers/bpf/bpf_tracing.h241#define __PT_PARM4_SYSCALL_REG __PT_PARM4_REGCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h261#define __PT_PARM1_REG regs[4]COMMENT
LOWbpf/headers/bpf/bpf_tracing.h281#define __PT_IP_REG cp0_epcCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h301#define __PT_PARM1_SYSCALL_REG orig_gpr3COMMENT
LOWbpf/headers/bpf/bpf_tracing.h321 */COMMENT
LOWbpf/headers/bpf/bpf_tracing.h361#define __PT_PARM2_REG a1COMMENT
LOWbpf/headers/bpf/bpf_tracing.h381#define __PT_RC_REG a0COMMENT
LOWbpf/headers/bpf/bpf_tracing.h401#define __PT_PARM8_REG scratch.r7COMMENT
LOWbpf/headers/bpf/bpf_tracing.h421 * https://docs.kernel.org/loongarch/introduction.htmlCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h441#define __PT_PARM4_SYSCALL_REG __PT_PARM4_REGCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h461COMMENT
LOWbpf/headers/bpf/bpf_tracing.h481/*COMMENT
LOWbpf/headers/bpf/bpf_tracing.h501#define PT_REGS_FP(x) (__PT_REGS_CAST(x)->__PT_FP_REG)COMMENT
LOWbpf/headers/bpf/bpf_tracing.h521COMMENT
LOWbpf/headers/bpf/bpf_tracing.h541#define PT_REGS_PARM1_CORE_SYSCALL(x) BPF_CORE_READ(__PT_REGS_CAST(x), __PT_PARM1_SYSCALL_REG)COMMENT
LOWbpf/headers/bpf/bpf_tracing.h561#define PT_REGS_PARM6_CORE_SYSCALL(x) BPF_CORE_READ(__PT_REGS_CAST(x), __PT_PARM6_SYSCALL_REG)COMMENT
LOWbpf/headers/bpf/bpf_tracing.h581#define PT_REGS_SP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })COMMENT
LOWbpf/headers/bpf/bpf_tracing.h601#define PT_REGS_PARM1_SYSCALL(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })COMMENT
LOWbpf/headers/bpf/bpf_tracing.h621 * struct pt_regs containing syscall arguments and suitable for passing toCOMMENT
LOWbpf/headers/bpf/bpf_tracing.h641COMMENT
LOWbpf/headers/bpf/bpf_tracing.h701 __builtin_choose_expr(sizeof(t) == 16, 2, \COMMENT
LOWbpf/headers/bpf/bpf_tracing.h721 __builtin_choose_expr(sizeof(t) == 2, ({ union { __u16 z[1]; t x; } ___t = { .z = {ctx[n]} }; ___t.x; }), \COMMENT
LOWbpf/headers/bpf/bpf_tracing.h741COMMENT
LOWbpf/headers/bpf/bpf_tracing.h861#define ___bpf_syscall_args7(x, args...) ___bpf_syscall_args6(args), (unsigned long long)PT_REGS_PARM7_SYSCALL(regs)COMMENT
LOWlibpcap/build_matrix.sh1#!/bin/sh -eCOMMENT
LOWlibpcap/savefile.c41#include <stdio.h>COMMENT
LOWlibpcap/sf-pcapng.c21 * sf-pcapng.c - pcapng-file-format-specific code from savefile.cCOMMENT
LOWlibpcap/sf-pcapng.c121/*COMMENT
LOWlibpcap/pcap-dos.c1/*COMMENT
LOWlibpcap/pcap-dos.c21 #include "msdos/pm_drvr/bios32.h"COMMENT
LOWlibpcap/pcap-dos.c41#include "msdos/pktdrvr.h"COMMENT
LOWlibpcap/nlpid.h21/*COMMENT
LOWlibpcap/nlpid.h41#define ISIS_L1_LAN_IIH 15COMMENT
LOWlibpcap/pcap-sita.c21 *COMMENT
LOWlibpcap/sf-pcap.c41#include <stdio.h>COMMENT
LOWlibpcap/thread-local.h61 #define thread_local __declspec(thread)COMMENT
LOWlibpcap/CMakeLists.txt1if(WIN32)COMMENT
247 more matches not shown…
Synthetic Comment Markers6 hits · 68 pts
SeverityFileLineSnippetContext
HIGH⚡libpcap/pcap-common.c618 * FlexRay automotive bus - http://www.flexray.com/ - as requestedCOMMENT
HIGH⚡libpcap/pcap-common.c625 * transport - https://www.mostcooperation.com/ - as requestedCOMMENT
HIGH⚡libpcap/pcap-common.c632 * http://www.lin-subbus.org/ - as requested by Hannes KaelberCOMMENT
HIGH⚡libpcap/pcap/dlt.h957 * FlexRay automotive bus - http://www.flexray.com/ - as requestedCOMMENT
HIGH⚡libpcap/pcap/dlt.h964 * transport - https://www.mostcooperation.com/ - as requestedCOMMENT
HIGH⚡libpcap/pcap/dlt.h971 * http://www.lin-subbus.org/ - as requested by Hannes KaelberCOMMENT
Cross-Language Confusion6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHlibpcap/testprogs/visopts.py65 var leftsvg = null;CODE
HIGHlibpcap/testprogs/visopts.py66 var rightsvg = null;CODE
HIGHlibpcap/testprogs/visopts.py121 if (doc == null) {CODE
HIGHlibpcap/testprogs/visopts.py134 if (doc == null) {CODE
HIGHlibpcap/testprogs/visopts.py150 leftsvg = null;CODE
HIGHlibpcap/testprogs/visopts.py159 rightsvg = null;CODE