AI Slop Code Risk Monitor

stashapp/stash

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

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for stashapp/stash, a Go project with 13,330 GitHub stars. SynthScan examined 410,462 lines of code across 1447 source files, recording 453 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.0 (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.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
13.3K
Stars
Go
Language
410.5K
Lines of Code
1.4K
Files
453
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 4.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 3.8/100 · LOW

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

PR Review Velocity Impact 5.5/100 · LOW

Which changes need focused human review? 453 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 1MEDIUM 1LOW 451

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 453 distinct pattern matches across 7 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.

Hyper-Verbose Identifiers364 hits · 314 pts
SeverityFileLineSnippetContext
LOW⚡ui/v2.5/src/pluginApi.d.ts251 function refetchAvailablePluginPackagesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts252 function refetchAvailableScraperPackagesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts253 function refetchConfigurationQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts256 function refetchFindDuplicateScenesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts257 function refetchFindGalleriesForSelectQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts258 function refetchFindGalleriesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts264 function refetchFindGroupsForSelectQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts266 function refetchFindPerformerQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts267 function refetchFindPerformersForSelectQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts268 function refetchFindPerformersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts269 function refetchFindSavedFilterQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts270 function refetchFindSavedFiltersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts271 function refetchFindSceneMarkerTagsQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts272 function refetchFindSceneMarkersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts274 function refetchFindScenesByPathRegexQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts277 function refetchFindStudiosForSelectQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts280 function refetchFindTagsForSelectQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts282 function refetchInstalledPluginPackagesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts283 function refetchInstalledPluginPackagesStatusQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts284 function refetchInstalledScraperPackagesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts285 function refetchInstalledScraperPackagesStatusQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts287 function refetchLatestVersionQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts288 function refetchListGalleryScrapersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts289 function refetchListGroupScrapersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts290 function refetchListPerformerScrapersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts291 function refetchListSceneScrapersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts293 function refetchMarkerStringsQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts295 function refetchParseSceneFilenamesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts300 function refetchScrapeGalleryUrlQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts301 function refetchScrapeGroupUrlQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts302 function refetchScrapeMultiPerformersQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts303 function refetchScrapeMultiScenesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts304 function refetchScrapePerformerUrlQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts305 function refetchScrapeSceneUrlQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts306 function refetchScrapeSingleGalleryQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts307 function refetchScrapeSinglePerformerQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts308 function refetchScrapeSingleSceneQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts309 function refetchScrapeSingleStudioQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts312 function refetchValidateStashBoxQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts314 function useAddGalleryImagesMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts316 function useAnonymiseDatabaseMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts317 function useAvailablePluginPackagesLazyQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts318 function useAvailablePluginPackagesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts319 function useAvailablePluginPackagesSuspenseQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts320 function useAvailableScraperPackagesLazyQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts321 function useAvailableScraperPackagesQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts322 function useAvailableScraperPackagesSuspenseQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts323 function useBackupDatabaseMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts324 function useBulkGalleryUpdateMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts325 function useBulkImageUpdateMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts326 function useBulkGroupUpdateMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts327 function useBulkPerformerUpdateMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts328 function useBulkSceneUpdateMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts329 function useConfigurationLazyQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts331 function useConfigurationSuspenseQuery(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts332 function useConfigureDefaultsMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts334 function useConfigureGeneralMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts335 function useConfigureInterfaceMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts336 function useConfigurePluginMutation(...args: any[]): any;CODE
LOW⚡ui/v2.5/src/pluginApi.d.ts337 function useConfigureScrapingMutation(...args: any[]): any;CODE
304 more matches not shown…
Over-Commented Block77 hits · 77 pts
SeverityFileLineSnippetContext
LOWui/v2.5/src/serviceWorker.ts1/* XXbiome-ignore no-console */COMMENT
LOWui/v2.5/src/models/list-filter/criteria/stash-ids.ts101 // const asStashIDValue = criterion as StashIdCriterionInput;COMMENT
LOWui/v2.5/src/components/List/util.ts341 // of keeping selected items that are no longer in the list, since its notCOMMENT
LOWui/v2.5/src/hooks/Lightbox/Lightbox.tsx141 const [showOptions, setShowOptions] = useState(false);COMMENT
LOWui/v2.5/src/hooks/Interactive/interactive.ts61// Permission is hereby granted, free of charge, to any person obtaining a copyCOMMENT
LOWdocker/production/docker-compose.yml21 - STASH_METADATA=/metadata/COMMENT
LOWinternal/dlna/dms.go1package dlnaCOMMENT
LOWinternal/dlna/dms.go481 // XMLName: xml.Name{COMMENT
LOWinternal/dlna/dms.go521 }COMMENT
LOWinternal/dlna/service.go181 return connCOMMENT
LOWinternal/dlna/service.go201 // },COMMENT
LOWinternal/dlna/service.go221// if err != nil {COMMENT
LOWinternal/dlna/cd-service-desc.go1package dlnaCOMMENT
LOWinternal/dlna/html.go1package dlnaCOMMENT
LOWinternal/dlna/cm-service-desc.go1package dlnaCOMMENT
LOWinternal/dlna/cds.go1package dlnaCOMMENT
LOWinternal/dlna/cds.go261 // for _, playlist := range savedPlaylists {COMMENT
LOWinternal/dlna/xmsr-service-desc.go1package dlnaCOMMENT
LOWinternal/dlna/cds_test.go1package dlnaCOMMENT
LOWinternal/autotag/performer.go41 // TODO - disabled until we can have finer control over alias matchingCOMMENT
LOWinternal/autotag/doc.go1// Package autotag provides the autotagging functionality for the application.COMMENT
LOWinternal/autotag/tagger.go1// Package autotag provides methods to auto-tag scenes with performers,COMMENT
LOWinternal/manager/generator_sprite.go41 // SpriteInterval will be adjusted accordingly to ensure no more than this many sprites are generatedCOMMENT
LOWinternal/api/loaders/dataloaders.go1// Package loaders contains the dataloaders used by the resolver in [api].COMMENT
LOWpkg/fsutil/symwalk.go1// Modified from github.com/facebookgo/symwalkCOMMENT
LOWpkg/fsutil/symwalk.go21// prior written permission.COMMENT
LOWpkg/stashbox/draft.go101// returnCOMMENT
LOWpkg/stashbox/draft.go121// if _, err := io.Copy(part, image); err != nil {COMMENT
LOWpkg/file/scan.go21// The scan process works using two goroutines. The first walks through the provided pathsCOMMENT
LOWpkg/file/walk.go21// Redistribution and use in source and binary forms, with or without modification,COMMENT
LOWpkg/file/walk.go41// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ONCOMMENT
LOWpkg/file/stashignore.go41// NewStashIgnoreFilter creates a new StashIgnoreFilter.COMMENT
LOWpkg/match/path.go161 // if !matches {COMMENT
LOWpkg/plugin/config.go41 // The command to execute for the operations in this plugin. The firstCOMMENT
LOWpkg/plugin/config.go81COMMENT
LOWpkg/plugin/config.go381// provided by a plugin.COMMENT
LOWpkg/plugin/plugins.go61COMMENT
LOWpkg/plugin/common/log/log.go1// Package log provides a number of logging utility functions for encoding andCOMMENT
LOWpkg/utils/strings.go1package utilsCOMMENT
LOWpkg/sqlite/saved_filter_test.go101// TODO FindCOMMENT
LOWpkg/sqlite/performer_test.go2841// TODO UpdateCOMMENT
LOWpkg/sqlite/transaction_test.go21// loops = 100COMMENT
LOWpkg/sqlite/transaction_test.go41// }COMMENT
LOWpkg/sqlite/transaction_test.go81// with a read-only transaction.COMMENT
LOWpkg/sqlite/transaction_test.go101// // wait for other thread to startCOMMENT
LOWpkg/sqlite/transaction_test.go121// defer wg.Done()COMMENT
LOWpkg/sqlite/transaction_test.go141// // this takes time to fail, so we need to wait for itCOMMENT
LOWpkg/sqlite/transaction_test.go221COMMENT
LOWpkg/sqlite/transaction_test.go241// Title: "test",COMMENT
LOWpkg/sqlite/transaction_test.go261// }(k)COMMENT
LOWpkg/sqlite/transaction_test.go281COMMENT
LOWpkg/sqlite/gallery_chapter_test.go41// TODO UpdateCOMMENT
LOWpkg/sqlite/database.go21 // Number of database read connections to useCOMMENT
LOWpkg/sqlite/scene_marker_test.go221 strconv.Itoa(tagIDs[tagIdxWithMarkers]),COMMENT
LOWpkg/image/export.go81// }COMMENT
LOWpkg/scene/marker_import_test.go1package sceneCOMMENT
LOWpkg/scene/marker_import_test.go21// func TestMarkerImporterName(t *testing.T) {COMMENT
LOWpkg/scene/marker_import_test.go41// },COMMENT
LOWpkg/scene/marker_import_test.go61// i.Input.Tags = []string{COMMENT
LOWpkg/scene/marker_import_test.go81// tags: []*models.Tag{COMMENT
17 more matches not shown…
Fake / Example Data8 hits · 10 pts
SeverityFileLineSnippetContext
LOWui/v2.5/src/docs/en/Manual/Tagger.md11An important thing to note is that it only returns a match *if all query terms are a match*. As an example, if a scene iCODE
LOWui/v2.5/src/docs/en/Manual/AutoTagging.md15### Examples (performer "Jane Doe")COMMENT
LOWui/v2.5/src/components/Shared/FilterSelect.tsx40 | "placeholder"CODE
LOWpkg/scraper/mapped_result_test.go414 "Name": "Jane Doe",CODE
LOWpkg/scraper/mapped_result_test.go442 assert.Equal(t, "Jane Doe", *p.Name)CODE
LOW⚡pkg/scraper/mapped_result_test.go487 mappedResult{"Name": "Jane Doe"},CODE
LOW⚡pkg/scraper/mapped_result_test.go494 mappedResult{"Name": "Jane Doe"},CODE
LOW⚡pkg/scraper/mapped_result_test.go495 mappedResult{"Name": "John Doe"},CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpkg/plugin/examples/python/pyplugin.py99except ValueError:CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdocker/production/docker-compose.yml30 ## E.g. you can change ./config:/root/.stash to ./stash:/root/.stashCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpkg/plugin/examples/python/pyplugin.py57 except Exception as e:CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpkg/plugin/examples/python/pyplugin.py43CODE