✉️ Send e-mails with Node.JS – easy as cake!
This report summarizes scanner evidence for nodemailer/nodemailer, a TypeScript project with 17,700 GitHub stars. SynthScan examined 61,081 lines of code across 155 source files, recording 53 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 12 finding(s).
Are imports declared and package/API names verified? 41 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 53 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 53 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⚡ | test/addressparser/addressparser-test.ts | 513 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 520 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 527 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 580 | let input = 'John Doe'; | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 583 | assert.strictEqual(result[0].name, 'John Doe'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 591 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 728 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 736 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 743 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 788 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 795 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 802 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 1605 | assert.deepStrictEqual(addressparser('"John Doe" user@example.com'), [{ address: 'user@example.com', name: ' | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 1605 | assert.deepStrictEqual(addressparser('"John Doe" user@example.com'), [{ address: 'user@example.com', name: ' | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 1606 | assert.deepStrictEqual(addressparser('"John Doe"'), [{ address: '', name: 'John Doe' }]); | CODE |
| LOW⚡ | test/addressparser/addressparser-test.ts | 1607 | assert.deepStrictEqual(addressparser('"John Doe" nothing'), [{ address: '', name: 'John Doe nothing' }]); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 474 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 481 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 698 | assert.strictEqual(result[0].address, 'user@example.com'); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1109 | assert.strictEqual(result[0].group[0].address, 'user@example.com'); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1120 | assert.strictEqual(result[0].group[0].address, 'user@example.com'); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1130 | assert.deepStrictEqual(result[0].group, [{ address: 'user@example.com', name: '' }]); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1503 | assert.deepStrictEqual(addressparser(input), [{ address: 'user@example.com', name: 'Name' }], input); | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1517 | assert.deepStrictEqual(addressparser('<user@example.com(John Doe)>'), [{ address: 'user@example.com', name: | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1517 | assert.deepStrictEqual(addressparser('<user@example.com(John Doe)>'), [{ address: 'user@example.com', name: | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1593 | ['"user"@example.com', 'user@example.com'], | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1776 | ['user@example.com (outer (nested) comment)', [{ address: 'user@example.com', name: 'outer (nested) comm | CODE |
| LOW | test/addressparser/addressparser-test.ts | 1834 | ['Name <<user@example.com>>', [{ address: 'user@example.com', name: 'Name>' }]], | CODE |
| LOW | test/mime-node/mime-node-test.ts | 1588 | // whitespace makes 'John Doe' a display name rather than a local username, so it | COMMENT |
| LOW | test/mime-node/mime-node-test.ts | 1590 | assert.deepStrictEqual(new MimeNode().setEnvelope({ from: 'a@example.com', to: ['John Doe'] }).getEnvelope() | CODE |
| LOW | test/mime-node/mime-node-test.ts | 2057 | const encoded = MimeNode.encodeHeaderValue('To', [{ name, address: 'user@example.com' }, 'other@exam | CODE |
| LOW | test/mime-node/mime-node-test.ts | 2062 | assert.strictEqual(parsed[0].address, 'user@example.com', message); | CODE |
| LOW | test/mime-node/mime-node-test.ts | 2280 | mb._convertAddresses([{ address: 'user@example.com' }, { address: 'other@example.com' }]), | CODE |
| LOW | test/xoauth2/xoauth2-tls-test.ts | 82 | user: 'user@example.com', | CODE |
| LOW | test/xoauth2/xoauth2-tls-test.ts | 103 | user: 'user@example.com', | CODE |
| LOW | test/smtp-transport/oauth2-listener-leak-test.ts | 91 | user: 'user@example.com', | CODE |
| LOW | test/smtp-transport/oauth2-provision-test.ts | 24 | if (auth.method !== 'XOAUTH2' || auth.username !== 'user@example.com' || auth.accessToken !== 'provision | CODE |
| LOW | test/smtp-transport/oauth2-provision-test.ts | 56 | user: 'user@example.com' | CODE |
| LOW | test/smtp-transport/oauth2-provision-test.ts | 63 | assert.strictEqual(user, 'user@example.com'); | CODE |
| LOW | test/smtp-transport/oauth2-provision-test.ts | 102 | user: 'user@example.com' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/ses-transport/ses-transport-test.ts | 415 | assert.ok(messageData.messageData.Content.Raw.Data.toString().includes('h=from:subject:to:cc:mim | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build.js | 1 | // Builds the package. | COMMENT |
| LOW | scripts/build.js | 81 | COMMENT | |
| LOW | src/addressparser/index.ts | 701 | // An empty quoted string is dropped by the tokenizer, leaving no text token of its | COMMENT |
| LOW | src/addressparser/index.ts | 801 | // tiers read the collapsed runs, and only a run an address comes out of is replaced | COMMENT |
| LOW | src/addressparser/index.ts | 881 | // | COMMENT |
| LOW | src/mime-node/index.ts | 241 | } | COMMENT |
| LOW | src/mime-node/index.ts | 1661 | * @internal | COMMENT |
| LOW | src/shared/url.ts | 1 | // URL parsing wrapper around the WHATWG `URL` class. It only falls back to the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/smtp-transport/oauth2-listener-leak-test.ts | 35 | function startDropDuringAuthServer(callback: (server: net.Server, port: number) => void) { | CODE |
| LOW | scripts/build.js | 43 | function generateWellKnownServices() { | CODE |
| LOW | src/mime-node/index.ts | 227 | function stripWhitespaceInAngleBrackets(value: string): string { | CODE |
| LOW | src/shared/url.ts | 55 | function stripSurroundingWhitespace(input: string): string { | CODE |