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.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 80 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 76 finding(s).
Which changes need focused human review? 81 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/mcp/src/http.ts | 27 | export function createUmamiMcpHttpHandler( | CODE |
| LOW | src/app/api/share/[slug]/route.ts | 81 | async function filterBoardEntityIdsForShare( | CODE |
| LOW | src/app/(main)/boards/useBoardEntityAvailability.ts | 4 | export function useBoardEntityAvailability(entityType?: BoardEntityType, entityId?: string) { | CODE |
| LOW | …app/(main)/boards/[boardId]/BoardComponentRenderer.tsx | 6 | function BoardComponentRendererComponent({ | CODE |
| LOW | …n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx | 303 | function getScreenWidthBucketWidth(viewportW: number) { | CODE |
| LOW | …n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx | 394 | function getDefaultScreenWidthBucket(buckets: ScreenWidthBucket[]) { | CODE |
| LOW | …n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx | 418 | function getNormalizedBucketPoints(points: HeatmapPoint[], bucket: ScreenWidthBucket) { | CODE |
| LOW | …n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx | 451 | function useSelectedScreenWidthBucket(screenWidthBuckets: ScreenWidthBucket[]) { | CODE |
| LOW | …n)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx | 479 | function getScrollScreenWidthMetrics(scroll: HeatmapResult['scroll'] | undefined) { | CODE |
| LOW | src/queries/prisma/website.ts | 20 | async function deleteWebsiteDependentData(tx: any, websiteId: string) { | CODE |
| LOW | src/queries/prisma/website.ts | 122 | export async function getAllUserWebsitesIncludingTeamAccess( | CODE |
| LOW | src/queries/sql/getChannelExpandedMetrics.ts | 32 | export async function getChannelExpandedMetrics( | CODE |
| LOW | src/queries/sql/sessions/getSessionDataArraySeries.ts | 9 | export async function getSessionDataArraySeries( | CODE |
| LOW | …c/queries/sql/sessions/getSessionDataPropertySeries.ts | 9 | export async function getSessionDataPropertySeries( | CODE |
| LOW | src/queries/sql/sessions/getSessionDataActivityStats.ts | 9 | export async function getSessionDataActivityStats( | CODE |
| LOW | src/queries/sql/sessions/getSessionDataNumericSeries.ts | 9 | export async function getSessionDataNumericSeries( | CODE |
| LOW | src/queries/sql/sessions/getSessionExpandedMetrics.ts | 28 | export async function getSessionExpandedMetrics( | CODE |
| LOW | src/queries/sql/sessions/getSessionDataNumericStats.ts | 9 | export async function getSessionDataNumericStats( | CODE |
| LOW | src/queries/sql/heatmap/getHeatmap.ts | 684 | function pickScrollSnapshotViewport( | CODE |
| LOW | src/queries/sql/heatmap/getHeatmap.ts | 753 | function getRelationalHeatmapPathFilterContext(filters: QueryFilters) { | CODE |
| LOW | src/queries/sql/heatmap/getHeatmap.ts | 813 | function getClickhouseHeatmapPathFilterContext(filters: QueryFilters) { | CODE |
| LOW | src/queries/sql/heatmap/getHeatmap.ts | 869 | function getRelationalHeatmapFilterContext( | CODE |
| LOW | src/queries/sql/heatmap/getHeatmap.ts | 910 | function getClickhouseHeatmapFilterContext( | CODE |
| LOW | src/queries/sql/journeys/getJourney.ts | 250 | function combineSequentialDuplicates(array: any) { | CODE |
| LOW | src/queries/sql/events/getEventDataPropertySeries.ts | 9 | export async function getEventDataPropertySeries( | CODE |
| LOW | src/queries/sql/events/getEventDataNumericSeries.ts | 8 | export async function getEventDataNumericSeries( | CODE |
| LOW | src/queries/sql/pageviews/getPageviewExpandedMetrics.ts | 28 | export async function getPageviewExpandedMetrics( | CODE |
| LOW | src/queries/sql/pageviews/getPageviewExpandedMetrics.ts | 228 | export function toClickHouseGroupedReferrer( | CODE |
| LOW | src/queries/sql/pageviews/getPageviewExpandedMetrics.ts | 244 | export function toPostgresGroupedReferrer( | CODE |
| LOW | src/openapi/coverage.ts | 20 | function getExpectedPathParameters(path: string) { | CODE |
| LOW | src/openapi/coverage.ts | 24 | function getContractPathParameters(contract: ApiOperationContract) { | CODE |
| LOW | src/permissions/share.ts | 40 | function shareTokenIncludesWebsite(auth: Auth | null | undefined, websiteId: string) { | CODE |
| LOW | src/permissions/share.ts | 88 | export async function canViewSharedWebsiteFilters( | CODE |
| LOW | src/permissions/share.ts | 101 | export async function canViewAuthenticatedWebsite( | CODE |
| LOW | src/permissions/team.ts | 94 | export async function canEnforceTwoFactorAuthForTeam({ user }: Auth, teamId: string) { | CODE |
| LOW | src/permissions/board.ts | 15 | function getExpectedBoardReportType(componentType?: string) { | CODE |
| LOW | src/permissions/board.ts | 21 | async function isValidBoardReportReference( | CODE |
| LOW | src/permissions/user.ts | 39 | export async function canEnforceTwoFactorAuthForEveryone({ user }: Auth) { | CODE |
| LOW | src/permissions/user.ts | 43 | export async function canEnforceTwoFactorAuthForUser({ user }: Auth) { | CODE |
| LOW | src/components/input/SavedDefinitionEditButton.tsx | 20 | export function SavedDefinitionEditButton({ | CODE |
| LOW | src/components/charts/DistributionBarChart.tsx | 39 | function DistributionBarChartComponent({ | CODE |
| LOW | …components/hooks/queries/useTwoFactorVerifyMutation.ts | 10 | export function useTwoFactorVerifyMutation() { | CODE |
| LOW | …omponents/hooks/queries/usePropertyArraySeriesQuery.ts | 8 | export function usePropertyArraySeriesQuery( | CODE |
| LOW | …ponents/hooks/queries/usePropertyNumericSeriesQuery.ts | 8 | export function usePropertyNumericSeriesQuery( | CODE |
| LOW | …ents/hooks/queries/useSessionDataActivityStatsQuery.ts | 7 | export function useSessionDataActivityStatsQuery( | CODE |
| LOW | …mponents/hooks/queries/usePropertyNumericStatsQuery.ts | 8 | export function usePropertyNumericStatsQuery( | CODE |
| LOW | …omponents/hooks/queries/useWebsiteSessionStatsQuery.ts | 5 | export function useWebsiteSessionStatsQuery(websiteId: string, options?: Record<string, string>) { | CODE |
| LOW | …omponents/hooks/queries/useEventDataPropertiesQuery.ts | 6 | export function useEventDataPropertiesQuery(websiteId: string, options?: ReactQueryOptions) { | CODE |
| LOW | …omponents/hooks/queries/useWebsiteEventsSeriesQuery.ts | 6 | export function useWebsiteEventsSeriesQuery( | CODE |
| LOW | …onents/hooks/queries/useWebsiteExpandedMetricsQuery.ts | 16 | export function useWebsiteExpandedMetricsQuery( | CODE |
| LOW | …components/hooks/queries/usePerformanceMetricsQuery.ts | 6 | export function usePerformanceMetricsQuery( | CODE |
| LOW | src/components/hooks/queries/useTwoFactorUserStatus.ts | 3 | export function useTwoFactorUserStatusQuery(userId: string) { | CODE |
| LOW | …/components/hooks/queries/useSessionDataValuesQuery.ts | 6 | export function useSessionDataValuesQuery( | CODE |
| LOW | …/components/hooks/queries/useWebsiteListChartsQuery.ts | 32 | export function useWebsiteListChartsQuery(websiteIds: string[]) { | CODE |
| LOW | …components/hooks/queries/usePropertyDateSeriesQuery.ts | 8 | export function usePropertyDateSeriesQuery( | CODE |
| LOW | …components/hooks/queries/useWebsiteAnnotationsQuery.ts | 6 | export function useWebsiteAnnotationsQuery( | CODE |
| LOW | …ponents/hooks/queries/useSessionDataPropertiesQuery.ts | 7 | export function useSessionDataPropertiesQuery( | CODE |
| LOW | src/lib/prisma.ts | 461 | function getEventPropertyFilterQuery( | CODE |
| LOW | src/lib/prisma.ts | 587 | function getSessionPropertyFilterQuery( | CODE |
| LOW | src/lib/boards.ts | 129 | export function getResolvedComponentEntity( | CODE |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/mcp/README.md | 67 | Authorization: Bearer umami_<your-api-key> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.test.yml | 1 | # Compose stack for the API integration test suite (`pnpm test:api`). | COMMENT |
| LOW | scripts/start-docker.sh | 1 | #!/bin/sh | COMMENT |
| LOW | src/test/vitest.d.ts | 1 | /// <reference types="vitest/globals" /> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/lib/date.test.ts | 45 | // uses, so assertions stay robust regardless of the host timezone. | COMMENT |