AI Slop Code Risk Monitor

nylas/nylas-mail

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

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nylas/nylas-mail, a JavaScript project with 24,728 GitHub stars. SynthScan examined 73,498 lines of code across 752 source files, recording 42 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-06-25
Last Push
24.7K
Stars
JavaScript
Language
73.5K
Lines of Code
752
Files
42
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 3.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 41 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.3/100 · LOW

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

PR Review Velocity Impact 2.8/100 · LOW

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

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 42 distinct pattern matches across 5 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 Identifiers19 hits · 20 pts
SeverityFileLineSnippetContext
LOW…t-app/spec/components/participants-text-field-spec.jsx22xdescribe('ParticipantsTextField', function ParticipantsTextFieldSpecs() {CODE
LOW…/components/nylas-calendar/week-view-extended-spec.jsx4// describe('Extended Nylas Calendar Week View', function extendedNylasCalendarWeekView() {COMMENT
LOW…nternal_packages/nylas-private-salesforce/lib/main.jsx54function SalesforceObjectFormWithWindowProps() {CODE
LOW…/preferences/spec/preferences-account-details-spec.jsx21describe('PreferencesAccountDetails', function preferencesAccountDetails() {CODE
LOW…s/send-reminders/lib/send-reminders-toolbar-button.jsx18export default function SendRemindersToolbarButton(props) {CODE
LOW…l_packages/send-reminders/lib/send-reminders-utils.jsx69export async function asyncUpdateFromSentMessage({messageClientId}) {CODE
LOW…l_packages/send-reminders/lib/send-reminders-utils.jsx150function reminderThreadIdsFromMessages(messages) {CODE
LOW…l_packages/send-reminders/lib/send-reminders-utils.jsx159export function observableForThreadsWithReminders(accountIds = [], {emitIds = false} = {}) {CODE
LOW…l_packages/send-reminders/lib/send-reminders-utils.jsx187export function getLatestMessageWithReminder(thread, messages) {CODE
LOW…er-signature/spec/signature-composer-dropdown-spec.jsx22describe('SignatureComposerDropdown', function signatureComposerDropdown() {CODE
LOW…-mail-merge/lib/mail-merge-participants-text-field.jsx9function MailMergeParticipantToken(props) {CODE
LOW…poser-mail-merge/lib/listens-to-mail-merge-session.jsx6export default function ListensToMailMergeSession(ComposedComponent) {CODE
LOW…en-tracking/spec/open-tracking-message-status-spec.jsx18describe('Open tracking message status', function openTrackingMessageStatus() {CODE
LOW…/notifications/spec/disabled-mail-rules-notif-spec.jsx5describe("DisabledMailRulesNotification", function DisabledMailRulesNotifTests() {CODE
LOWpackages/client-app/src/compile-support/typescript.js44function createVersionAndOptionsDigest (version, options) {CODE
LOWpackages/client-app/src/compile-support/cjsx.js85 function removeModuleFromDependencies(module) {CODE
LOWpackages/client-app/src/compile-support/babel.js58function createVersionAndOptionsDigest (version, options) {CODE
LOWpackages/client-sync/src/models/message.js14function validateRecipientsPresent(message) {CODE
LOW…ges/client-sync/src/message-processor/detect-thread.js42async function findOrBuildByRemoteThreadId(db, remoteThreadId) {CODE
Over-Commented Block18 hits · 18 pts
SeverityFileLineSnippetContext
LOW…/components/nylas-calendar/week-view-extended-spec.jsx1// import {events} from './fixtures/events'COMMENT
LOWpackages/client-app/keymaps/README.m1# This is the core set of universal, cross-platform keymaps. This isCOMMENT
LOW…r-scheduler/lib/composer/scheduler-composer-button.jsx61 itemContent={idFn}COMMENT
LOW…ges/client-app/internal_packages/ui-darkside/README.md41COMMENT
LOW…al_packages/ui-darkside/styles/darkside-variables.less1// DefaultCOMMENT
LOW…rnal_packages/ui-less-is-more/styles/less-is-more.less1//====================================================COMMENT
LOW…lient-app/internal_packages/main-calendar/lib/main.jsx1// import {exec} from 'child_process';COMMENT
LOW…lient-app/internal_packages/main-calendar/lib/main.jsx21// if (fallbackExists) {COMMENT
LOW…lient-app/internal_packages/main-calendar/lib/main.jsx41 // exec(`open "${helperPath}"`);COMMENT
LOWpackages/client-app/static/variables/ui-variables.less1// Color abstraction hierarchy:COMMENT
LOWpackages/client-app/src/error-logger.js21// sources and enhance error functionality.COMMENT
LOW…es/client-app/src/components/tokenizing-text-field.jsx241 //COMMENT
LOW…es/client-app/src/components/tokenizing-text-field.jsx261COMMENT
LOW…es/client-app/src/components/tokenizing-text-field.jsx281 // candidate objects. These objects must be the same type as are passedCOMMENT
LOW…es/client-app/src/components/tokenizing-text-field.jsx301 //COMMENT
LOW…es/client-app/src/components/tokenizing-text-field.jsx321COMMENT
LOWpackages/client-sync/src/local-api/serialization.js21 // Ben: Disabled temporarily because folks keep changing the keys and it's hardCOMMENT
LOWpackages/client-sync/src/local-api/routes/send.js1const Joi = require('joi');COMMENT
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡packages/client-sync/src/local-sync-worker/index.js35 // Step 1: Start all K2 AccountsCOMMENT
LOW⚡packages/client-sync/src/local-sync-worker/index.js39// Step 2: Watch N1 Accounts, ensure consistency when they change.COMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡packages/client-sync/src/local-sync-worker/index.js35 // Step 1: Start all K2 AccountsCOMMENT
LOW⚡packages/client-sync/src/local-sync-worker/index.js39// Step 2: Watch N1 Accounts, ensure consistency when they change.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…es/client-app/src/components/tokenizing-text-field.jsx860 return (<div className="placeholder">{this.props.placeholder}</div>)CODE