AI Slop Code Risk Monitor

microsoft/WSL

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

Windows Subsystem for Linux

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for microsoft/WSL, a C++ project with 34,271 GitHub stars. SynthScan examined 370,314 lines of code across 1294 source files, recording 418 pattern matches distributed across 14 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
34.3K
Stars
C++
Language
370.3K
Lines of Code
1.3K
Files
418
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.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 5.7/100 · LOW

Which changes need focused human review? 418 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 4LOW 412

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 418 distinct pattern matches across 14 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 Block367 hits · 367 pts
SeverityFileLineSnippetContext
LOWtest/linux/unit_tests/lxtlog.c61 //COMMENT
LOWtest/linux/unit_tests/lxtfs.c21#include <sys/inotify.h>COMMENT
LOWtest/linux/unit_tests/lxtfs.c41#define FS_SECONDS_PER_DAY (86400)COMMENT
LOWtest/linux/unit_tests/lxtfs.c61//COMMENT
LOWtest/linux/unit_tests/lxtfs.c1921 // Renaming a symlink with a trailing slash should fail with ENOTDIR.COMMENT
LOWtest/linux/unit_tests/lxtfs.c3421 {COMMENT
LOWtest/linux/unit_tests/dev_pt_2.c8241 // Ubuntu16 asynchronous pty processing needs some time to process stop.COMMENT
LOWtest/linux/unit_tests/lxtutil.c21#include <sched.h>COMMENT
LOWtest/linux/unit_tests/splice.c21#include <sys/wait.h>COMMENT
LOWtest/linux/unit_tests/ioprio.c21COMMENT
LOWtest/linux/unit_tests/ioprio.c41COMMENT
LOWtest/linux/unit_tests/timer.c21#include <sys/wait.h>COMMENT
LOWtest/linux/unit_tests/auxv.c21#include <unistd.h>COMMENT
LOWtest/linux/unit_tests/get_set_id.c21#include <sys/syscall.h>COMMENT
LOWtest/linux/unit_tests/inotify.c21#include <sys/time.h>COMMENT
LOWtest/linux/unit_tests/xattr.c21#include <sys/wait.h>COMMENT
LOWtest/linux/unit_tests/xattr.c41#include <sys/capability.h>COMMENT
LOWtest/linux/unit_tests/pipe.c21#include <sys/ioctl.h>COMMENT
LOWtest/linux/unit_tests/pipe.c41#define _4KB (4 * 1024)COMMENT
LOWtest/linux/unit_tests/fork.c21#include <sys/time.h>COMMENT
LOWtest/linux/unit_tests/fork.c41#endifCOMMENT
LOWtest/linux/unit_tests/shm.c21#include <sys/xattr.h>COMMENT
LOWtest/linux/unit_tests/shm.c41COMMENT
LOWtest/linux/unit_tests/shm.c1821 }COMMENT
LOWtest/linux/unit_tests/shm.c1841 // succeed with only IPC_EXCL.COMMENT
LOWtest/linux/unit_tests/timerfd.c21#include <sys/stat.h>COMMENT
LOWtest/linux/unit_tests/lxtcommon.h21COMMENT
LOWtest/linux/unit_tests/unittests.h21#define AUXV_TESTNAME "auxv"COMMENT
LOWtest/linux/unit_tests/unittests.h41#define IOPRIO_TESTNAME "ioprio"COMMENT
LOWtest/linux/unit_tests/unittests.h61#define SPLICE_TESTNAME "splice"COMMENT
LOWtest/linux/unit_tests/socket_nonblock.c21#include <stdio.h>COMMENT
LOWtest/linux/unit_tests/select.c21#include <sys/types.h>COMMENT
LOWtest/linux/unit_tests/dev_pt_common.h21#include <sys/wait.h>COMMENT
LOWtest/linux/unit_tests/random.c21#include <sys/stat.h>COMMENT
LOWtest/linux/unit_tests/socket.c21#include <sys/un.h>COMMENT
LOWtest/linux/unit_tests/sem.c21#include <sys/stat.h>COMMENT
LOWtest/linux/unit_tests/sem.c41COMMENT
LOWtest/linux/unit_tests/sem.c441 // Wait for the child to exit.COMMENT
LOWtest/linux/unit_tests/vnet.c21#include <sys/stat.h>COMMENT
LOWtest/linux/unit_tests/vnet.c41#include <linux/rtnetlink.h>COMMENT
LOWtest/linux/unit_tests/vnet.c1001 // Open file descriptor of default network namespace.COMMENT
LOWtest/linux/unit_tests/vnet.c2361 //COMMENT
LOWtest/linux/unit_tests/vnet.c2601 // Open file descriptor of the new network namespace.COMMENT
LOWtest/linux/unit_tests/vnet.c2921 // Open file descriptor of default network namespace.COMMENT
LOWtest/linux/unit_tests/lxtutil.h21COMMENT
LOWtest/linux/unit_tests/lxtutil.h121void* LxtAlloc(size_t Size);COMMENT
LOWtest/linux/unit_tests/lxtutil.h141#define LxtCapSet(_header, _data) (syscall(SYS_capset, _header, _data))COMMENT
LOWtest/linux/unit_tests/lxtutil.h161#define LxtShmDt(_address) syscall(SYS_shmdt, (_address))COMMENT
LOWtest/linux/unit_tests/lxtutil.h181 (syscall(SYS_lsetxattr, (_path), (_name), (_buffer), (_size), (_flags)))COMMENT
LOWtest/linux/unit_tests/lxtutil.h201#elif !defined(__amd64__)COMMENT
LOWtest/linux/unit_tests/lxtfs.h21#define FS_9P_NAME "9p"COMMENT
LOWtest/linux/unit_tests/lxtfs.h41//COMMENT
LOWtest/linux/unit_tests/drvfs.c21COMMENT
LOWtest/linux/unit_tests/drvfs.c41#include "lxtmount.h"COMMENT
LOWtest/linux/unit_tests/drvfs.c61#define DRVFS_REPARSE_PREFIX DRVFS_PREFIX "/reparsetest"COMMENT
LOWtest/linux/unit_tests/drvfs.c81#define DRVFS_HARDLINK_TEST_DIR DRVFS_PREFIX "/hardlink_test"COMMENT
LOWtest/linux/unit_tests/drvfs.c101#define DRVFS_INOTIFY_FILE_1 DRVFS_INOTIFY_DIR_3 DRVFS_INOTIFY_FILE_1_NAME_ONLYCOMMENT
LOWtest/linux/unit_tests/drvfs.c821COMMENT
LOWtest/linux/unit_tests/drvfs.c1201 // the reported block size.COMMENT
LOWtest/linux/unit_tests/drvfs.c1721COMMENT
307 more matches not shown…
Verbosity Indicators8 hits · 14 pts
SeverityFileLineSnippetContext
LOWsrc/linux/plan9/p9handler.cpp899 // Step 1: Find the parent of the final item.COMMENT
LOWsrc/linux/plan9/p9handler.cpp922 // Step 2: Find the item, unless it's an exclusive create.COMMENT
LOWsrc/linux/plan9/p9handler.cpp956 // Step 3: Create the item if it didn't exist and the user wants to create it.COMMENT
LOWsrc/linux/plan9/p9handler.cpp1004 // Step 4: Check the file type.COMMENT
LOW⚡src/linux/plan9/p9handler.cpp1016 // Step 5: Check for delete access.COMMENT
LOW⚡src/linux/plan9/p9handler.cpp1026 // Step 6: Check how to handle leaf symlinks.COMMENT
LOWsrc/linux/plan9/p9handler.cpp1041 // Step 7: Open if needed. This is only needed if:COMMENT
LOWsrc/linux/plan9/p9handler.cpp1063 // Step 8: Get the attributes and replyCOMMENT
Structural Annotation Overuse8 hits · 14 pts
SeverityFileLineSnippetContext
LOWsrc/linux/plan9/p9handler.cpp899 // Step 1: Find the parent of the final item.COMMENT
LOWsrc/linux/plan9/p9handler.cpp922 // Step 2: Find the item, unless it's an exclusive create.COMMENT
LOWsrc/linux/plan9/p9handler.cpp956 // Step 3: Create the item if it didn't exist and the user wants to create it.COMMENT
LOWsrc/linux/plan9/p9handler.cpp1004 // Step 4: Check the file type.COMMENT
LOW⚡src/linux/plan9/p9handler.cpp1016 // Step 5: Check for delete access.COMMENT
LOW⚡src/linux/plan9/p9handler.cpp1026 // Step 6: Check how to handle leaf symlinks.COMMENT
LOWsrc/linux/plan9/p9handler.cpp1041 // Step 7: Open if needed. This is only needed if:COMMENT
LOWsrc/linux/plan9/p9handler.cpp1063 // Step 8: Get the attributes and replyCOMMENT
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/devops/validate-localization.py146CODE
LOWtools/devops/validate-localization.py232CODE
LOWtools/test/loop-tests.py198CODE
LOWtools/test/loop-tests.py356CODE
LOWtools/test/gh-release-server.py21CODE
LOWtools/test/gh-release-server.py38CODE
LOWdistributions/validate-modern.py95CODE
LOWdistributions/validate-modern.py237CODE
LOWdistributions/validate-modern.py307CODE
LOWdistributions/validate-modern.py372CODE
LOWdistributions/validate-modern.py387CODE
LOWdistributions/validate-modern.py498CODE
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM.pipelines/build-stage.yml68 # ── x64 build stage ──────────────────────────────────────────────────COMMENT
MEDIUM.pipelines/build-stage.yml88 # ── arm64 build stage (runs in parallel with build_x64) ──────────────COMMENT
MEDIUM.pipelines/build-stage.yml148 # ── package stage (release and nightly only) ─────────────────────────COMMENT
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtools/devops/find-release.py11CODE
LOWtools/test/gh-release-server.py5CODE
LOWtools/test/gh-release-server.py9CODE
LOWdistributions/validate-modern.py3CODE
LOWdistributions/validate-modern.py14CODE
LOWdistributions/validate.py1CODE
LOWdistributions/validate.py8CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/devops/create-change.py41 repo.git.push('origin', branch)CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdistributions/validate-modern.py367except KeyError:CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/windows/wsl/UnitTests.cpp1456 // TODO: Add test coverage for the Linux => Windows code paths of $WSLENVCOMMENT
LOWtest/windows/wsl/InstallerTests.cpp481 // TODO: Add test coverage for a more recent version of the package that doesn't support the SDK, if ever neededCOMMENT
LOWtest/windows/wslc/WSLCTests.cpp13544 // TODO: Add test coverage for exposed UDP ports once supported.COMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/test/gh-release-server.py34 class ReleaseRequestHandler(SimpleHTTPRequestHandler):CODE
LOWdistributions/validate-modern.py237def read_systemd_enabled_units(node, tar) -> dict:CODE
LOWdistributions/validate.py11def download_and_get_manifest(url: str):CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtest/linux/unit_tests/fork.c427 // Set and get the robust list.COMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdistributions/validate-modern.py525 except Exception as e:CODE
LOWdistributions/validate-modern.py541 except Exception as e:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtools/devops/find-release.py3# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/test/loop-tests.py76 def update_test(self, name: str) -> None:CODE