AI Slop Code Risk Monitor

umami-software/umami

SlopCodeMonitor badge for umami-software/umami Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

0.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for umami-software/umami, a TypeScript project with 39,820 GitHub stars. SynthScan examined 240,383 lines of code across 1604 source files, recording 81 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.4 (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.4
Adjusted Signal
0.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
39.8K
Stars
TypeScript
Language
240.4K
Lines of Code
1.6K
Files
81
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.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 1.8/100 · LOW

Which changes need focused human review? 81 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 79

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 81 distinct pattern matches across 4 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 Identifiers76 hits · 78 pts
SeverityFileLineSnippetContext
LOWpackages/mcp/src/http.ts27export function createUmamiMcpHttpHandler(CODE
LOWsrc/app/api/share/[slug]/route.ts81async function filterBoardEntityIdsForShare(CODE
LOWsrc/app/(main)/boards/useBoardEntityAvailability.ts4export function useBoardEntityAvailability(entityType?: BoardEntityType, entityId?: string) {CODE
LOW…app/(main)/boards/[boardId]/BoardComponentRenderer.tsx6function BoardComponentRendererComponent({CODE
LOW…n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx303function getScreenWidthBucketWidth(viewportW: number) {CODE
LOW…n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx394function getDefaultScreenWidthBucket(buckets: ScreenWidthBucket[]) {CODE
LOW…n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx418function getNormalizedBucketPoints(points: HeatmapPoint[], bucket: ScreenWidthBucket) {CODE
LOW…n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx451function useSelectedScreenWidthBucket(screenWidthBuckets: ScreenWidthBucket[]) {CODE
LOW…n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx479function getScrollScreenWidthMetrics(scroll: HeatmapResult['scroll'] | undefined) {CODE
LOWsrc/queries/prisma/website.ts20async function deleteWebsiteDependentData(tx: any, websiteId: string) {CODE
LOWsrc/queries/prisma/website.ts122export async function getAllUserWebsitesIncludingTeamAccess(CODE
LOWsrc/queries/sql/getChannelExpandedMetrics.ts32export async function getChannelExpandedMetrics(CODE
LOWsrc/queries/sql/sessions/getSessionDataArraySeries.ts9export async function getSessionDataArraySeries(CODE
LOW…c/queries/sql/sessions/getSessionDataPropertySeries.ts9export async function getSessionDataPropertySeries(CODE
LOWsrc/queries/sql/sessions/getSessionDataActivityStats.ts9export async function getSessionDataActivityStats(CODE
LOWsrc/queries/sql/sessions/getSessionDataNumericSeries.ts9export async function getSessionDataNumericSeries(CODE
LOWsrc/queries/sql/sessions/getSessionExpandedMetrics.ts28export async function getSessionExpandedMetrics(CODE
LOWsrc/queries/sql/sessions/getSessionDataNumericStats.ts9export async function getSessionDataNumericStats(CODE
LOWsrc/queries/sql/heatmap/getHeatmap.ts684function pickScrollSnapshotViewport(CODE
LOWsrc/queries/sql/heatmap/getHeatmap.ts753function getRelationalHeatmapPathFilterContext(filters: QueryFilters) {CODE
LOWsrc/queries/sql/heatmap/getHeatmap.ts813function getClickhouseHeatmapPathFilterContext(filters: QueryFilters) {CODE
LOWsrc/queries/sql/heatmap/getHeatmap.ts869function getRelationalHeatmapFilterContext(CODE
LOWsrc/queries/sql/heatmap/getHeatmap.ts910function getClickhouseHeatmapFilterContext(CODE
LOWsrc/queries/sql/journeys/getJourney.ts250function combineSequentialDuplicates(array: any) {CODE
LOWsrc/queries/sql/events/getEventDataPropertySeries.ts9export async function getEventDataPropertySeries(CODE
LOWsrc/queries/sql/events/getEventDataNumericSeries.ts8export async function getEventDataNumericSeries(CODE
LOWsrc/queries/sql/pageviews/getPageviewExpandedMetrics.ts28export async function getPageviewExpandedMetrics(CODE
LOWsrc/queries/sql/pageviews/getPageviewExpandedMetrics.ts228export function toClickHouseGroupedReferrer(CODE
LOWsrc/queries/sql/pageviews/getPageviewExpandedMetrics.ts244export function toPostgresGroupedReferrer(CODE
LOWsrc/openapi/coverage.ts20function getExpectedPathParameters(path: string) {CODE
LOWsrc/openapi/coverage.ts24function getContractPathParameters(contract: ApiOperationContract) {CODE
LOWsrc/permissions/share.ts40function shareTokenIncludesWebsite(auth: Auth | null | undefined, websiteId: string) {CODE
LOWsrc/permissions/share.ts88export async function canViewSharedWebsiteFilters(CODE
LOWsrc/permissions/share.ts101export async function canViewAuthenticatedWebsite(CODE
LOWsrc/permissions/team.ts94export async function canEnforceTwoFactorAuthForTeam({ user }: Auth, teamId: string) {CODE
LOWsrc/permissions/board.ts15function getExpectedBoardReportType(componentType?: string) {CODE
LOWsrc/permissions/board.ts21async function isValidBoardReportReference(CODE
LOWsrc/permissions/user.ts39export async function canEnforceTwoFactorAuthForEveryone({ user }: Auth) {CODE
LOWsrc/permissions/user.ts43export async function canEnforceTwoFactorAuthForUser({ user }: Auth) {CODE
LOWsrc/components/input/SavedDefinitionEditButton.tsx20export function SavedDefinitionEditButton({CODE
LOWsrc/components/charts/DistributionBarChart.tsx39function DistributionBarChartComponent({CODE
LOW…components/hooks/queries/useTwoFactorVerifyMutation.ts10export function useTwoFactorVerifyMutation() {CODE
LOW…omponents/hooks/queries/usePropertyArraySeriesQuery.ts8export function usePropertyArraySeriesQuery(CODE
LOW…ponents/hooks/queries/usePropertyNumericSeriesQuery.ts8export function usePropertyNumericSeriesQuery(CODE
LOW…ents/hooks/queries/useSessionDataActivityStatsQuery.ts7export function useSessionDataActivityStatsQuery(CODE
LOW…mponents/hooks/queries/usePropertyNumericStatsQuery.ts8export function usePropertyNumericStatsQuery(CODE
LOW…omponents/hooks/queries/useWebsiteSessionStatsQuery.ts5export function useWebsiteSessionStatsQuery(websiteId: string, options?: Record<string, string>) {CODE
LOW…omponents/hooks/queries/useEventDataPropertiesQuery.ts6export function useEventDataPropertiesQuery(websiteId: string, options?: ReactQueryOptions) {CODE
LOW…omponents/hooks/queries/useWebsiteEventsSeriesQuery.ts6export function useWebsiteEventsSeriesQuery(CODE
LOW…onents/hooks/queries/useWebsiteExpandedMetricsQuery.ts16export function useWebsiteExpandedMetricsQuery(CODE
LOW…components/hooks/queries/usePerformanceMetricsQuery.ts6export function usePerformanceMetricsQuery(CODE
LOWsrc/components/hooks/queries/useTwoFactorUserStatus.ts3export function useTwoFactorUserStatusQuery(userId: string) {CODE
LOW…/components/hooks/queries/useSessionDataValuesQuery.ts6export function useSessionDataValuesQuery(CODE
LOW…/components/hooks/queries/useWebsiteListChartsQuery.ts32export function useWebsiteListChartsQuery(websiteIds: string[]) {CODE
LOW…components/hooks/queries/usePropertyDateSeriesQuery.ts8export function usePropertyDateSeriesQuery(CODE
LOW…components/hooks/queries/useWebsiteAnnotationsQuery.ts6export function useWebsiteAnnotationsQuery(CODE
LOW…ponents/hooks/queries/useSessionDataPropertiesQuery.ts7export function useSessionDataPropertiesQuery(CODE
LOWsrc/lib/prisma.ts461function getEventPropertyFilterQuery(CODE
LOWsrc/lib/prisma.ts587function getSessionPropertyFilterQuery(CODE
LOWsrc/lib/boards.ts129export function getResolvedComponentEntity(CODE
16 more matches not shown…
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpackages/mcp/README.md67Authorization: Bearer umami_<your-api-key>CODE
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocker-compose.test.yml1# Compose stack for the API integration test suite (`pnpm test:api`).COMMENT
LOWscripts/start-docker.sh1#!/bin/shCOMMENT
LOWsrc/test/vitest.d.ts1/// <reference types="vitest/globals" />COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/lib/date.test.ts45// uses, so assertions stay robust regardless of the host timezone.COMMENT