AI Slop Code Risk Monitor

anchore/syft

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

CLI tool and library for generating a Software Bill of Materials from container images and filesystems

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for anchore/syft, a Go project with 9,808 GitHub stars. SynthScan examined 602,726 lines of code across 1935 source files, recording 221 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 0.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.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
9.8K
Stars
Go
Language
602.7K
Lines of Code
1.9K
Files
221
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 1.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 2.5/100 · LOW

Which changes need focused human review? 221 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 7MEDIUM 22LOW 192

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 221 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 Block167 hits · 167 pts
SeverityFileLineSnippetContext
LOW.golangci.yaml81 - builtin$COMMENT
LOW.bouncer.yaml21COMMENT
LOWcmd/syft/internal/options/writer.go81COMMENT
LOW…/internal/test/integration/encode_decode_cycle_test.go41 // no redactions necessaryCOMMENT
LOW…/test/integration/package_cataloger_convention_test.go141 // note: this is meant to apply to things in static space, not methods on structs or within interfaces.COMMENT
LOWtest/install/test_harness.sh181 # ../../snapshot/syft_0.36.0-SNAPSHOT-e5e847a_linux_arm64.debCOMMENT
LOWtest/cli/scan_cmd_test.go81 "-o", "json", coverageImage},COMMENT
LOWtest/cli/scan_cmd_test.go161 assertPackageCount(14),COMMENT
LOWtest/cli/scan_cmd_test.go181 name: "all-layers-scope-flag",COMMENT
LOWtest/cli/scan_cmd_test.go241 assertJsonReport,COMMENT
LOW…st/cli/testdata/attestation/docker-compose-config.yaml1#COMMENT
LOWtest/cli/testdata/attestation/config/logid.sh1#!/bin/bashCOMMENT
LOW…data/attestation/config/dex/docker-compose-config.yaml1#COMMENT
LOWinternal/constants.go1package internalCOMMENT
LOWinternal/spillbuf/buffer.go1// Package spillbuf provides a sparse, offset-addressed byte buffer that keeps a bounded amount in memoryCOMMENT
LOWinternal/spillbuf/buffer.go41// Storage is two tiers with a fixed boundary: bytes below memLimit live in mem, bytes at or past it liveCOMMENT
LOWinternal/capabilities/model.go101// CapabilityField represents a single capability field with optional conditional values based on configuration.COMMENT
LOW…ternal/capabilities/internal/load_capabilities_test.go41COMMENT
LOWinternal/file/reader_size.go1package fileCOMMENT
LOWinternal/file/reader_size.go21// intermediate position.COMMENT
LOWinternal/spdxlicense/generate/generate_license_list.go101// https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-short-name.COMMENT
LOWinternal/os/feature_detection.go61COMMENT
LOWinternal/testutils/alloc.go1package testutilsCOMMENT
LOW.github/scripts/labeler.py221COMMENT
LOWsyft/archive_cataloger_test.go41//COMMENT
LOWsyft/file/resolver.go21// MetadataResolver provides file metadata lookup by location.COMMENT
LOWsyft/file/resolver.go41 // The implementation for this may vary, however, generally the following considerations should be made:COMMENT
LOWsyft/file/cataloger/executable/macho.go81 }COMMENT
LOWsyft/source/snapsource/snapcraft_api.go101// isEligibleChannel determines whether a candidate channel satisfies a requestedCOMMENT
LOW…ft/source/directorysource/directory_source_win_test.go1//go:build windowsCOMMENT
LOWsyft/source/ocimodelsource/registry_client.go41 // maxGGUFHeaderBytes is the leading slice we range-GET from a (multi-GB)COMMENT
LOWsyft/internal/fileresolver/filetree_resolver_test.go21COMMENT
LOWsyft/internal/fileresolver/container_image_model.go21COMMENT
LOWsyft/internal/fileresolver/path_skipper.go41 }COMMENT
LOWsyft/internal/fileresolver/unindexed_directory_test.go41COMMENT
LOWsyft/internal/elfutil/elfutil.go41 "math"COMMENT
LOWsyft/internal/elfutil/elfutil.go61//COMMENT
LOWsyft/internal/elfutil/elfutil.go121// the case this was written for, a 260KB ELF declaring a compressed .symtab drove 1.3GB of allocation.COMMENT
LOWsyft/internal/elfutil/elfutil.go181 // File.DynamicSymbols pulls the symbol version tables in behind the caller's back, viaCOMMENT
LOWsyft/internal/elfutil/elfutil.go201// re-read against it.COMMENT
LOWsyft/internal/elfutil/elfutil.go241}COMMENT
LOWsyft/internal/elfutil/elfutil.go261 var hdr [legacyZlibHeaderSize]byteCOMMENT
LOWsyft/internal/elfutil/elfutil_test.go341 require.Error(t, err)COMMENT
LOWsyft/internal/elfutil/elfutil_test.go421 // here is a size claim at all. A check that sniffed for the magic instead would decode theCOMMENT
LOWsyft/cpe/cpe.go201COMMENT
LOWsyft/format/spdxjson/spdx3_decoder_test.go21COMMENT
LOW…format/internal/cyclonedxutil/helpers/licenses_test.go201 },COMMENT
LOW…format/internal/cyclonedxutil/helpers/licenses_test.go221 // {COMMENT
LOW…/internal/cyclonedxutil/helpers/external_references.go101// not a fork, and CycloneDX components are deliberately agnostic to source vs binary form (see the comments from theCOMMENT
LOW…ormat/internal/spdxutil/helpers/originator_supplier.go21//COMMENT
LOW…ormat/internal/spdxutil/helpers/originator_supplier.go161// or might not be different from the originating distribution source for the package. The name of the Package SupplierCOMMENT
LOWsyft/format/common/spdxhelpers/to_format_model.go101 // 6.4: Document NameCOMMENT
LOWsyft/format/common/spdxhelpers/to_format_model.go461 if filesAnalyzed && packageVerificationCode == nil {COMMENT
LOWsyft/format/common/spdxhelpers/to_format_model.go501COMMENT
LOWsyft/format/common/spdxhelpers/to_format_model.go521 FilesAnalyzed: filesAnalyzed,COMMENT
LOWsyft/format/common/spdxhelpers/to_format_model.go541 // Cardinality: optional, oneCOMMENT
LOWsyft/format/common/spdxhelpers/to_format_model.go561 // Purpose: List the licenses that have been declared by the authors of the package.COMMENT
LOWsyft/format/common/spdxhelpers/to_format_model.go581COMMENT
LOWsyft/format/table/encoder.go81 // Here’s a simplified diagram of a table with a header, rows, and footer:COMMENT
LOWsyft/format/syftjson/schema_test.go41 // we want to strictly follow https://google.github.io/styleguide/javaguide.html#s5.3-camel-caseCOMMENT
107 more matches not shown…
Decorative Section Separators13 hits · 52 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh27# ------------------------------------------------------------------------COMMENT
MEDIUMinstall.sh32# ------------------------------------------------------------------------COMMENT
MEDIUMinstall.sh288# ------------------------------------------------------------------------COMMENT
MEDIUMinstall.sh290# ------------------------------------------------------------------------COMMENT
MEDIUM⚡syft/format/table/encoder.go94 // ┌──────┬─────┐ <- Borders.TopCOMMENT
MEDIUM⚡syft/format/table/encoder.go96 // ├──────┼─────┤ <- Lines.ShowTopCOMMENT
MEDIUM⚡syft/format/table/encoder.go98 // ├──────┼─────┤ <- Separators.BetweenRowsCOMMENT
MEDIUM⚡syft/format/table/encoder.go100 // ├──────┼─────┤ <- Lines.ShowBottomCOMMENT
MEDIUM⚡syft/format/table/encoder.go102 // └──────┴─────┘ <- Borders.BottomCOMMENT
MEDIUM⚡syft/pkg/cataloger/internal/dotnet/pe/bundle.go17// ┌──────────────────────────────────┐COMMENT
MEDIUM⚡syft/pkg/cataloger/internal/dotnet/pe/bundle.go22// ├──────────────────────────────────┤COMMENT
MEDIUM⚡syft/pkg/cataloger/internal/dotnet/pe/bundle.go24// ├──────────────────────────────────┤COMMENT
MEDIUM⚡syft/pkg/cataloger/internal/dotnet/pe/bundle.go27// └──────────────────────────────────┘COMMENT
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGH…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py85except (NoOptionError, NoSectionError):CODE
HIGH…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py165except (NoOptionError, NoSectionError):CODE
HIGH…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py173except (NoOptionError, NoSectionError):CODE
HIGH…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py181except (NoOptionError, NoSectionError):CODE
HIGH…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py192except (NoOptionError, NoSectionError):CODE
HIGH…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py198except (NoOptionError, NoSectionError):CODE
Self-Referential Comments4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUM…tdata/image-pkg-coverage/terraform/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMinternal/capabilities/appconfig.yaml2# This file is partially auto-generated. Run 'go generate ./internal/capabilities' to regenerate.COMMENT
MEDIUMinternal/capabilities/generate/io.go188 appNode.HeadComment = "# Application-level configuration. See README.md for documentation.\n# This file is partially aCODE
MEDIUM…r/terraform/testdata/two-providers/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
Hyper-Verbose Identifiers10 hits · 10 pts
SeverityFileLineSnippetContext
LOW…/testdata/image-java-virtualpath-regression/extract.py50def walk_directory_and_slim_jars(base_dir, output_dir):CODE
LOW…/integration/testdata/image-test-java-purls/extract.py50def walk_directory_and_slim_jars(base_dir, output_dir):CODE
LOW.github/scripts/fingerprint_docker_fixtures.py24def is_git_tracked_or_untracked(directory):CODE
LOW.github/scripts/fingerprint_docker_fixtures.py35def find_test_fixture_dirs_with_images(base_dir):CODE
LOW.github/scripts/labeler_test.py24 def test_summarize_schema_files(self):CODE
LOW.github/scripts/labeler_test.py34 def test_get_pr_changed_files(self):CODE
LOW.github/scripts/labeler_test.py45 def test_filter_to_schema_files(self):CODE
LOW.github/scripts/labeler_test.py60 def test_sort_json_schema_files(self):CODE
LOW.github/scripts/find_cache_paths.py13def find_fingerprints_and_check_dirs(base_dir):CODE
LOW.github/scripts/find_cache_paths.py61def parse_fingerprint_contents(fingerprint_content):CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsyft/format/common/spdxhelpers/to_format_model.go870 // for now we include a 0 sha1 digest as requested by the spdx specCOMMENT
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…/testdata/image-java-virtualpath-regression/extract.py9CODE
LOW…/integration/testdata/image-test-java-purls/extract.py9CODE
LOW.github/scripts/fingerprint_docker_fixtures.py44CODE
LOW.github/scripts/find_cache_paths.py93CODE
LOW…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py341CODE
LOW…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py254CODE
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtest/install/test_harness.sh126 # if you want to see proof in the logs, feel free to adjust the redirectionCOMMENT
MEDIUM…/homebrew/testdata/formulas/crazy/1.0.0/.brew/crazy.rb99 # If you maintain your own repository, you can add your own bottle links.COMMENT
AI Slop Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMschema/cyclonedx/cyclonedx.json1251 "description": "Specifies the format and nature of the data being attached, helping systems correctly interpreCODE
MEDIUMsyft/pkg/cataloger/ruby/parse_gemspec.go190 // we can do this ourselves with strconv.Atoi, or leverage the existing json package.COMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOW.github/scripts/labeler.py3CODE
LOW.github/scripts/prune_orphan_fingerprints.py21CODE
LOW.github/scripts/find_cache_paths.py2CODE
LOW…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py20CODE
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWschema/cyclonedx/cyclonedx.json956 "examples": ["Acme Inc"]CODE
LOWschema/cyclonedx/cyclonedx.json962 "examples": ["Acme Inc"]CODE
LOWschema/cyclonedx/cyclonedx.json1027 "examples": ["Acme Inc"]CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py71CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…t/pkg/cataloger/python/testdata/setup/dynamic-setup.py616 # Check if this distribution is already on sys.pathCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/scripts/find_cache_paths.py135 except Exception as e:CODE