AI Slop Code Risk Monitor

Mail-0/Zero

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

Experience email the way you want with Mail0 – the first open source email app that puts your privacy and safety first. Join the discord: https://mail0.link/discord

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Mail-0/Zero, a TypeScript project with 10,872 GitHub stars. SynthScan examined 135,256 lines of code across 600 source files, recording 108 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
10.9K
Stars
TypeScript
Language
135.3K
Lines of Code
600
Files
108
Pattern Hits
2026-10-31
Scan Date
0.01
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 3.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.6/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 5.4/100 · LOW

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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 4HIGH 0MEDIUM 3LOW 101

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

Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALapps/server/src/trpc/trpc.ts41 await ctx.c.var.auth.api.signOut({ headers: ctx.c.req.raw.headers });CODE
CRITICALapps/server/src/trpc/routes/user.ts6 const { success, message } = await ctx.c.var.auth.api.deleteUser({CODE
CRITICALapps/server/src/lib/driver/google.ts119 const response = await this.gmail.users.messages.attachments.get(CODE
CRITICALapps/server/src/lib/driver/google.ts277 const settings = await this.gmail.users.settings.sendAs.list({CODE
Over-Commented Block36 hits · 36 pts
SeverityFileLineSnippetContext
LOWscripts/docker/replace-placeholder.sh1# The MIT License (MIT)COMMENT
LOWapps/mail/app/(routes)/settings/shortcuts/page.tsx21 description={m['pages.settings.shortcuts.description']()}COMMENT
LOWapps/mail/app/(routes)/settings/shortcuts/page.tsx101 const displayKeys = formatDisplayKeys(keys);COMMENT
LOWapps/mail/app/(routes)/mail/create/page.tsx21// // Need to await searchParams in Next.js 15+COMMENT
LOWapps/mail/app/(routes)/mail/create/page.tsx41// card: 'summary_large_image',COMMENT
LOWapps/mail/config/navigation.ts121 // url: "/mail/inbox?category=social",COMMENT
LOWapps/mail/config/navigation.ts201 },COMMENT
LOWapps/mail/config/shortcuts.ts81const threadDisplayShortcuts: Shortcut[] = [COMMENT
LOWapps/mail/config/shortcuts.ts261 },COMMENT
LOWapps/mail/config/shortcuts.ts301 description: 'Exit selection mode',COMMENT
LOWapps/mail/config/shortcuts.ts321 // action: 'expandEmailView',COMMENT
LOWapps/mail/config/shortcuts.ts341 // {COMMENT
LOWapps/mail/providers/voice-provider.tsx21 startConversation: (context?: VoiceConversationContext) => Promise<void>;COMMENT
LOWapps/mail/providers/voice-provider.tsx61 setLastToolCall(null);COMMENT
LOWapps/mail/providers/voice-provider.tsx81 // setLastToolCall(null);COMMENT
LOW…ps/mail/components/context/command-palette-context.tsx701 // onClick: () => {COMMENT
LOWapps/mail/components/mail/mail-display.tsx761 // ? getListUnsubscribeAction({COMMENT
LOWapps/mail/components/create/email-composer.tsx841COMMENT
LOWapps/mail/lib/hotkeys/use-hotkey-utils.ts1// TODO: Implement shortcuts syncing and cachingCOMMENT
LOWapps/mail/lib/hotkeys/use-hotkey-utils.ts21COMMENT
LOWapps/server/src/lib/auth-providers.ts61 // clientId: env.MICROSOFT_CLIENT_ID,COMMENT
LOWapps/server/src/lib/shortcuts.ts61 // { keys: ['/'], action: 'search', type: 'single', description: 'Search', scope: 'global' },COMMENT
LOWapps/server/src/lib/shortcuts.ts121 // },COMMENT
LOWapps/server/src/lib/shortcuts.ts141 // scope: 'mail-list',COMMENT
LOWapps/server/src/lib/shortcuts.ts161 // description: 'Move to folder',COMMENT
LOWapps/server/src/lib/driver/microsoft.ts1221 // if (inReplyToHeader) inReplyTo = inReplyToHeader.value || undefined;COMMENT
LOWapps/server/src/lib/driver/microsoft.ts1301 address: rec.email,COMMENT
LOWapps/server/src/routes/agent/mcp.ts561 // },COMMENT
LOWapps/server/src/routes/agent/mcp.ts581 // ],COMMENT
LOWapps/server/src/routes/agent/mcp.ts601 // type: 'text',COMMENT
LOWapps/server/src/routes/agent/tools.ts61// const askZeroMailbox = (connectionId: string) =>COMMENT
LOWapps/server/src/routes/agent/tools.ts81// if (!threadResults.matches.length) {COMMENT
LOWapps/server/src/routes/agent/tools.ts101// execute: async ({ threadId, question }) => {COMMENT
LOWapps/server/src/routes/agent/tools.ts241// tool({COMMENT
LOWapps/server/src/routes/agent/index.ts2021 // }COMMENT
LOWapps/server/src/routes/agent/index.ts3881 // JSON.stringify({COMMENT
Fake / Example Data32 hits · 32 pts
SeverityFileLineSnippetContext
LOWapps/mail/messages/tr.json70 "placeholder": "Bir komut yazın veya arayın...",CODE
LOWapps/mail/messages/hu.json70 "placeholder": "Írj be egy parancsot vagy keress...",CODE
LOWapps/mail/messages/nl.json70 "placeholder": "Typ een opdracht of zoek...",CODE
LOWapps/mail/messages/zh_CN.json70 "placeholder": "输入命令或搜索...",CODE
LOWapps/mail/messages/ja.json70 "placeholder": "コマンドを入力するか検索...",CODE
LOWapps/mail/messages/de.json70 "placeholder": "Befehl eingeben oder suchen...",CODE
LOWapps/mail/messages/ru.json70 "placeholder": "Введите команду или поиск...",CODE
LOWapps/mail/messages/pl.json70 "placeholder": "Wpisz polecenie lub szukaj...",CODE
LOWapps/mail/messages/pt.json70 "placeholder": "Digite um comando ou pesquise...",CODE
LOWapps/mail/messages/en.json70 "placeholder": "Type a command or search...",CODE
LOWapps/mail/messages/fr.json70 "placeholder": "Tapez une commande ou recherchez...",CODE
LOWapps/mail/messages/hi.json70 "placeholder": "कोई आदेश लिखें या खोजें...",CODE
LOWapps/mail/messages/ca.json70 "placeholder": "Escriu una ordre o cerca...",CODE
LOWapps/mail/messages/ko.json70 "placeholder": "명령어 입력 또는 검색...",CODE
LOWapps/mail/messages/vi.json70 "placeholder": "Nhập lệnh hoặc tìm kiếm...",CODE
LOWapps/mail/messages/fa.json70 "placeholder": "یک دستور را تایپ کنید یا جستجو کنید...",CODE
LOWapps/mail/messages/cs.json70 "placeholder": "Napište příkaz nebo vyhledejte...",CODE
LOWapps/mail/messages/zh_TW.json70 "placeholder": "輸入指令或搜尋...",CODE
LOWapps/mail/messages/lv.json70 "placeholder": "Ieraksti komandu vai meklē...",CODE
LOWapps/mail/messages/es.json70 "placeholder": "Escriba un comando o búsqueda...",CODE
LOWapps/mail/messages/ar.json70 "placeholder": "اكتب أمرًا أو ابحث...",CODE
LOWapps/mail/lib/prompts.ts355 <example>sendEmail({ to: [{ email: "user@example.com" }], subject: "Hello", message: "Body" })</example>CODE
LOWapps/mail/lib/auth-recovery.test.ts26 'user@example.com',CODE
LOWapps/mail/lib/auth-recovery.test.ts30 expect(url.searchParams.get('login_hint')).toBe('user@example.com');CODE
LOWapps/server/src/lib/gmail-quota-auth.test.ts43 expect(governor.reserve).toHaveBeenCalledWith('user@example.com', 40, 'backfill');CODE
LOWapps/server/src/lib/gmail-quota-auth.test.ts76 expect(governor.reserve.mock.calls).toContainEqual(['user@example.com', 40, 'backfill']);CODE
LOWapps/server/src/lib/gmail-quota-auth.test.ts77 expect(governor.reserve.mock.calls).toContainEqual(['user@example.com', 1, 'foreground']);CODE
LOWapps/server/src/lib/gmail-quota-auth.test.ts96 'user@example.com',CODE
LOWapps/server/src/lib/prompts.ts484 <example>sendEmail({ to: [{ email: "user@example.com" }], subject: "Hello", message: "Body" })</example>CODE
LOWapps/server/src/lib/gmail-quota-client.test.ts71 expect(store.status('user@example.com', Date.now()).mailboxUsed).toBe(400);CODE
LOWapps/server/src/lib/gmail-quota-client.test.ts86 'user@example.com',CODE
LOWapps/server/src/lib/imap/discovery.test.ts55 'me@example.org',CODE
Hyper-Verbose Identifiers19 hits · 19 pts
SeverityFileLineSnippetContext
LOWapps/mail/config/shortcuts.ts29export function getDisplayKeysForShortcut(shortcut: Shortcut): string[] {CODE
LOWapps/mail/config/shortcuts.ts73export function enhanceShortcutsWithMapping(shortcuts: Shortcut[]): EnhancedShortcut[] {CODE
LOWapps/mail/components/ui/ai-sidebar.tsx365function useClearAiChatStateWhenDisabled() {CODE
LOWapps/mail/components/ui/chart.tsx293function getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string) {CODE
LOWapps/mail/lib/utils.ts422export function parseNaturalLanguageSearch(query: string): string {CODE
LOWapps/mail/lib/notes-utils.ts86export function borderToBackgroundColorClass(borderClass: string): string {CODE
LOWapps/mail/lib/notes-utils.ts130export function assignOrdersAfterPinnedReorder(notes: Note[]): Note[] {CODE
LOWapps/mail/lib/notes-utils.ts137export function assignOrdersAfterUnpinnedReorder(notes: Note[], pinnedNotesCount: number): Note[] {CODE
LOWapps/server/src/lib/mail-label-policy.ts26export function normalizeDurableLabelMutation(add: string[], remove: string[]) {CODE
LOWapps/server/src/lib/utils.ts214export function parseNaturalLanguageSearch(query: string): string {CODE
LOWapps/server/src/lib/assistant-forward.ts85export function materializeForwardAttachments(body: string, files: ForwardAttachment[]) {CODE
LOWapps/server/src/lib/assistant.ts171export async function bindAssistantConversation(userId: string, conversationId: string) {CODE
LOWapps/server/src/lib/assistant.ts379export async function authorizedAssistantContext(CODE
LOWapps/server/src/lib/gmail-push.ts17export function gmailSubscriptionConnection(subscription: string, projectId: string) {CODE
LOWapps/server/src/lib/chat-attachments.ts104export async function resolveAttachmentsForModel(CODE
LOWapps/server/src/lib/thread-list-summary.ts94export function repairStoredThreadSummary(CODE
LOWapps/server/src/lib/thread-list-summary.ts132export function resolveStoredThreadSummary(CODE
LOW…ver/src/lib/factories/subscription-factory.registry.ts21export function getAllRegisteredProviders(): EProviders[] {CODE
LOWapps/server/src/lib/analyze/interests.ts36export async function generateWhatUserCaresAbout(CODE
Structural Annotation Overuse8 hits · 14 pts
SeverityFileLineSnippetContext
LOWscripts/README.md65### Step 1: Create a new script fileCOMMENT
LOWscripts/README.md92### Step 2: Register the commandCOMMENT
LOWscripts/README.md113### Step 3: Run your scriptCOMMENT
LOW⚡scripts/register-elevenlabs-tools.ts500 // Step 1: List existing toolsCOMMENT
LOW⚡scripts/register-elevenlabs-tools.ts510 // Step 2: Delete existing toolsCOMMENT
LOWscripts/register-elevenlabs-tools.ts525 // Step 3: Prepare new toolsCOMMENT
LOWscripts/register-elevenlabs-tools.ts577 // Step 4: Create new toolsCOMMENT
LOWscripts/register-elevenlabs-tools.ts608 // Step 5: Update agent with tools (if agent ID provided)COMMENT
Verbosity Indicators5 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡scripts/register-elevenlabs-tools.ts500 // Step 1: List existing toolsCOMMENT
LOW⚡scripts/register-elevenlabs-tools.ts510 // Step 2: Delete existing toolsCOMMENT
LOWscripts/register-elevenlabs-tools.ts525 // Step 3: Prepare new toolsCOMMENT
LOWscripts/register-elevenlabs-tools.ts577 // Step 4: Create new toolsCOMMENT
LOWscripts/register-elevenlabs-tools.ts608 // Step 5: Update agent with tools (if agent ID provided)COMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMapps/mail/components/create/email-phrases.ts70 'Let me know if you need any clarification ',CODE
MEDIUMapps/server/src/lib/brain.fallback.prompts.ts103 <body>The mail team has sent out the 83(b) election. I've attached the proof of mailing. Let me knCODE
MEDIUMapps/server/src/lib/brain.fallback.prompts.ts177 <body>The mail team has sent out the 83(b) election. I've attached the proof of mailing. Let me knCODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWapps/mail/app/entry.server.tsx7export default async function handleRequest(CODE