AI Slop Code Risk Monitor

nicotsx/zerobyte

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

Backup automation for self-hosters. Built on top of restic

0.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nicotsx/zerobyte, a TypeScript project with 7,093 GitHub stars. SynthScan examined 283,173 lines of code across 1175 source files, recording 71 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.3 (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.3
Adjusted Signal
0.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.1K
Stars
TypeScript
Language
283.2K
Lines of Code
1.2K
Files
71
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 0.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 1.2/100 · LOW

Which changes need focused human review? 71 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 0MEDIUM 0LOW 71

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 71 distinct pattern matches across 3 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 Identifiers49 hits · 49 pts
SeverityFileLineSnippetContext
LOWapp/test/helpers/auth.ts36export async function createTestSessionWithOrgAdmin() {CODE
LOWapp/test/helpers/auth.ts44export async function createTestSessionWithGlobalAdmin() {CODE
LOWapp/test/helpers/auth.ts76export async function createTestSessionWithRegularMember() {CODE
LOWapp/server/lib/accept-language.ts3export function getLocaleFromAcceptLanguage(acceptLanguage?: string | null) {CODE
LOWapp/server/lib/auth/helpers/create-default-org.ts7export async function findMembershipWithOrganization(userId: string, organizationId?: string) {CODE
LOWapp/server/lib/auth/helpers/create-default-org.ts42export async function buildDefaultOrganizationData(CODE
LOWapp/server/lib/auth/helpers/create-default-org.ts62async function createDefaultOrganizationMembership(user: User) {CODE
LOWapp/server/lib/functions/current-permissions.ts16export function getCurrentPermissionsOptions(CODE
LOWapp/server/modules/auth/__tests__/auth.api-keys.test.ts78async function createDesktopRuntimeSession() {CODE
LOWapp/server/modules/sso/sso-configuration.ts51export function getSsoCallbackDiagnostics(request: Request, providerId: string) {CODE
LOWapp/server/modules/sso/sso-configuration.ts97export function checkSsoProviderDiscovery(CODE
LOWapp/server/modules/sso/sso.integration.ts150async function resolveOrgMembershipOrThrow(userId: string, ctx: GenericEndpointContext | null) {CODE
LOW…odules/sso/middlewares/validate-registration-issuer.ts5export async function validateSsoRegistrationIssuer(ctx: AuthMiddlewareContext) {CODE
LOW…/modules/sso/middlewares/trust-provider-for-linking.ts4export async function resolveTrustedProvidersForRequest(request?: Request): Promise<string[]> {CODE
LOW…s/sso/middlewares/__tests__/require-invitation.test.ts21function createMockSsoCallbackContext(providerId: string): GenericEndpointContext {CODE
LOWapp/server/modules/sso/utils/sso-context.ts13function extractProviderIdFromPath(path: string): string | null {CODE
LOWapp/server/modules/sso/utils/sso-context.ts35export function extractProviderIdFromContext(ctx?: GenericEndpointContext | null) {CODE
LOW…p/server/modules/sso/__tests__/sso.integration.test.ts10function createMockSsoCallbackContext(providerId: string, cookie?: string): GenericEndpointContext {CODE
LOW…p/server/modules/sso/__tests__/sso.integration.test.ts47async function createUserWithCredentialAccount(email: string, username: string) {CODE
LOWapp/server/modules/backups/helpers/backup-lifecycle.ts116export async function startPostBackupMirrorSyncs(CODE
LOWapp/lib/datetime.ts80function formatConfiguredDateWithMonth(date: Date, options: DateFormatOptions) {CODE
LOWapp/lib/datetime.ts123function formatDateTimeWithSeconds(date: DateInput, options: DateFormatOptions = {}): string {CODE
LOWapp/lib/sso-provider-identity.ts13export function isSameIssuerExceptTrailingSlash(currentIssuer: string, nextIssuer: string) {CODE
LOWapp/lib/sso-provider-identity.ts20export function getLinkedSsoProviderEditError(CODE
LOWapp/client/components/layout.tsx113export function DashboardRecoveryKeyReminder() {CODE
LOWapp/client/components/ui/chart.tsx293function getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string) {CODE
LOWapp/client/modules/settings/settings-scope.ts30export function getSettingsScopeAvailability(permissions: SettingsPermissionChecker): SettingsScopeAvailability {CODE
LOWapp/client/modules/settings/settings-scope.ts51export function getVisibleSettingsScopeNavigationItems(availability: SettingsScopeAvailability) {CODE
LOW…s/settings/components/recovery-key-download-dialog.tsx14export function RecoveryKeyDownloadDialog({ hasPassword, passwordAuthSupported }: Props) {CODE
LOW…ttings/components/password-protected-action-dialog.tsx42export function PasswordProtectedActionDialog({CODE
LOW…ient/modules/settings/components/instance-settings.tsx91function RegistrationSettingsSection() {CODE
LOW…ient/modules/settings/components/instance-settings.tsx126function PasswordLoginSettingsSection({ showDivider }: { showDivider: boolean }) {CODE
LOW…es/settings/components/pending-invitations-section.tsx25export function PendingInvitationsSection({ initialInvitations, userEmail }: Props) {CODE
LOWapp/client/modules/settings/routes/settings.tsx38function OrganizationDetailsSection() {CODE
LOWapp/client/modules/auth/routes/login.tsx47function isPasskeyVerificationFailure(error: PasskeySignInError | null) {CODE
LOWapp/client/modules/auth/routes/login.tsx51function hasSkippedRecoveryKeyDownload(userId: string) {CODE
LOW…nt/modules/sso/components/edit-sso-provider-dialog.tsx29function getUsableDiscoveredIssuer(provider: SsoProviderDetails, discovery?: SsoDiscoveryResult) {CODE
LOW…ages/core/src/restic/helpers/validate-custom-params.ts86function collectCustomResticParams(CODE
LOW…ages/core/src/restic/helpers/validate-custom-params.ts154export function validateCustomResticParams(params: string[]): string | null {CODE
LOW…ages/core/src/restic/helpers/validate-custom-params.ts160export function getCopyCompatibleCustomResticParams(params: string[]): string[] {CODE
LOWe2e/0002-backup-restore.spec.ts155async function selectRepositoryDirectory(page: Page, directoryPath: string) {CODE
LOWe2e/0002-backup-restore.spec.ts248async function waitForRepositorySnapshots(page: Page, repositoryShortId: string, expectedCount: number) {CODE
LOWe2e/0002-backup-restore.spec.ts282async function importExistingLocalRepository(CODE
LOWe2e/0004-mirror-sync.spec.ts99async function waitForMirrorSyncComplete(page: Page, backupShortId: string, mirrorRepoShortId: string) {CODE
LOWe2e/0003-oidc.spec.ts183async function getInvitationStatusByEmail(page: Page, email: string) {CODE
LOWe2e/0003-oidc.spec.ts195async function verifyInvitationAsLocalUserWithSso(CODE
LOWe2e/0003-oidc.spec.ts392async function expectInviteOnlyLoginError(page: Page) {CODE
LOWe2e/0003-oidc.spec.ts398async function expectAccountLinkRequiredLoginError(page: Page) {CODE
LOWe2e/helpers/browser-errors.ts68async function captureFirstPageErrorSnapshot(CODE
Fake / Example Data20 hits · 22 pts
SeverityFileLineSnippetContext
LOW…s/sso/middlewares/__tests__/require-invitation.test.ts76 await expect(requireSsoInvitation("user@example.com", null)).rejects.toThrow("Missing SSO context");CODE
LOW…s/sso/middlewares/__tests__/require-invitation.test.ts83 await expect(requireSsoInvitation("user@example.com", ctx)).rejects.toThrow("Missing providerId");CODE
LOW⚡…s/sso/middlewares/__tests__/require-invitation.test.ts110 await expect(requireSsoInvitation("user@example.com", ctx)).rejects.toThrow("must be invited");CODE
LOW⚡…s/sso/middlewares/__tests__/require-invitation.test.ts119 email: "user@example.com",CODE
LOW⚡…s/sso/middlewares/__tests__/require-invitation.test.ts128 await expect(requireSsoInvitation("user@example.com", ctx)).rejects.toThrow("must be invited");CODE
LOW⚡…s/sso/middlewares/__tests__/require-invitation.test.ts137 email: "user@example.com",CODE
LOW…s/sso/middlewares/__tests__/require-invitation.test.ts151 await expect(requireSsoInvitation("user@example.com", ctx)).rejects.toThrow("SSO provider not found");CODE
LOW…p/server/modules/sso/__tests__/sso.integration.test.ts168 name: "Acme Corp",CODE
LOW…p/server/modules/sso/__tests__/sso.integration.test.ts318 name: "Acme Corp",CODE
LOW…fications/__tests__/notification-target-policy.test.ts12 to: ["admin@example.com"],CODE
LOW…/notifications/__tests__/notifications.service.test.ts134 to: ["admin@example.com"],CODE
LOW…ent/modules/settings/components/create-user-dialog.tsx107 placeholder="John Doe"CODE
LOW…fications/components/notification-forms/email-form.tsx53 <Input {...field} placeholder="user@example.com" />CODE
LOWe2e/0007-sso-reverse-proxy.proxy.spec.ts38 body: JSON.stringify({ email: "user@example.com", role: "member" }),CODE
LOWe2e/0007-sso-reverse-proxy.proxy.spec.ts80 await ssoPage.locator('input[name="username"]').fill("user@example.com");CODE
LOWe2e/0003-oidc.spec.ts23const uninvitedUserEmail = "admin@example.com";CODE
LOWe2e/0003-oidc.spec.ts24const invitedUserEmail = "user@example.com";CODE
LOWe2e/0001-auth.setup.ts47 await page.getByRole("textbox", { name: "Email" }).fill("test@test.com");CODE
LOWe2e/0001-auth.setup.ts93 await page.getByRole("textbox", { name: "Email" }).fill("test@test.com");CODE
LOWe2e/helpers/account.ts14 await page.getByRole("textbox", { name: "Email" }).fill("test@test.com");CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWplaywright.config.ts41 args: ["--host-rules=MAP zerobyte.example.com 127.0.0.1, MAP tinyauth.example.com 127.0.0.1"],COMMENT
LOWplaywright.config.ts61 // name: 'Mobile Safari',COMMENT