AI Slop Code Risk Monitor

mozilla/sccache

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

Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for mozilla/sccache, a Rust project with 7,862 GitHub stars. SynthScan examined 64,781 lines of code across 164 source files, recording 158 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 3.1 (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.1
Adjusted Signal
3.1
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
7.9K
Stars
Rust
Language
64.8K
Lines of Code
164
Files
158
Pattern Hits
2026-10-31
Scan Date
0.03
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 10.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 2.4/100 · LOW

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

PR Review Velocity Impact 14.5/100 · LOW

Which changes need focused human review? 158 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 5MEDIUM 10LOW 143

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 158 distinct pattern matches across 5 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 Block139 hits · 139 pts
SeverityFileLineSnippetContext
LOWtests/logging.rs1// Tests for logging functionality.COMMENT
LOWtests/system.rs1// System tests for compiling C code.COMMENT
LOWtests/sccache_rustc.rs21 let _ = Command::from_std(std::process::Command::new(env!("CARGO_BIN_EXE_sccache")))COMMENT
LOWtests/integration/file-prefix-map/main.cpp1// Source for the -ffile-prefix-map test, see scripts/test-file-prefix-map.sh.COMMENT
LOWtests/integration/randomize_readdir/src/lib.rs1// Copyright 2024 Mozilla FoundationCOMMENT
LOWtests/integration/randomize_readdir/src/lib.rs21//! entire directory into a vector, shuffle it, and store iterationCOMMENT
LOWtests/integration/msvc-preprocessing/foo.cpp1// This tests sccache's ability to handle a known bug in cl.exeCOMMENT
LOWtests/integration/cmake-hip/vectoradd_hip.cpp21*/COMMENT
LOWdocs/Configuration.md1# Available Configuration OptionsCOMMENT
LOWdocs/Configuration.md21# Path matching is case-insensitive on Windows and case-sensitive on other OSes.COMMENT
LOWdocs/Configuration.md61key_prefix = ""COMMENT
LOWdocs/DistributedFreeBSD.md41# If unspecified the default is 10GB.COMMENT
LOWscripts/freebsd-ci-test.sh1#!/bin/shCOMMENT
LOWscripts/freebsd-ci-test.sh21#COMMENT
LOW.github/workflows/integration-tests.yml221 # SCCACHE_GHA_ENABLED: "on"COMMENT
LOWbenches/preprocessor_cache_bench.rs1// Copyright 2026 MozillaCOMMENT
LOWbenches/sccache_bench.rs1// Copyright 2025 MozillaCOMMENT
LOWsrc/util.rs1// Copyright 2017 Mozilla FoundationCOMMENT
LOWsrc/util.rs201 overlap_buffer: [u8; MAX_HAYSTACK_LEN * 2],COMMENT
LOWsrc/util.rs221 /// pattern we're looking for is `__TIMESTAMP__` to avoid copying the entireCOMMENT
LOWsrc/util.rs241 /// ```COMMENT
LOWsrc/util.rs1261 // Find all potential matches for each basedir using fast substring searchCOMMENT
LOWsrc/util.rs1341COMMENT
LOWsrc/util.rs1361/// * the whole argument, as in a source file or the path of a separatedCOMMENT
LOWsrc/util.rs1561 resultCOMMENT
LOWsrc/cmdline.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/net.rs1// Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWsrc/protocol.rs61 /// Response for `Request::StorageGetRaw`: zip bytes on hit, `None` on miss.COMMENT
LOWsrc/client.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/config.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/config.rs241 pub key_prefix: String,COMMENT
LOWsrc/config.rs261 /// See other flags below for more control over this behavior.COMMENT
LOWsrc/config.rs401 #[serde(default)]COMMENT
LOWsrc/lib.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/mock_command.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/mock_command.rs21//! Instead of using `Command::new()`, make your code generic usingCOMMENT
LOWsrc/mock_command.rs101 I: IntoIterator<Item = (K, V)>,COMMENT
LOWsrc/server.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/server.rs821 /// Access mode selected when this service was constructed.COMMENT
LOWsrc/server.rs841 /// can mock this out.COMMENT
LOWsrc/server.rs2381{COMMENT
LOWsrc/commands.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/errors.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/main.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/jobserver.rs21// cargo or make process can't terminate until the sccache server terminatesCOMMENT
LOWsrc/cache/cache.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/cache/cache.rs61}COMMENT
LOWsrc/cache/cache.rs121 /// - `Ok(CacheMode::ReadWrite)` means cache can do both `get` and `put`.COMMENT
LOWsrc/cache/cache.rs261COMMENT
LOWsrc/cache/multilevel.rs1// Copyright 2026 Mozilla FoundationCOMMENT
LOWsrc/cache/cos.rs1// Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWsrc/cache/ipc_storage.rs1// Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWsrc/cache/azure.rs1// Copyright 2018 Benjamin BaderCOMMENT
LOWsrc/cache/azure.rs21COMMENT
LOWsrc/cache/azure.rs41 /// `Authorization: Bearer <token>` header. Supported credential sources,COMMENT
LOWsrc/cache/azure.rs101///COMMENT
LOWsrc/cache/readonly.rs1// Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWsrc/cache/gcs.rs1// Copyright 2017 Mozilla FoundationCOMMENT
LOWsrc/cache/memcached.rs1// Copyright 2016 Mozilla FoundationCOMMENT
LOWsrc/cache/webdav.rs1// Licensed under the Apache License, Version 2.0 (the "License");COMMENT
79 more matches not shown…
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMtests/integration/scripts/test-multilevel-chain.sh101# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh103# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh121# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh123# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh159# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh161# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh203# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh205# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh250# ============================================================================COMMENT
MEDIUMtests/integration/scripts/test-multilevel-chain.sh252# ============================================================================COMMENT
Magic Placeholder Names5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHdocs/Distributed.md116scheduler_auth = { type = "jwt_token", token = "YOUR_TOKEN_HERE" }CODE
HIGHdocs/Distributed.md133server_auth = { type = "token", token = "YOUR_TOKEN_HERE" }CODE
HIGHdocs/Distributed.md139scheduler_auth = { type = "token", token = "YOUR_TOKEN_HERE" }CODE
HIGHdocs/Distributed.md238client_auth = { type = "token", token = "YOUR_TOKEN_HERE" }CODE
HIGHdocs/Distributed.md244auth = { type = "token", token = "YOUR_TOKEN_HERE" }CODE
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/integration/scripts/test-multilevel.sh28except Exception as e:CODE
LOWtests/integration/scripts/test-multilevel-chain.sh36except Exception as e:CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/bin/sccache-dist/main.rs131 let dummy_key = jwt::DecodingKey::from_secret(b"secret");CODE
LOWsrc/bin/sccache-dist/main.rs132 jwt::decode::<ServerJwt>(server_token, &dummy_key, &validation)CODE