AI Slop Code Risk Monitor

ProtonMail/WebClients

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

Monorepo hosting the proton web clients

0.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ProtonMail/WebClients, a TypeScript project with 5,670 GitHub stars. SynthScan examined 5,653,664 lines of code across 19537 source files, recording 1661 pattern matches distributed across 17 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
5.7K
Stars
TypeScript
Language
5.7M
Lines of Code
19.5K
Files
1.7K
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.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 1.0/100 · LOW

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

PR Review Velocity Impact 1.8/100 · LOW

Which changes need focused human review? 1661 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 23HIGH 6MEDIUM 74LOW 1558

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 1661 distinct pattern matches across 17 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 Identifiers913 hits · 952 pts
SeverityFileLineSnippetContext
LOWpackages/app-context/notifications/manager.tsx11function createNotificationManager(CODE
LOWpackages/metrics/scripts/generate-metrics.ts71function getVersionInMetricsClassByName(metricsClass: string, metricName: string) {CODE
LOWpackages/chargebee/lib/payment-intent.ts3export function isCheckoutComPaymentIntent(paymentIntent: PaymentIntent): boolean {CODE
LOW…ages/chargebee/lib/getCanMakePaymentsWithActiveCard.ts11export async function getCanMakePaymentsWithActiveCard(): Promise<boolean> {CODE
LOWpackages/chargebee/lib/types.ts130export function isPaypalAuthorizedMessage(obj: any): obj is PaypalAuthorizedMessage {CODE
LOWpackages/chargebee/lib/types.ts145export function isMessageBusResponseFailure(obj: any): obj is MessageBusResponseFailure {CODE
LOWpackages/chargebee/lib/types.ts168export function isThreeDsChallengeMessage(obj: any): obj is ThreeDsChallengeMessage {CODE
LOWpackages/chargebee/lib/types.ts223export function isSavedCardVerificationSuccessMessage(obj: any): obj is SavedCardVerificationSuccessMessage {CODE
LOWpackages/chargebee/lib/types.ts227export function isSavedCardVerificationFailureMessage(obj: any): obj is SavedCardVerificationFailureMessage {CODE
LOWpackages/chargebee/lib/types.ts302export function isApplePayAuthorizedMessage(obj: any): obj is ApplePayAuthorizedMessage {CODE
LOWpackages/chargebee/lib/types.ts330export function isApplePayCancelledMessage(obj: any): obj is ApplePayCancelledMessage {CODE
LOWpackages/chargebee/lib/types.ts351export function isGooglePayAuthorizedMessage(obj: any): obj is GooglePayAuthorizedMessage {CODE
LOWpackages/chargebee/lib/types.ts371export function isGooglePayClickedMessage(obj: any): obj is GooglePayClickedMessage {CODE
LOWpackages/chargebee/lib/types.ts379export function isGooglePayCancelledMessage(obj: any): obj is GooglePayCancelledMessage {CODE
LOWpackages/chargebee/lib/css-variables.ts28export function sanitizeChargebeeCssVariables(cssVariablesInput: Record<string, string>): ChargebeeCssVariables {CODE
LOWpackages/chargebee/src/script-diagnostics.ts84export function summarizeScriptLoadErrors(): { scriptLoadErrors: string | null; scriptLoadErrorCount: number } {CODE
LOWpackages/chargebee/src/main.ts18function isThrownByBrowserExtension({ filename }: ErrorEvent) {CODE
LOWpackages/chargebee/src/message-bus.ts117function isSetPaypalPaymentIntentEvent(event: any): event is SetPaypalPaymentIntentEvent {CODE
LOWpackages/chargebee/src/message-bus.ts243function isSetApplePayPaymentIntentEvent(event: any): event is SetApplePayPaymentIntentEvent {CODE
LOWpackages/chargebee/src/message-bus.ts258function isGetCanMakePaymentsWithActiveCardEvent(event: any): event is GetCanMakePaymentsWithActiveCardEvent {CODE
LOWpackages/chargebee/src/message-bus.ts275function isSetGooglePayPaymentIntentEvent(event: any): event is SetGooglePayPaymentIntentEvent {CODE
LOWpackages/chargebee/src/message-bus.ts296function isSetIdealPaymentIntentEvent(event: any): event is SetIdealPaymentIntentEvent {CODE
LOWpackages/chargebee/src/chargebee-entry.ts276 function validateFormWithoutRendering(): FormValidationErrors {CODE
LOWpackages/chargebee/src/chargebee-entry.ts975async function setConfigurationAndCreateChargebee(configuration: CbIframeConfig) {CODE
LOWpackages/chargebee/src/configuration.ts47function getConfigWithoutExtraProperties(CODE
LOW…kages/payments/postal-codes/postal-codes-validation.ts48function validateCanadianPostalCode(stateCode: string, postalCode: string): boolean {CODE
LOW…kages/payments/postal-codes/postal-codes-validation.ts69function getStateCodeByUSPostalCode(postalCode: string): string | undefined {CODE
LOW…kages/payments/postal-codes/postal-codes-validation.ts76function getStateCodeByCanadianPostalCode(postalCode: string): string | undefined {CODE
LOWpackages/payments/postal-codes/format.ts7function normalizeCanadianPostalCode(postalCode: string): string {CODE
LOWpackages/payments/postal-codes/default-postal-codes.ts85export function getDefaultPostalCodeByStateCode(CODE
LOWpackages/payments/core/helpers.ts17function isCurrencyConversionInvoice(invoice: Pick<Invoice, 'ID'>): boolean {CODE
LOWpackages/payments/core/errors.ts43export function backendBillingAddressFieldError(status: BillingAddressFieldStatus | undefined): string {CODE
LOWpackages/payments/core/errors.ts71export function hasWrongBillingAddressError(estimation: SubscriptionEstimation | undefined): boolean {CODE
LOWpackages/payments/core/errors.ts75export function getWrongBillingAddressValidationResult(CODE
LOW⚡packages/payments/core/type-guards.ts68export function isSavedPaymentMethodIdeal(obj: SavedPaymentMethod | undefined): obj is PaymentMethodIdeal {CODE
LOW⚡packages/payments/core/type-guards.ts72export function isSavedPaymentMethodApplePay(obj: SavedPaymentMethod | undefined): obj is PaymentMethodApplePay {CODE
LOW⚡packages/payments/core/type-guards.ts76export function isSavedPaymentMethodGooglePay(obj: SavedPaymentMethod | undefined): obj is PaymentMethodGooglePay {CODE
LOWpackages/payments/core/currencies.ts18export function getCurrencyFormattingConfigWithoutFallback(currency: Currency): CurrencyFormattingConfig | undefined {CODE
LOWpackages/payments/core/currencies.ts45export function getCurrencyFormattingConfig(currency: Currency): CurrencyFormattingConfig {CODE
LOWpackages/payments/core/currencies.ts93export function getDefaultMainCurrencyByCountryCode(countryCode: string | undefined): Currency {CODE
LOWpackages/payments/core/currencies.ts128function isNewBatchRegionalCurrency(currency: Currency | undefined): boolean {CODE
LOW⚡packages/payments/core/currencies.ts149export function mapCountryToRegionalCurrency(countryCode: string): Currency | undefined {CODE
LOW⚡packages/payments/core/currencies.ts153export function mapRegionalCurrencyToCountry(currency: Currency): string | undefined {CODE
LOW⚡packages/payments/core/currencies.ts162function getMaybeRegionalPlansCurrency(CODE
LOWpackages/payments/core/currencies.ts189export function getSupportedRegionalCurrencies({CODE
LOWpackages/payments/core/sepa.ts24function checkIfIbanCountryRequiresAddress(ibanCountryCode: string | undefined): boolean {CODE
LOWpackages/payments/core/computeOptimisticCheckResult.ts7export function computeOptimisticCheckResult(CODE
LOWpackages/payments/core/secondary-estimation.ts37export async function runSecondarySubscriptionEstimation({CODE
LOWpackages/payments/core/optimisticSubscriptionMode.ts10export function computeOptimisticSubscriptionMode(CODE
LOW⚡packages/payments/core/formatPaymentMethods.ts21function isSavedPaymentMethodApplePay(obj: any): obj is PaymentMethodApplePay {CODE
LOW⚡packages/payments/core/formatPaymentMethods.ts25function isSavedPaymentMethodGooglePay(obj: any): obj is PaymentMethodGooglePay {CODE
LOW⚡packages/payments/core/formatPaymentMethods.ts29function isSavedPaymentMethodPaypal(obj: any): obj is PaymentMethodPaypal {CODE
LOWpackages/payments/core/amount-limits.ts32export function getMinPaypalAmountInhouse(currency: Currency): number {CODE
LOWpackages/payments/core/amount-limits.ts38export function getMinPaypalAmountChargebee(currency: Currency): number {CODE
LOWpackages/payments/core/payment-status.ts4export function normalizePaymentMethodStatus(status: PaymentStatus): PaymentStatus {CODE
LOWpackages/payments/core/planIDs.ts152function getScribeSeatsCoveredByLumo(planIDs: PlanIDs, plans: Plan[]): number {CODE
LOWpackages/payments/core/planIDs.ts483export function planIDsPositiveDifference(oldPlanIDs: PlanIDs, newPlanIDs: PlanIDs): PlanIDs {CODE
LOWpackages/payments/core/countries.ts270export function isCountryWithRequiredPostalCode(countryCode: string): countryCode is CountryWithRequiredPostalCode {CODE
LOWpackages/payments/core/trials.ts51export function getTrialInfoForSingleSubscription(CODE
LOW…ages/payments/core/computeOptimisticRenewProperties.ts6export function computeOptimisticRenewProperties(params: Parameters<typeof getOptimisticCheckResult>[0]): {CODE
853 more matches not shown…
Fake / Example Data362 hits · 399 pts
SeverityFileLineSnippetContext
LOW…enderer/src/helpers/transforms/transformEscape.test.ts478 expect(inputElement?.hasAttribute('placeholder')).toBe(false);CODE
LOW…enderer/src/helpers/transforms/transformEscape.test.ts594 expect(textareaElement?.hasAttribute('placeholder')).toBe(false);CODE
LOWpackages/payments/core/api/api.ts540 ID: `dummy-id-${subscription.ID}`,CODE
LOW⚡packages/atoms/src/Card/Card.test.tsx7 const { container } = render(<Card>Lorem ipsum dolor sit amet consectetur adipisicing elit.</Card>);CODE
LOW⚡packages/atoms/src/Card/Card.test.tsx7 const { container } = render(<Card>Lorem ipsum dolor sit amet consectetur adipisicing elit.</Card>);CODE
LOW⚡packages/atoms/src/Card/Card.test.tsx16 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOW⚡packages/atoms/src/Card/Card.test.tsx16 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOW⚡packages/atoms/src/Card/Card.test.tsx25 const { container } = render(<Card rounded>Lorem ipsum dolor sit amet consectetur adipisicing elit.</Card>);CODE
LOW⚡packages/atoms/src/Card/Card.test.tsx25 const { container } = render(<Card rounded>Lorem ipsum dolor sit amet consectetur adipisicing elit.</Card>);CODE
LOWpackages/atoms/src/DashboardCard/DashboardCard.test.tsx7 const { container } = render(<DashboardCard>Lorem ipsum</DashboardCard>);CODE
LOW⚡packages/atoms/src/UserAvatar/UserAvatar.test.tsx16 render(<UserAvatar name="John Doe" />);CODE
LOW⚡packages/atoms/src/UserAvatar/UserAvatar.test.tsx24 render(<UserAvatar name="John Doe" size={UserAvatarSizeEnum.Small} />);CODE
LOW⚡packages/atoms/src/UserAvatar/UserAvatar.test.tsx30 render(<UserAvatar name="John Doe" size={UserAvatarSizeEnum.Medium} />);CODE
LOWpackages/atoms/src/UserAvatar/UserAvatar.test.tsx42 render(<UserAvatar name="John Doe" color={{ hue: 180 }} />);CODE
LOWpackages/atoms/src/UserAvatar/UserAvatar.test.tsx48 render(<UserAvatar name="John Doe" color={{ hsl: 'hsl(120, 100%, 50%)' }} />);CODE
LOWpackages/calendar/calendars/listener.test.ts208 Email: 'foo@bar.com',CODE
LOW…ages/drive-store/store/_links/useLinksActions.test.tsx179 mockGetShareCreatorKeys.mockImplementation(() => ({ privateKey: {}, address: { Email: 'test@test.com' } }));CODE
LOW…s/components/Form/Field/ExtraFieldGroup/ExtraField.tsx26 Omit<BaseTextFieldProps & BaseTextAreaFieldProps, 'field' | 'placeholder' | 'error'> & {CODE
LOWpackages/pass/components/Item/Login/Login.view.spec.tsx33 const itemEmail = 'user@example.com';CODE
LOW⚡packages/pass/hooks/identity/useIdentityContent.spec.ts24 content.set('fullName', 'John Doe');CODE
LOW⚡packages/pass/hooks/identity/useIdentityContent.spec.ts32 { name: 'Personal', fields: [{ ...MOCK_FIELDS.fullName, value: 'John Doe' }], customFields: [] },CODE
LOW⚡packages/pass/hooks/identity/useIdentityContent.spec.ts41 content.set('fullName', 'John Doe');CODE
LOWpackages/pass/hooks/identity/useIdentityContent.spec.ts59 content.set('fullName', 'John Doe');CODE
LOWpackages/pass/hooks/identity/useIdentityContent.spec.ts74 fields: [{ ...MOCK_FIELDS.fullName, value: 'John Doe' }],CODE
LOWpackages/pass/hooks/identity/useIdentityContent.ts13type IdentitySectionField = Omit<IdentityFormField, 'name' | 'placeholder'> & { value: string; hidden?: boolean };CODE
LOWpackages/pass/hooks/identity/useIdentityForm.spec.ts25 content.set('fullName', 'John Doe');CODE
LOW⚡packages/pass/lib/auth/store.utils.spec.ts5 const result = decodeUserData(encodeUserData('user@example.com', 'John Doe'));CODE
LOW⚡packages/pass/lib/auth/store.utils.spec.ts5 const result = decodeUserData(encodeUserData('user@example.com', 'John Doe'));CODE
LOW⚡packages/pass/lib/auth/store.utils.spec.ts6 expect(result.PrimaryEmail).toBe('user@example.com');CODE
LOW⚡packages/pass/lib/auth/store.utils.spec.ts7 expect(result.DisplayName).toBe('John Doe');CODE
LOWpackages/pass/lib/search/match-items.spec.ts79 cardholderName: 'John Doe',CODE
LOWpackages/pass/lib/search/match-items.spec.ts257 { key: 'card item', search: ['John Doe'], expected: [items[2]] },CODE
LOWpackages/pass/lib/items/item.utils.spec.ts270 login1.get('content').set('itemEmail', 'user@example.com');CODE
LOWpackages/pass/lib/items/item.utils.spec.ts290 expect(filterItemsByUserIdentifier('user@example.com')(items)).toEqual([items[0]]);CODE
LOWpackages/pass/lib/items/item.utils.spec.ts315 expect(filterItemsByUserIdentifier('user@example.com')(items)).toEqual([]);CODE
LOWpackages/pass/lib/items/item.utils.spec.ts482 identity.get('content').set('fullName', 'John Doe');CODE
LOWpackages/pass/lib/items/item.utils.spec.ts496 fullName: 'John Doe',CODE
LOWpackages/pass/lib/items/item.utils.spec.ts600 cardholderName: 'John Doe',CODE
LOW…ort/providers/protonpass/protonpass.csv.reader.spec.ts122 expect(creditCardItem.content.cardholderName).toEqual('John Doe');CODE
LOW…ort/providers/protonpass/protonpass.csv.reader.spec.ts172 expect(creditCardItem.content.cardholderName).toEqual('John Doe');CODE
LOW…ort/providers/protonpass/protonpass.csv.reader.spec.ts224 expect(creditCardItem.content.cardholderName).toEqual('John Doe');CODE
LOW…ass/lib/import/providers/1password/1pux.reader.spec.ts328 attrs: { accountName: 'test', name: 'Test', email: 'test@test.com', domain: 'test.com' },CODE
LOWpackages/pass/lib/import/helpers/csv.reader.spec.ts12 { id: '1', name: 'John Doe' },CODE
LOWpackages/pass/lib/import/helpers/csv.reader.spec.ts13 { id: '2', name: 'Jane Doe' },CODE
LOWpackages/pass/lib/import/helpers/csv.reader.spec.ts25 { id: '1', name: 'John Doe', age: '20' },CODE
LOWpackages/pass/lib/import/helpers/csv.reader.spec.ts26 { id: '2', name: 'Jane Doe', age: '21' },CODE
LOWpackages/pass/lib/import/helpers/csv.reader.spec.ts53 { id: '1', name: 'John Doe' },CODE
LOWpackages/pass/lib/import/helpers/report.spec.ts19 email: 'user@example.com',CODE
LOWpackages/pass/lib/import/helpers/report.spec.ts28 userIdentifier: 'user@example.com',CODE
LOW…PrepareOAuth/hooks/useStepPrepareOAuth.helpers.test.ts31 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean m',CODE
LOW…PrepareOAuth/hooks/useStepPrepareOAuth.helpers.test.ts31 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean m',CODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1045 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1045 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1054SUMMARY:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore maCODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1054SUMMARY:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore maCODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1055DESCRIPTION:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolorCODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1055DESCRIPTION:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolorCODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1056LOCATION:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW⚡packages/shared/tests/calendar/import.spec.ts1056LOCATION:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOW…kages/shared/tests/keys/reactivatedAddressKeys.spec.ts24 const address1 = 'test@test.com';CODE
302 more matches not shown…
Hallucination Indicators23 hits · 270 pts
SeverityFileLineSnippetContext
CRITICALpackages/pass/lib/items/item.requests.ts136 MailboxIDs: item.extraData.alias.extraData.mailboxes.map(({ id }) => id),CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts142 expect(h.bridge.reportRunStatus.mock.calls.map(([call]) => call.status)).toEqual(['accepted', 'running']);CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts147 expect(h.bridge.reportRunStatus.mock.calls.map(([call]) => call.status)).toEqual([CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts183 expect(h.bridge.reportRunStatus.mock.calls.every(([call]) => call.connectionId === 'connection-2')).toBe(true);CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts281 expect(h.bridge.reportRunStatus.mock.calls.map(([call]) => call.status)).toEqual(['accepted', 'running']);CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts295 expect(h.bridge.getPendingRuns.mock.calls.some(([call]) => call.connectionId === 'old')).toBe(false);CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts339 expect(h.bridge.reportRunStatus.mock.calls.map(([request]) => request.status)).toEqual(['skipped']);CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts381 expect(h.runExecutor.claim.mock.calls.filter(([run]) => run.runId === pendingRun.runId)).toHaveLength(2);CODE
CRITICAL…umo/src/app/services/schedules/ScheduleService.test.ts383 expect(h.bridge.reportRunStatus.mock.calls.every(([call]) => call.runId === second.runId)).toBe(true);CODE
CRITICAL⚡…extension/src/__mocks__/webextension-polyfill/index.ts88 browser.privacy.services.autofillAddressEnabled.get.mockClear();CODE
CRITICAL⚡…extension/src/__mocks__/webextension-polyfill/index.ts89 browser.privacy.services.autofillAddressEnabled.set.mockClear();CODE
CRITICAL⚡…extension/src/__mocks__/webextension-polyfill/index.ts90 browser.privacy.services.passwordSavingEnabled.get.mockClear();CODE
CRITICAL⚡…extension/src/__mocks__/webextension-polyfill/index.ts91 browser.privacy.services.passwordSavingEnabled.set.mockClear();CODE
CRITICAL…s/pass-extension/src/app/worker/services/activation.ts241 const session: Partial<AuthSession> = fromClientApp ? ctx.service.auth.config.authStore.getSession() : {};CODE
CRITICAL…/worker/services/auth/auth.service.integration.spec.ts66 const listeners = browser.alarms.onAlarm.addListener.mock.calls.map(([fn]) => fn);CODE
CRITICAL…s-extension/src/app/worker/services/auth/auth.utils.ts26 const when = await ctx.service.auth.alarms.autoLockAlarm.when();CODE
CRITICAL…ions/pass-extension/src/tests/offline-fallback.spec.ts338 ctx.service.store.dispatch.mock.calls.filter(([action]: any) => offlineResume.intent.match(action));CODE
CRITICALapplications/pass-extension/src/tests/auth.ts75 const listeners = browser.alarms.onAlarm.addListener.mock.calls.map(([listener]) => listener);CODE
CRITICAL⚡…lications/pass-extension/src/lib/utils/privacy.spec.ts79 browser.privacy.services.autofillAddressEnabled.get.mockResolvedValue(details);CODE
CRITICAL⚡…lications/pass-extension/src/lib/utils/privacy.spec.ts80 browser.privacy.services.passwordSavingEnabled.get.mockResolvedValue(details);CODE
CRITICAL⚡…lications/pass-extension/src/lib/utils/privacy.spec.ts90 browser.privacy.services.autofillAddressEnabled.get.mockResolvedValue(detailsActive);CODE
CRITICAL⚡…lications/pass-extension/src/lib/utils/privacy.spec.ts91 browser.privacy.services.passwordSavingEnabled.get.mockResolvedValue(detailsInactive);CODE
CRITICAL…lications/pass-extension/src/lib/utils/privacy.spec.ts166 browser.privacy.services.autofillAddressEnabled.set.mockRejectedValue(new Error());CODE
Over-Commented Block212 hits · 212 pts
SeverityFileLineSnippetContext
LOW.grype.yaml1fail-on-severity: "high"COMMENT
LOW…lugin-custom-rules/__tests__/validate-ttag-key.test.js41 // Auto-generated key warnings are handled by validate-ttag-key-autofix-warning ruleCOMMENT
LOWpackages/drive-store/store/_downloads/interface.ts41 // Both up and down, e.g., when something is retried.COMMENT
LOW…rive-store/store/_downloads/download/downloadBlocks.ts301 // If we experience some slight issue on server side, lets tryCOMMENT
LOW…rive-store/store/_downloads/download/downloadBlocks.ts321 );COMMENT
LOWpackages/drive-store/store/_links/interface.ts21 createTime: number;COMMENT
LOWpackages/drive-store/store/_links/interface.ts121 // encryptedName for renaming procedure (to generate new sessionKey).COMMENT
LOWpackages/pass/components/Promo/FamilyPlanPromo2024.scss21 &:focus {COMMENT
LOWpackages/pack/scripts/validate.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/shared/lib/mail/linkifyInstance.ts1import LinkifyIt from 'linkify-it';COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx1// import { fireEvent, waitFor } from '@testing-library/react';COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx21// const defaultCard: CardModel = {COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx41COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx61// fireEvent.click(getByTestId('toggle-subscription-renew'));COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx81// />COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx101COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx121// );COMMENT
LOW…kages/payments-ui/ui/containers/EditCardModal.test.tsx141// const paymentMethodId = 'paymentMethodId123';COMMENT
LOWpackages/styles/scss/lib/_responsive-classes.scss41/// @content The declaration block of a css rule. Used when $param is a String or a ListCOMMENT
LOWpackages/styles/scss/lib/_include-media.scss1/* stylelint-disable */COMMENT
LOWpackages/styles/scss/lib/_include-media.scss41) !default;COMMENT
LOWpackages/styles/scss/lib/_include-media.scss61 'retina3x': '(-webkit-min-device-pixel-ratio: 3), (min-resolution: 350dpi), (min-resolution: 3dppx)',COMMENT
LOWpackages/styles/scss/lib/_include-media.scss81///COMMENT
LOWpackages/styles/scss/lib/_include-media.scss101/// }COMMENT
LOWpackages/styles/scss/lib/_include-media.scss121/// }COMMENT
LOWpackages/styles/scss/lib/_include-media.scss141COMMENT
LOWpackages/styles/scss/lib/_include-media.scss161/// @example scss - This media query will NOT show because it intercepts the static breakpoint but contains a media exprCOMMENT
LOWpackages/styles/scss/lib/_include-media.scss261///COMMENT
LOWpackages/styles/scss/lib/_include-media.scss321 $dimension: get-expression-dimension($expression, $operator);COMMENT
LOWpackages/styles/scss/lib/_include-media.scss481/// the call. It is helpful when having a component needing an extendedCOMMENT
LOWpackages/styles/scss/lib/_include-media.scss501/// .foo {COMMENT
LOWpackages/styles/scss/lib/_include-media.scss541///COMMENT
LOWpackages/styles/scss/base/_viewport.scss21COMMENT
LOWpackages/components/jest.setup.js61COMMENT
LOW…scription/confirm-button/SubscriptionConfirmButton.tsx21 // re-subscribe user to the same plan and cycle that he already has. In this case, the only thing that we can do toCOMMENT
LOW…/containers/vpn/WireGuardConfigurationSection/curve.ts1// Thanks DJB https://ed25519.cr.yp.toCOMMENT
LOW…ts/containers/credentialLeak/BreachRecommendations.tsx21// let match;COMMENT
LOWpackages/account/breaches/breachReportsSlice.ts1// TODO: until design and api changes are made this slice is no longer being used. Data fetching is in BreachAlertsSecurCOMMENT
LOWpackages/account/breaches/breachReportsSlice.ts21// const fetchedData = toCamelCase(Breaches);COMMENT
LOWpackages/account/breaches/breachReportsSlice.ts41// miss: ({ extraArgument }) => {COMMENT
LOWpackages/account/breaches/breachReportsSlice.ts61// export const breachReportsReducer = { [name]: slice.reducer };COMMENT
LOWpackages/account/breaches/breachAlertListener.ts1// TODO: until design and api changes are made this listener is no longer being used. Data fetching is in BreachAlertsSeCOMMENT
LOWpackages/drive/modules/busDriver/internal/BusDriver.ts121 async emit(event: BusDriverEvent, driveClient: BusDriverClient): Promise<void> {COMMENT
LOWpackages/mail-message/src/helpers/schedule.ts21 // 9:30, 10:00, 10:30COMMENT
LOWpackages/raw-images/dcraw.c21COMMENT
LOWpackages/raw-images/dcraw.c41 #include <string.h>COMMENT
LOWpackages/raw-images/dcraw.c61 typedef __int64 INT64;COMMENT
LOWpackages/raw-images/dcraw.c81 #include <jpeglib.h> /* Decode compressed Kodak DC120 photos */COMMENT
LOWpackages/raw-images/dcraw.c161 } ph1;COMMENT
LOWapplications/vpn-settings/src/vitest.d.ts1// Augments the matcher types with @testing-library/jest-dom (toBeInTheDocument, …).COMMENT
LOW…dar/src/app/containers/calendar/MainContainer.spec.tsx541 // fireEvent.focus(screen.getByTitle(/Select event end date/));COMMENT
LOW…ers/calendar/eventActions/getSaveSingleEventActions.ts121 // type: SAVE_CONFIRMATION_TYPES.SINGLE,COMMENT
LOWapplications/lumo/webpack.reveal.ts1import path from 'path';COMMENT
LOWapplications/lumo/webpack.config.ts101 loader: 'file-loader',COMMENT
LOWapplications/lumo/src/app/index.scss201.new-label {COMMENT
LOWapplications/lumo/src/app/bootstrap.ts301COMMENT
LOWapplications/lumo/src/app/__mocks__/MSWController.tsx1// import React, { useEffect, useState } from 'react';COMMENT
LOWapplications/lumo/src/app/__mocks__/MSWController.tsx21// const enableMSW = async () => {COMMENT
LOWapplications/lumo/src/app/__mocks__/MSWController.tsx41// },COMMENT
LOWapplications/lumo/src/app/__mocks__/MSWController.tsx61// } catch (error) {COMMENT
152 more matches not shown…
Decorative Section Separators68 hits · 204 pts
SeverityFileLineSnippetContext
MEDIUMpackages/payments/core/addon/addons.test.ts52// ─── Config invariants (registry gate) ───────────────────────────────────────COMMENT
MEDIUMpackages/payments/core/addon/addons.test.ts102// ─── getAddonConfigsByPlanName (P1) ──────────────────────────────────────────COMMENT
MEDIUMpackages/payments/core/addon/addons.test.ts142// ─── getAddonDisplayOrder (P1) ───────────────────────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts97 // ─── 1. Initialization and defaults ──────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts183 // ─── 2. Fetching VAT number ──────────────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts244 // ─── 3. isAuthenticated resolution ───────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts277 // ─── 4. paymentsApi resolution ───────────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts299 // ─── 5. setVatNumber (handleVatNumberChange) ─────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts399 // ─── 6. Country/plan change effect ───────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts502 // ─── 7. vatUpdatedInModal ────────────────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts617 // ─── 8. countriesWithVatId coverage ──────────────────────────────COMMENT
MEDIUM…ments-ui/ui/billing-address/hooks/useVatNumber.test.ts666 // ─── 9. Prefill behaviour ────────────────────────────────────────COMMENT
MEDIUM…payments/planCustomizer/addonCustomizerHelpers.test.ts26// ─── computeAddonCustomizerItems ─────────────────────────────────────────────COMMENT
MEDIUM…payments/planCustomizer/addonCustomizerHelpers.test.ts193// ─── getAddonCustomizerProperties ────────────────────────────────────────────COMMENT
MEDIUM…payments/planCustomizer/addonCustomizerHelpers.test.ts470// ─── trial mode ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…payments/planCustomizer/addonCustomizerHelpers.test.ts618// ─── syncWhenEqualAddons (via getAddonCustomizerProperties) ───────────────────COMMENT
MEDIUM…payments/planCustomizer/addonCustomizerHelpers.test.ts686// ─── syncAlwaysAddons (via getAddonCustomizerProperties) ─────────────────────COMMENT
MEDIUMapplications/lumo/src/app/bootstrap.ts302 // ── Launched, never awaited before the render gate ──────────────────────────────────COMMENT
MEDIUMapplications/lumo/src/app/bootstrap.ts310 // ── The render gate ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMapplications/lumo/src/app/bootstrap.ts353 // ── Everything past here runs while the user can already type ───────────────────────COMMENT
MEDIUMapplications/lumo/src/app/llm/visualizationPrompt.ts1// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMapplications/lumo/src/app/llm/visualizationPrompt.ts9// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/lumo/src/app/features/imageActions/imageActions.scss43// ── Inline image card (image with hover-overlay controls) ────────────────────COMMENT
MEDIUM…s/lumo/src/app/features/imageActions/imageActions.scss104// ── Image lightbox modal ─────────────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss9// ── Outer shell ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss18// ── Tab toggle bar (standalone /images page only) ─────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss68// ── Top pane: gallery (scrollable) ────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss76// ── Inspiration tab (scrollable) ──────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss88// ── Top pane: empty state (Lottie + title) ────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss130// ── Explore grid (appended inside the main scroll container) ──────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss144// ── Bottom panel (suggestions + composer, always visible) ─────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss198// ── Composer wrapper ──────────────────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss243// ── Suppress hover overlays while the created section is scrolling ────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss249// ── Image card ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss345// ── Load more ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss353// ── Discover list ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…cations/lumo/src/app/features/gallery/GalleryView.scss456// ── Lightbox ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss8// ── Empty state ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss30// ── Key list ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss127// ── Status badges ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss173// ── Inline forms ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss211// ── Token reveal dialog ───────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss305// ── Usage sparkline ───────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss390// ── Loading skeleton ──────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss415// ── Expanded per-key usage ───────────────────────────────────────────────────COMMENT
MEDIUM…tions/lumo/src/app/features/api-keys/ApiKeysPanel.scss446// ── API usage dashboard ───────────────────────────────────────────────────────COMMENT
MEDIUM…c/app/components/LumoMarkdown/InlineImageComponent.tsx110 // ── Error / loading states ─────────────────────────────────────────────────COMMENT
MEDIUM…c/app/components/LumoMarkdown/InlineImageComponent.tsx148 // ── Main render ────────────────────────────────────────────────────────────COMMENT
MEDIUM…p/components/Composer/hooks/fileMentionHelpers.test.ts10// ─── helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…p/components/Composer/hooks/fileMentionHelpers.test.ts16// ─── buildAlreadyMentionedNames ───────────────────────────────────────────────COMMENT
MEDIUM…p/components/Composer/hooks/fileMentionHelpers.test.ts59// ─── buildAttachedNames ───────────────────────────────────────────────────────COMMENT
MEDIUM…p/components/Composer/hooks/fileMentionHelpers.test.ts89// ─── filterFiles ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…p/components/Composer/hooks/fileMentionHelpers.test.ts183// ─── combined: already-mentioned files are excluded from dropdown ─────────────COMMENT
MEDIUM…p/components/Composer/hooks/fileMentionHelpers.test.ts265// ─── isMentionableFile ───────────────────────────────────────────────────────COMMENT
MEDIUMapplications/lumo/src/app/services/search/stopwords.ts5 // ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMapplications/lumo/src/app/services/search/stopwords.ts7 // ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMapplications/lumo/src/app/services/search/stopwords.ts144 // ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMapplications/lumo/src/app/services/search/stopwords.ts146 // ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMapplications/lumo/src/app/services/search/stopwords.ts214 // ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMapplications/lumo/src/app/services/search/stopwords.ts216 // ═══════════════════════════════════════════════════════════════════════════COMMENT
8 more matches not shown…
Slop Phrases37 hits · 37 pts
SeverityFileLineSnippetContext
LOW…omponents/Settings/Aliases/Domains/CustomDomainDNS.tsx45 You are on staging env. Don't forget to replace 'proton.me' below with 'proton.black'CODE
LOW…/PostQuantumKeysOptInSection/PostQuantumOptInModal.tsx330 ? c('pqc-optin: Info').jt`Don't forget to generate new recovery data.`CODE
LOWapplications/mail/locales/id_ID.json7085 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/tr_TR.json7490 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/hu_HU.json6920 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/pt_PT.json7218 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/sv_SE.json7395 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/ko_KR.json7277 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/es_ES.json7490 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/be_BY.json7693 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/ja_JP.json7353 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/zh_CN.json7355 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/el_GR.json7487 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/it_IT.json7451 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/fi_FI.json7237 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/ka_GE.json7192 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/hi_IN.json7419 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/ru_RU.json7447 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/sl_SI.json7296 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/nl_NL.json7359 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/nb_NO.json7391 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/da_DK.json7490 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/ca_ES.json7490 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/de_DE.json7490 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/pt_BR.json7473 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/zh_TW.json7202 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/es_LA.json7490 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/fr_FR.json7443 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/cs_CZ.json7438 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/uk_UA.json7457 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/sk_SK.json7742 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/ro_RO.json7616 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/pl_PL.json7430 "Don't forget to share the password with the recipient": [CODE
LOWapplications/mail/locales/hr_HR.json7311 "Don't forget to share the password with the recipient": [CODE
LOW…/components/composer/modals/PasswordInnerModalForm.tsx37 <Info className="mb-1" title={c('Info').t`Don't forget to share the password with the recipient`} />CODE
LOWapplications/account/locales/id_ID.json19150 "Don't forget to generate new recovery data.": [CODE
LOWapplications/account/locales/zh_TW.json19321 "Don't forget to generate new recovery data.": [CODE
Verbosity Indicators12 hits · 21 pts
SeverityFileLineSnippetContext
LOWpackages/drive-store/store/_links/useLink.ts779 // Also we only want it in the shared with me root view, so we need to check if parentLinkId is not presCOMMENT
LOWpackages/account/plans/index.ts116 // Step 1: load the plans without any parameters. It can return either main currency or a regional one.COMMENT
LOWpackages/account/plans/index.ts130 // Step 2: if some required currencies are missing, then we fetch them separatelyCOMMENT
LOWpackages/account/accountSessions/storage.ts111 * The purpose of this function is to extend the lifetime of the iaas cookie.COMMENT
LOWapplications/lumo/src/app/llm/index.ts188 // Step 0: Apply any context-compaction boundary. Summarized messages areCOMMENT
LOWapplications/lumo/src/app/llm/index.ts234 // Step 1: Transform messages to turns by iterating over blocksCOMMENT
LOW⚡applications/lumo/src/app/llm/index.ts303 // Step 2: Insert the final empty assistant turnCOMMENT
LOW⚡applications/lumo/src/app/llm/index.ts306 // Step 3: (removed) The documentContext string used to be written to turns[i].context, butCOMMENT
LOW⚡applications/lumo/src/app/llm/index.ts365 // Step 4: Remove empty assistant turnsCOMMENT
LOW⚡applications/lumo/src/app/llm/index.ts368 // Step 5: Prepend the compaction summary (if any) as the leading turn so itCOMMENT
LOWapplications/mail/src/app/hooks/useExpiringElement.ts15 * We need to check if we find an expiration time set in the state.COMMENT
LOW…lications/drive/src/app/legacy/store/_links/useLink.ts786 // Also we only want it in the shared with me root view, so we need to check if parentLinkId is not presCOMMENT
Cross-Language Confusion (JS/TS)3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ations/lumo/src/app/features/dev/TestRendererModal.tsx409print(f"5! = {result}")`,CODE
HIGH…s/lumo/src/app/features/api-docs/lumoApiDocs.config.ts155print(r.json()["choices"][0]["message"]["content"])`,CODE
HIGH…s/lumo/src/app/features/api-docs/lumoApiDocs.config.ts279print(r.json())`,CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHapplications/lumo/src/app/redux/sagas/attachments.ts379 // Tag AI-generated images and artifact assets for /assets/generated listing.COMMENT
HIGHapplications/mail/src/app/styles/_message.scss317 // hide coma, as requested :DCOMMENT
Excessive Try-Catch Wrapping6 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM⚡…ications/pass-desktop/macOS/scripts/get-app-version.py29 print(f"Error decoding JSON from file: {manifest_path}")CODE
LOW⚡…ications/pass-desktop/macOS/scripts/get-app-version.py32except Exception as e:CODE
MEDIUM⚡…ications/pass-desktop/macOS/scripts/get-app-version.py33 print(f"An error occurred: {e}")CODE
MEDIUM⚡…s/pass-extension/safari/tools/get-extension-version.py29 print(f"Error decoding JSON from file: {manifest_path}")CODE
LOW⚡…s/pass-extension/safari/tools/get-extension-version.py32except Exception as e:CODE
MEDIUM⚡…s/pass-extension/safari/tools/get-extension-version.py33 print(f"An error occurred: {e}")CODE
Structural Annotation Overuse7 hits · 13 pts
SeverityFileLineSnippetContext
LOWpackages/account/plans/index.ts116 // Step 1: load the plans without any parameters. It can return either main currency or a regional one.COMMENT
LOWpackages/account/plans/index.ts130 // Step 2: if some required currencies are missing, then we fetch them separatelyCOMMENT
LOWapplications/lumo/src/app/llm/index.ts188 // Step 0: Apply any context-compaction boundary. Summarized messages areCOMMENT
LOWapplications/lumo/src/app/llm/index.ts234 // Step 1: Transform messages to turns by iterating over blocksCOMMENT
LOW⚡applications/lumo/src/app/llm/index.ts303 // Step 2: Insert the final empty assistant turnCOMMENT
LOW⚡applications/lumo/src/app/llm/index.ts365 // Step 4: Remove empty assistant turnsCOMMENT
LOW⚡applications/lumo/src/app/llm/index.ts368 // Step 5: Prepend the compaction summary (if any) as the leading turn so itCOMMENT
TODO Padding6 hits · 9 pts
SeverityFileLineSnippetContext
LOWpackages/account/scimSetup/actions.ts123// TODO: Add error handling - now we just move back item status to "Waiting"COMMENT
LOW…s/mail/src/app/hooks/composer/useScheduleSend.test.tsx194 // TODO: Implement test for handleScheduleSendModalCOMMENT
LOW…s/mail/src/app/hooks/composer/useScheduleSend.test.tsx198 // TODO: Implement test for handleScheduleSendCOMMENT
LOW…rc/app/components/EmailOrBitcoinAddressInput/index.tsx144 // TODO: implement this laterCOMMENT
LOW…rs/Spreadsheet/components/Menubar/menus/FormatMenu.tsx66 // TODO: implementCOMMENT
LOW…rs/Spreadsheet/components/Menubar/menus/FormatMenu.tsx90 // TODO: implementCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…components/Conversation/artifact/createArtifactTool.ts10// "canvas". Without this, the model echoes the tool's own vocabulary ("I've created an artifactCOMMENT
AI Slop Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…tions/lumo/src/app/upsells/LumoPlusBackdropOverlay.tsx13 // Find and hide the backdrop elements - use a more robust approachCOMMENT
MEDIUM…ornPrivate/emailReservation/EmailReservationSignup.tsx22 activationCode: '', // Essentially the user's passwordCODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWpackages/metrics/scripts/generate-schema-types.sh11 # Check if the command succeededCOMMENT
LOW…ns/pass-desktop/macOS/scripts/download_rust_package.sh22# Check if the current local package is using the right versionCOMMENT
LOW…/pass-desktop/src/uninstallers/macos/daemon/cleanup.sh10# Check if both main app and beta app are goneCOMMENT
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…ckages/components/containers/filePreview/iwad/index.js1565 function processData(byteArray) {CODE
LOWapplications/lumo/public/mockServiceWorker.js124async function handleRequest(event, requestId, requestInterceptedAt) {CODE
LOW…/public/assets/background-blur/vision_wasm_internal.js1508 function processData(byteArray) {CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWapplications/lumo/util/make_css_transform.py32# Example usageCOMMENT