AI Slop Code Risk Monitor

klange/toaruos

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

Complete, independent operating system built by humans.

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for klange/toaruos, a C project with 6,866 GitHub stars. SynthScan examined 145,253 lines of code across 754 source files, recording 213 pattern matches distributed across 3 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.

1.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
6.9K
Stars
C
Language
145.3K
Lines of Code
754
Files
213
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 7.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

Which changes need focused human review? 213 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 0MEDIUM 2LOW 211

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 213 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 Block210 hits · 210 pts
SeverityFileLineSnippetContext
LOWlibc/syscall.h1#pragma onceCOMMENT
LOWlibc/dlfcn/dl.c21 * of the NCSA / University of Illinois License - see LICENSE.mdCOMMENT
LOWlibc/pthread/pthread.c1/* This file is part of ToaruOS and is released under the termsCOMMENT
LOWlibc/pthread/pthread_rwlock.c1#include <stdlib.h>COMMENT
LOWlibc/sys/network.c1/*COMMENT
LOWlibc/stdio/stdio.c1#include <stdio.h>COMMENT
LOWlibc/stdlib/malloc.c121#if defined(__x86_64__) || defined(__aarch64__)COMMENT
LOWlibc/string/str.c1#include <string.h>COMMENT
LOWboot/kbd.h1#pragma onceCOMMENT
LOWboot/multiboot.h1#pragma onceCOMMENT
LOWboot/elf.h121/* sh_type values */COMMENT
LOWboot/elf.h141COMMENT
LOWtests/test-ptrace-syscall.c1#include <errno.h>COMMENT
LOWlib/rline.c21#include <string.h>COMMENT
LOWlib/rline.c441#define FLAG_NUMERAL 6COMMENT
LOWlib/auth.c1/**COMMENT
LOWlib/menu.c21#include <toaru/hashmap.h>COMMENT
LOWlib/panel_network.c1/**COMMENT
LOWlib/kbd.c121 0, 0, 0,COMMENT
LOWlib/kbd.c141#define KEY_SCANCODE_NUM_2 0x50COMMENT
LOWlib/kuroko/_yutani2.c1#include <math.h>COMMENT
LOWmodules/es1371.c21#include <kernel/list.h>COMMENT
LOWmodules/es1371.c61 * Serial control bitsCOMMENT
LOWmodules/ac97.c21 * Copyright (C) 2015-2021 K. LangeCOMMENT
LOWmodules/ac97.c41#endifCOMMENT
LOWmodules/ac97.c61#define AC97_BDL_BUFFER_LEN 0x1000 /* Length of buffer in BDL */COMMENT
LOWmodules/e1000.c21#include <kernel/list.h>COMMENT
LOWmodules/vmware.c21 */COMMENT
LOWmodules/vmware.c41#define VMWARE_PORT 0x5658COMMENT
LOWmodules/ext2.c121#define EXT2_S_IFREG 0x8000COMMENT
LOWmodules/ata.c21#include <kernel/module.h>COMMENT
LOWmodules/ata.c41#define ATA_SR_DRQ 0x08COMMENT
LOWmodules/ata.c61#define ATA_CMD_WRITE_DMA 0xCACOMMENT
LOWmodules/ata.c81#define ATA_IDENT_COMMANDSETS 164COMMENT
LOWmodules/ata.c101#define ATA_REG_LBA3 0x09COMMENT
LOWmodules/i965.c21#include <kernel/mmu.h>COMMENT
LOWmodules/vbox.c21#include <kernel/printf.h>COMMENT
LOWmodules/vbox.c41 *((uint32_t *)extra) = device;COMMENT
LOWapps/irc.c1/**COMMENT
LOWapps/esh.c21#include <string.h>COMMENT
LOWapps/esh.c41#include <toaru/list.h>COMMENT
LOWapps/panel.c21#include <unistd.h>COMMENT
LOWapps/panel.c41COMMENT
LOWapps/fetch.c1/**COMMENT
LOWapps/gsudo.c21#include <toaru/graphics.h>COMMENT
LOWapps/man.c21#include <getopt.h>COMMENT
LOWapps/top.c41 COLUMN_MEM,COMMENT
LOWapps/ls.c21#include <pwd.h>COMMENT
LOWapps/dhclient.c1/**COMMENT
LOWapps/dhclient.c121#define htonl(l) ( (((l) & 0xFF) << 24) | (((l) & 0xFF00) << 8) | (((l) & 0xFF0000) >> 8) | (((l) & 0xFF000000) >> 24))COMMENT
LOWapps/terminal.c21#include <time.h>COMMENT
LOWapps/terminal.c41#include <toaru/yutani.h>COMMENT
LOWapps/adduser.c1/**COMMENT
LOWapps/wallpaper-picker.c1/**COMMENT
LOWapps/pong.c21#include <stdio.h>COMMENT
LOWapps/more.c1/**COMMENT
LOWapps/nyancat.c61#include <stdlib.h>COMMENT
LOWapps/ping.c1/**COMMENT
LOWapps/dbg.c1/**COMMENT
LOWapps/sudo.c21#include <time.h>COMMENT
150 more matches not shown…
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMutil/build-in-docker-aarch64.sh16# Create a fake user with this nameCOMMENT
MEDIUMutil/build-in-docker.sh16# Create a fake user with this nameCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbase/usr/include/kernel/process.h289 * aarch64: We shove this in x18 and ref off of that; -ffixed-x18 and don't forget to reload it from TPIDR_EL1COMMENT