AI Slop Code Risk Monitor

uutils/coreutils

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

Cross-platform Rust rewrite of the GNU coreutils

2.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for uutils/coreutils, a Rust project with 24,315 GitHub stars. SynthScan examined 316,153 lines of code across 944 source files, recording 793 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 2.7 (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.

2.7
Adjusted Signal
2.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
24.3K
Stars
Rust
Language
316.2K
Lines of Code
944
Files
793
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 12.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 12.3/100 · LOW

Which changes need focused human review? 793 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 3MEDIUM 12LOW 778

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 793 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 Block728 hits · 725 pts
SeverityFileLineSnippetContext
LOWCargo.toml401phf_codegen.workspace = trueCOMMENT
LOWCargo.toml441 "dep:regex",COMMENT
LOWutil/build-pgo.sh1#!/usr/bin/env bashCOMMENT
LOWutil/check-toctou.sh1#!/bin/bashCOMMENT
LOWutil/check-libc-interposition.sh1#!/bin/bashCOMMENT
LOWutil/check-common.sh1#!/bin/bashCOMMENT
LOWutil/dwr.sh1#!/usr/bin/env bashCOMMENT
LOWutil/update-version.sh1#!/bin/shCOMMENT
LOWutil/build-run-test-coverage-linux.sh1#!/usr/bin/env bashCOMMENT
LOWutil/android-commands.sh1#!/usr/bin/env bashCOMMENT
LOWutil/android-commands.sh201# finishes a command run with a summary. It returns with the exit code of the probe if specified asCOMMENT
LOWutil/check-open-once.sh1#!/bin/bashCOMMENT
LOWutil/gnu-unfixable-tests.txt1# spell-checker:ignore getmntent GETMNTENT xstat fopenCOMMENT
LOWutil/gnu-unfixable-tests.txt21# --- Structurally impossible ---------------------------------------------COMMENT
LOWutil/run-gnu-test.sh41# --- Self-heal: make the shared GNU harness point at THIS checkout ----------COMMENT
LOWutil/build-gnu.sh161 sed -i '/tests\/help\/help-version.sh/ D' MakefileCOMMENT
LOWutil/build-gnu.sh361# in the case of GNU, it seems inconsistent. Nevertheless, it looks like itCOMMENT
LOWtests/test_uudoc.rs1// This file is part of the uutils coreutils package.COMMENT
LOWtests/by-util/test_env.rs1261 }COMMENT
LOWtests/by-util/test_env.rs1281 /// .args(&args[1..])COMMENT
LOWtests/by-util/test_sort.rs221#[case::numeric_fixed_floats("numeric_fixed_floats", &["-n", "--numeric-sort", "--sort=numeric"])]COMMENT
LOWtests/by-util/test_sort.rs241#[case::keys_open_ended("keys_open_ended", &["-k 2.3"])]COMMENT
LOWtests/by-util/test_sort.rs4221#[case(&["-k2,3"], "aa\n0aa\x0c\n", "0aa\x0c\naa\n")]COMMENT
LOWtests/by-util/test_mv.rs901#[rstest]COMMENT
LOWtests/by-util/test_mv.rs1601 assert!(!at.file_exists(file1));COMMENT
LOWtests/by-util/test_mv.rs1881// total 0COMMENT
LOWtests/by-util/test_mv.rs2721 .fails();COMMENT
LOWtests/by-util/test_join.rs881 //COMMENT
LOWtests/by-util/test_numfmt.rs1// This file is part of the uutils coreutils package.COMMENT
LOWtests/by-util/test_numfmt.rs21#[case::from_iec_i_without_suffix_are_bytes(&["--from=iec-i", "1024"], "1024\n")]COMMENT
LOWtests/by-util/test_numfmt.rs41#[case::format_with_zero_padding_and_padding_option(&["--format=%06f", "--padding=8", "1234"], " 001234\n")]COMMENT
LOWtests/by-util/test_numfmt.rs61// https://github.com/uutils/coreutils/issues/11667COMMENT
LOWtests/by-util/test_numfmt.rs81#[case::from_iec_i(&["--from=iec-i"], "1.1Mi\n0.1Gi", "1153434\n107374183")]COMMENT
LOWtests/by-util/test_basenc.rs61#[case::base32hex_autopad_short_quantum(&["--base32hex", "--decode"], "C5H66", "abc")]COMMENT
LOWtests/by-util/test_unexpand.rs41 .succeeds()COMMENT
LOWtests/by-util/test_ls.rs1221COMMENT
LOWtests/by-util/test_ls.rs1281 // Having Some([2, 0]) in a color basically means that "it has the same color as whateverCOMMENT
LOWtests/by-util/test_ls.rs1301 // │ ├── ln-up2 -> ../..COMMENT
LOWtests/by-util/test_stdbuf.rs1// This file is part of the uutils coreutils package.COMMENT
LOWtests/by-util/test_cp.rs1521 .arg(TEST_HELLO_WORLD_DEST)COMMENT
LOWtests/by-util/test_cp.rs3721COMMENT
LOWtests/by-util/test_rm.rs1621/// `--preserve-root` must refuse a bind mount of `/`.COMMENT
LOWtests/by-util/test_tail.rs421#[test]COMMENT
LOWtests/by-util/test_tail.rs501}COMMENT
LOWtests/by-util/test_tail.rs2721 // tail --follow=name file1 file2COMMENT
LOWtests/by-util/test_tail.rs4841/// >file dataCOMMENT
LOWtests/by-util/test_tail.rs4901COMMENT
LOWtests/by-util/test_yes.rs61#[test]COMMENT
LOWtests/by-util/test_sleep.rs301COMMENT
LOWtests/by-util/test_wc.rs61 .stdout_is(" 13 109 772 -\n");COMMENT
LOWtests/by-util/test_wc.rs101#[rstest]COMMENT
LOWtests/by-util/test_mkdir.rs321// TODO Enable and modify this for macos when xattr processing for macos is added.COMMENT
LOWtests/by-util/test_mkdir.rs341 // Reference: `<https://github.com/torvalds/linux/blob/master/include/uapi/linux/posix_acl_xattr.h>`COMMENT
LOWtests/by-util/test_cat.rs901/// Location: src/uucore/src/lib/mods/error.rs:751 - `.unwrap()` causes panicCOMMENT
LOWtests/by-util/test_split.rs801}COMMENT
LOWtests/by-util/test_install.rs1261 ucmd.arg(file)COMMENT
LOWtests/by-util/test_printf.rs1// This file is part of the uutils coreutils package.COMMENT
LOWtests/by-util/test_printf.rs21#[case::sub_q_string_special_non_printable(&["non-printable: %q", "test~"], "non-printable: test~")]COMMENT
LOWtests/by-util/test_printf.rs41#[case::sub_num_float_e_no_round(&["%e", "99999994"], "9.999999e+07")]COMMENT
LOWtests/by-util/test_printf.rs61#[case::sub_any_asterisk_second_param(&["%.*i", "3", "11", "4", "12"], "0110012")]COMMENT
668 more matches not shown…
AI Slop Vocabulary9 hits · 26 pts
SeverityFileLineSnippetContext
LOWutil/test_compare_test_results.py519 # Instead of assertRaises, just call main() and check its return valueCOMMENT
MEDIUMutil/run-gnu-test.sh41# --- Self-heal: make the shared GNU harness point at THIS checkout ----------COMMENT
MEDIUMutil/run-gnu-test.sh44# PATH, so the harness can silently run a stale/other build. Re-point the PATHCOMMENT
MEDIUMutil/run-gnu-test.sh55# to whatever 'target/*/coreutils' actually exists so the harness adapts to theCOMMENT
MEDIUMtests/by-util/test_ls.rs3824// Essentially the same test as above, but only test symlinks and directories,COMMENT
MEDIUMtests/by-util/test_chmod.rs1982 // Assert on the path only (not the mode bits), so the test is robust to theCOMMENT
MEDIUMsrc/uu/md5sum/Cargo.toml45# harness = falseCOMMENT
MEDIUMsrc/uu/checksum_common/Cargo.toml32# harness = falseCOMMENT
MEDIUMsrc/uucore/src/lib/mods/clap_localization.rs12//! instead of parsing error strings, providing a more robust solution.COMMENT
Hyper-Verbose Identifiers19 hits · 20 pts
SeverityFileLineSnippetContext
LOWutil/test_compare_size_results.py28 def test_load_sizes_date_keyed(self):CODE
LOWutil/test_compare_size_results.py48 def test_load_sizes_flat_fallback(self):CODE
LOWutil/test_compare_size_results.py74 def test_compare_threshold_boundaries(self):CODE
LOW⚡util/test_compare_size_results.py99 def test_compare_added_removed_and_totals(self):CODE
LOW⚡util/test_compare_size_results.py109 def test_compare_sort_and_zero_reference(self):CODE
LOW⚡util/test_compare_size_results.py116 def test_format_report_renders_changes(self):CODE
LOWutil/test_compare_size_results.py137 def test_main_writes_only_when_significant(self):CODE
LOWutil/test_compare_size_results.py156 def test_main_missing_reference_is_not_fatal(self):CODE
LOWutil/test_compare_test_results.py54 def test_log_extension_removal(self):CODE
LOWutil/test_compare_test_results.py94 def test_with_comments_and_blanks(self):CODE
LOWutil/test_compare_test_results.py214 def test_new_and_removed_tests(self):CODE
LOWutil/test_compare_test_results.py250 def test_skip_to_fail_not_regression(self):CODE
LOWutil/test_compare_test_results.py316 def test_main_exit_code_with_real_regressions(self):CODE
LOWutil/test_compare_test_results.py352 def test_filter_intermittent_fixes(self):CODE
LOWutil/test_compare_test_results.py426 def test_console_output_formatting(self, mock_stderr, mock_stdout):CODE
LOWutil/test_compare_test_results.py469 def test_file_output_generation(self):CODE
LOWutil/test_compare_test_results.py507 def test_exit_code_with_no_regressions(self):CODE
LOWutil/test_compare_test_results.py524 def test_exit_code_with_regressions(self):CODE
LOWutil/test_compare_test_results.py548 def test_github_actions_formatting(self):CODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHutil/test_compare_test_results.py440except SystemExit:CODE
HIGHutil/test_compare_test_results.py488except SystemExit:CODE
HIGHutil/test_compare_test_results.py563except SystemExit:CODE
Redundant / Tautological Comments8 hits · 12 pts
SeverityFileLineSnippetContext
LOWutil/compare_gnu_result.py44 # Check if all failing tests are intermittent based on the environment variableCOMMENT
LOWutil/analyze-gnu-results.py135 # Check if file arguments were providedCOMMENT
LOWutil/analyze-gnu-results.py145 # Check if the first argument is an output file (starts with -)COMMENT
LOWutil/run-gnu-test.sh140 # Check if the file exists with .sh, .pl extension or without any extension in the $path_GNU directoryCOMMENT
LOWutil/build-gnu.sh81# Check if all patches are already appliedCOMMENT
LOW.github/workflows/l10n.yml540 # Check if symlinks existCOMMENT
LOW.github/workflows/manpage-lint.yml66 # Check if manpages were generatedCOMMENT
LOW.github/workflows/manpage-lint.yml89 # Check if mandoc produced any output (errors only, not style warnings)COMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/uu/touch/src/touch.rs543 // we need to check if the path is the path to a directory (ends with a separator)COMMENT
LOW⚡src/uu/dirname/src/dirname.rs91 // Step 1: Strip trailing slashes (but not if the entire path is slashes)COMMENT
LOW⚡src/uu/dirname/src/dirname.rs100 // Step 2: Check if it ends with `/.` and strip the `/+.` patternCOMMENT
LOWsrc/uu/dirname/src/dirname.rs124 // Step 3: Normal dirname - find last / and remove everything after itCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/by-util/test_tail.rs4274// TODO: Add test for the warning `--pid=PID is not supported on this system`COMMENT
LOWtests/by-util/test_chown.rs341 // TODO: implement once output "failed to change" to stdout is fixedCOMMENT
LOWsrc/uu/cp/src/cp.rs800 // TODO: implement the following argsCOMMENT
LOWsrc/uu/cp/src/cp.rs2982 // TODO: implement something similar to gnu's lchownCOMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡src/uu/dirname/src/dirname.rs91 // Step 1: Strip trailing slashes (but not if the entire path is slashes)COMMENT
LOW⚡src/uu/dirname/src/dirname.rs100 // Step 2: Check if it ends with `/.` and strip the `/+.` patternCOMMENT
LOWsrc/uu/dirname/src/dirname.rs124 // Step 3: Normal dirname - find last / and remove everything after itCOMMENT
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/by-util/test_mv.rs3184 fs::write(&dst_path, "placeholder").expect("Failed to write placeholder dst");CODE
LOWtests/by-util/test_basenc.rs170 let input = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(50);CODE
LOWtests/by-util/test_basenc.rs170 let input = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(50);CODE
LOWtests/by-util/test_basenc.rs191 let input = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(50);CODE
LOWtests/by-util/test_basenc.rs191 let input = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(50);CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWutil/build-pgo.sh13# Usage:COMMENT
LOWsrc/uucore/src/lib/features/update_control.rs22//! # Usage exampleCOMMENT
LOWsrc/uucore/src/lib/features/backup_control.rs38//! # Usage exampleCOMMENT
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMutil/analyze-gnu-results.py158 print(f"Error: File '{json_files[0]}' not found.", file=sys.stderr)CODE
MEDIUMutil/gnu-json-result.py38 print(f"Error processing file {path}: {e}", file=sys.stderr)CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMutil/test_compare_test_results.py410 # Create an ignore fileCOMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMutil/run-gnu-test.sh92# ---------------------------------------------------------------------------COMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWutil/analyze-gnu-results.py49CODE
LOWutil/run-clippy.py34CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWutil/run-clippy.py6CODE