AI Slop Code Risk Monitor

OISF/suricata

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

Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for OISF/suricata, a C project with 6,798 GitHub stars. SynthScan examined 617,281 lines of code across 1695 source files, recording 941 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.8K
Stars
C
Language
617.3K
Lines of Code
1.7K
Files
941
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.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 8.1/100 · LOW

Which changes need focused human review? 941 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 44LOW 895

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 941 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 Block835 hits · 774 pts
SeverityFileLineSnippetContext
LOWbundle.txt1# Specify suricata-update requirements.COMMENT
LOWdoxygen.cfg1# Doxyfile 1.8.17COMMENT
LOWdoxygen.cfg21# file that follow. The default is UTF-8 which is also the encoding used for allCOMMENT
LOWdoxygen.cfg41PROJECT_NUMBER =COMMENT
LOWdoxygen.cfg61OUTPUT_DIRECTORY = "doc/doxygen"COMMENT
LOWdoxygen.cfg81# The OUTPUT_LANGUAGE tag is used to specify the language in which allCOMMENT
LOWdoxygen.cfg101COMMENT
LOWdoxygen.cfg141# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES thenCOMMENT
LOWdoxygen.cfg161FULL_PATH_NAMES = YESCOMMENT
LOWdoxygen.cfg181COMMENT
LOWdoxygen.cfg201# such asCOMMENT
LOWdoxygen.cfg221# to treat a multi-line C++ comment block as a detailed description. Set thisCOMMENT
LOWdoxygen.cfg241SEPARATE_MEMBER_PAGES = NOCOMMENT
LOWdoxygen.cfg261# commands \{ and \} for these it is advised to use the version @{ and @} or useCOMMENT
LOWdoxygen.cfg281# Python sources only. Doxygen will then generate output that is more tailoredCOMMENT
LOWdoxygen.cfg301# sources only. Doxygen will then generate output that is more tailored for thatCOMMENT
LOWdoxygen.cfg321# Note: For files without extension you can use no_extension as a placeholder.COMMENT
LOWdoxygen.cfg341# Note: This feature currently applies only to Markdown headings.COMMENT
LOWdoxygen.cfg361# The default value is: NO.COMMENT
LOWdoxygen.cfg381# doxygen to replace the get and set methods by a property in the documentation.COMMENT
LOWdoxygen.cfg401COMMENT
LOWdoxygen.cfg421COMMENT
LOWdoxygen.cfg441# The default value is: NO.COMMENT
LOWdoxygen.cfg461COMMENT
LOWdoxygen.cfg481COMMENT
LOWdoxygen.cfg501COMMENT
LOWdoxygen.cfg521# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide allCOMMENT
LOWdoxygen.cfg541COMMENT
LOWdoxygen.cfg561# in case and if your file system supports case sensitive file names. WindowsCOMMENT
LOWdoxygen.cfg581# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list ofCOMMENT
LOWdoxygen.cfg601# documentation for inline members.COMMENT
LOWdoxygen.cfg621# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort theCOMMENT
LOWdoxygen.cfg641# fully-qualified names, including namespaces. If set to NO, the class list willCOMMENT
LOWdoxygen.cfg661# list. This list is created by putting \todo commands in the documentation.COMMENT
LOWdoxygen.cfg681# The default value is: YES.COMMENT
LOWdoxygen.cfg701COMMENT
LOWdoxygen.cfg721SHOW_NAMESPACES = YESCOMMENT
LOWdoxygen.cfg741# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILECOMMENT
LOWdoxygen.cfg761# standard output by doxygen. If QUIET is set to YES this implies that theCOMMENT
LOWdoxygen.cfg781WARN_IF_UNDOCUMENTED = NOCOMMENT
LOWdoxygen.cfg801# a warning is encountered.COMMENT
LOWdoxygen.cfg821COMMENT
LOWdoxygen.cfg841INPUT_ENCODING = UTF-8COMMENT
LOWdoxygen.cfg921COMMENT
LOWdoxygen.cfg941# wildcard * is used, a substring. Examples: ANamespace, AClass,COMMENT
LOWdoxygen.cfg961COMMENT
LOWdoxygen.cfg981# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is theCOMMENT
LOWdoxygen.cfg1001# patterns match the file name, INPUT_FILTER is applied.COMMENT
LOWdoxygen.cfg1021COMMENT
LOWdoxygen.cfg1061REFERENCED_BY_RELATION = YESCOMMENT
LOWdoxygen.cfg1081# can opt to disable this feature.COMMENT
LOWdoxygen.cfg1101#COMMENT
LOWdoxygen.cfg1121# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of allCOMMENT
LOWdoxygen.cfg1141IGNORE_PREFIX =COMMENT
LOWdoxygen.cfg1161# generated HTML page (for example: .htm, .php, .asp).COMMENT
LOWdoxygen.cfg1181# default header when upgrading to a newer version of doxygen. For a descriptionCOMMENT
LOWdoxygen.cfg1201# sheet that doxygen normally uses.COMMENT
LOWdoxygen.cfg1221COMMENT
LOWdoxygen.cfg1241HTML_COLORSTYLE_HUE = 220COMMENT
LOWdoxygen.cfg1261COMMENT
775 more matches not shown…
Decorative Section Separators34 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUM⚡doxygen.cfg2066#---------------------------------------------------------------------------COMMENT
MEDIUM⚡doxygen.cfg2068#---------------------------------------------------------------------------COMMENT
MEDIUM⚡doxygen.cfg2078#---------------------------------------------------------------------------COMMENT
MEDIUM⚡doxygen.cfg2080#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg16#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg18#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg458#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg460#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg756#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg758#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg822#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg824#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1031#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1033#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1117#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1119#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1143#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1145#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1704#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1706#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1895#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1897#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1961#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg1963#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2005#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2007#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2039#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2041#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2116#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2118#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2194#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2196#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2240#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen.cfg2242#---------------------------------------------------------------------------COMMENT
Slop Phrases8 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMdoxygen.cfg321# Note: For files without extension you can use no_extension as a placeholder.COMMENT
MEDIUMdoxygen.cfg843# If the value of the INPUT tag contains directories, you can use theCOMMENT
MEDIUMdoxygen.cfg929# If the value of the INPUT tag contains directories, you can use theCOMMENT
MEDIUMdoxygen.cfg955# If the value of the EXAMPLE_PATH tag contains directories, you can use theCOMMENT
LOWrust/sys/src/sys.rs1073#[doc = " \\brief The various log levels\n NOTE: when adding new level, don't forget to update SCLogMapLogLevelToSyslogLCOMMENT
LOWrust/sys/src/sys.rs1073#[doc = " \\brief The various log levels\n NOTE: when adding new level, don't forget to update SCLogMapLogLevelToSyslogLCOMMENT
MEDIUMexamples/plugins/c-json-filetype/filetype.c30 /** The thread ID, for demonstration purposes only. */COMMENT
LOWsrc/util-debug.h32 * NOTE: when adding new level, don't forget to update SCLogMapLogLevelToSyslogLevel()COMMENT
Verbosity Indicators11 hits · 16 pts
SeverityFileLineSnippetContext
LOWqa/live/tenant-1.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns.yaml56## Step 2: Select outputs to enableCOMMENT
LOWqa/live/netns/fw-netns.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/fw-netns.yaml56## Step 2: Select outputs to enableCOMMENT
LOWqa/live/netns/ips-netns-bond.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns-bond.yaml56## Step 2: Select outputs to enableCOMMENT
LOWqa/live/netns/ips-netns-bond2.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns-bond2.yaml56## Step 2: Select outputs to enableCOMMENT
LOWsrc/datasets-context-json.c74 /* if value is 0 then we need to check if some parsing has been done */COMMENT
LOWsrc/detect.c2188 /* if our first rule is beyond the starting state, we need to check ifCOMMENT
Structural Annotation Overuse9 hits · 14 pts
SeverityFileLineSnippetContext
LOWqa/live/tenant-1.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns.yaml56## Step 2: Select outputs to enableCOMMENT
LOWqa/live/netns/fw-netns.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/fw-netns.yaml56## Step 2: Select outputs to enableCOMMENT
LOWqa/live/netns/ips-netns-bond.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns-bond.yaml56## Step 2: Select outputs to enableCOMMENT
LOWqa/live/netns/ips-netns-bond2.yaml12## Step 1: Inform Suricata about your networkCOMMENT
LOWqa/live/netns/ips-netns-bond2.yaml56## Step 2: Select outputs to enableCOMMENT
Example Usage Blocks8 hits · 12 pts
SeverityFileLineSnippetContext
LOWrust/htp/src/test/common.rs407/// Example usage:COMMENT
LOWrust/htp/src/test/common.rs451/// Example usage:COMMENT
LOWrust/htp/src/test/common.rs468/// Example usage:COMMENT
LOWrust/htp/src/test/common.rs485/// Example usage:COMMENT
LOWrust/htp/src/test/common.rs530/// Example usage:COMMENT
LOWrust/htp/src/test/common.rs544/// Example usage:COMMENT
LOWrust/htp/src/test/common.rs566/// Example usage:COMMENT
LOWqa/live/dpdk/dpdk-testsuite.sh6# Usage:COMMENT
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/evedoc.py27CODE
LOWscripts/evedoc.py43CODE
LOWscripts/evedoc.py99CODE
LOWscripts/setup-app-layer.py36CODE
LOWscripts/schema-sort.py12CODE
LOWscripts/schema-sort.py46CODE
LOWscripts/schema-sort.py82CODE
LOWscripts/eve-parity.py69CODE
LOWscripts/eve-parity.py78CODE
LOWdoc/userguide/convert.py35CODE
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOWscripts/check-doc-rules.py9CODE
LOWscripts/check-enum-uint-keywords.py10CODE
LOWscripts/check-uint-keywords.py10CODE
LOWscripts/check-dist-rules.py6CODE
LOWscripts/dnp3-gen/dnp3-gen.py22CODE
LOWdoc/userguide/conf.py15CODE
LOWdoc/userguide/conf.py17CODE
LOWdoc/userguide/conf.py19CODE
LOWdoc/userguide/conf.py139CODE
Excessive Try-Catch Wrapping8 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/setup-app-layer.py29 except Exception as err:CODE
LOWscripts/schema-sort.py103 except Exception as e:CODE
MEDIUMscripts/schema-sort.py104 print(f"Error reading schema file: {e}", file=sys.stderr)CODE
LOWscripts/schema-sort.py127 except Exception as e:CODE
MEDIUMscripts/schema-sort.py128 print(f"Error writing schema file: {e}", file=sys.stderr)CODE
LOWscripts/dnp3-gen/dnp3-gen.py238 except Exception as err:STRING
LOWscripts/dnp3-gen/dnp3-gen.py324 except Exception as err:STRING
LOWscripts/dnp3-gen/dnp3-gen.py668 except Exception as err:STRING
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscripts/rustc.py11except:CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscripts/dnp3-gen/dnp3-gen.py359 for (int j = 0; j < 8 && count; j = j + {{object.fields[0].width}}) {CODE
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
MEDIUMdoxygen.cfg1203# it is more robust and this tag (HTML_STYLESHEET) will in the future becomeCOMMENT
MEDIUMdoxygen.cfg1213# standard style sheet and is therefore more robust against future updates.COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdoc/userguide/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
Hyper-Verbose Identifiers3 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/setup-app-layer.py105def patch_rust_applayer_mod_rs(protoname, arg):CODE
LOWscripts/setup-app-layer.py176def logger_patch_suricata_yaml_in(proto):STRING
LOWscripts/setup-app-layer.py248def detect_patch_detect_engine_register_c(protoname):STRING
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/clang-format.sh352# Check if branch formatting is correct.COMMENT