Papercut SMTP -- The Simple Desktop Email Server
This report summarizes scanner evidence for ChangemakerStudios/Papercut-SMTP, a C# project with 3,339 GitHub stars. SynthScan examined 69,586 lines of code across 509 source files, recording 479 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 7.2 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 469 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 479 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 479 distinct pattern matches across 7 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 | docker-compose.example.yml | 41 | - papercut-logs-tls:/app/Logs | COMMENT |
| LOW | docker-compose.example.yml | 81 | # | COMMENT |
| LOW | docker-compose.example.yml | 101 | # Option 3: Self-signed certificate (development) | COMMENT |
| LOW | docker-compose.example.yml | 121 | # - SmtpServer__AllowedIps=192.168.1.100 # Allow single IP | COMMENT |
| LOW | test/Papercut.Core.Tests/PathTemplateHelperTests.cs | 1 | // Papercut | COMMENT |
| LOW | test/Papercut.Core.Tests/EndpointDefinitionTests.cs | 1 | // Papercut | COMMENT |
| LOW | …Papercut.Rules.Tests/ConditionalRuleExtensionsTests.cs | 1 | // Papercut | COMMENT |
| LOW | …t/Papercut.Rules.Tests/PeriodicRuleIntegrationTests.cs | 1 | // Papercut | COMMENT |
| LOW | test/Papercut.Rules.Tests/RuleServiceBaseFileTests.cs | 1 | // Papercut | COMMENT |
| LOW | …Papercut.Rules.Tests/MailRetentionRuleDispatchTests.cs | 1 | // Papercut | COMMENT |
| LOW | test/Papercut.Rules.Tests/RulesRunnerTests.cs | 1 | // Papercut | COMMENT |
| LOW | …/Papercut.Message.Tests/MimeMessageLoaderCloneTests.cs | 1 | // Papercut | COMMENT |
| LOW | …Papercut.Message.Tests/PublishedMessageTrackerTests.cs | 1 | // Papercut | COMMENT |
| LOW | …Papercut.Message.Tests/MessageRepositoryStaticTests.cs | 1 | // Papercut | COMMENT |
| LOW | …ercut.Message.Tests/ReceivedDataMessageHandlerTests.cs | 1 | // Papercut | COMMENT |
| LOW | test/Papercut.Message.Tests/MessageRepositoryTests.cs | 1 | // Papercut | COMMENT |
| LOW | …percut.Infrastructure.Smtp.Tests/IPAllowedListTests.cs | 1 | // Papercut | COMMENT |
| LOW | …ucture.Smtp.Tests/RateLimiting/SmtpRateLimiterTests.cs | 1 | // Papercut | COMMENT |
| LOW | …tructure.Smtp.Tests/RateLimiting/SmtpRateLimitTests.cs | 1 | // Papercut | COMMENT |
| LOW | examples/SmtpSendOptions.cs | 21 | /// <summary> | COMMENT |
| LOW | examples/SmtpClientHelper.cs | 1 | // Papercut | COMMENT |
| LOW | examples/SendEmailWithTls/Program.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/MessageRepository.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/PublishedMessageTracker.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/PublishedMessageTracker.cs | 21 | namespace Papercut.Message; | COMMENT |
| LOW | src/Papercut.Message/PublishedMessageTracker.cs | 41 | /// readable before it publishes, retrying with growing delays, so this has to | COMMENT |
| LOW | src/Papercut.Message/MimeMessageLoader.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/ReceivedDataMessageHandler.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/MessageWatcher.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/PapercutMessageModule.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/IMessageRepository.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/IMimeMessageLoader.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/Helpers/MessageHelper.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/Helpers/HtmlMessageRenderer.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Message/Helpers/HtmlMessageRenderer.cs | 21 | using MimeKit; | COMMENT |
| LOW | src/Papercut.Message/Helpers/HtmlMessageRenderer.cs | 41 | /// malformed markup cannot smuggle a tag past it. | COMMENT |
| LOW | …apercut.Message/Helpers/MimeMessageLoaderExtensions.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Extensions/CollectionExtensions.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Extensions/ObjectExtensions.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Extensions/GeneralExtensions.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Extensions/EnumerableExtensions.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Extensions/FileInfoExtensions.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Extensions/OrderableExtensions.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Properties/AssemblyInfo.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Properties/AssemblyInfo.cs | 21 | // Setting ComVisible to false makes the types in this assembly not visible | COMMENT |
| LOW | src/Papercut.Common/Helper/EnumHelpers.cs | 1 | // Papercut | COMMENT |
| LOW | …c/Papercut.Common/Helper/NameValueCollectionHelpers.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Helper/PathHelpers.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Helper/RegexHelpers.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Helper/StringHelpers.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Helper/AssemblyHelper.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/IOrderable.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/IEventHandler.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/IMessage.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/ICommand.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/IMessageBus.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/ICommandHandler.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/IEvent.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Common/Domain/ExecutionResult.cs | 1 | // Papercut | COMMENT |
| LOW | src/Papercut.Service.TrayNotification/GlobalUsings.cs | 1 | // Papercut | COMMENT |
| 392 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/Papercut.UI/Properties/UIStrings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Papercut.UI/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 23 | #### Step 1: Extract Pagination Component ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 52 | #### Step 2: Fix Layout & Resizing ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 62 | #### Step 3: Comprehensive Loading States ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 89 | #### Step 4: Background File Downloader ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 111 | #### Step 5: Message Sections Component ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 121 | #### Step 6: Download Button Feedback ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 138 | #### Step 7: Secure Iframe Implementation ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 157 | #### Step 8: Unified Content Formatting ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 176 | #### Step 9: API Endpoint Integration ✅ | COMMENT |
| LOW | src/Papercut.Service/Web/IMPLEMENTATION_PLAN.md | 186 | #### Step 10: Smart Section Interaction ✅ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ercut.Message.Tests/ReceivedDataMessageHandlerTests.cs | 119 | var action = async () => await _handler.HandleReceivedAsync(null!, new[] { "test@test.com" }); | CODE |
| LOW | …ercut.Message.Tests/ReceivedDataMessageHandlerTests.cs | 126 | var messageData = CreateTestMessage("test@test.com"); | CODE |
| LOW | docs/send-from-your-app.md | 18 | message.To.Add(MailboxAddress.Parse("user@example.com")); | CODE |
| LOW | docs/send-from-your-app.md | 32 | client.Send("noreply@myapp.local", "user@example.com", "Test", "Hello Papercut!"); | CODE |
| LOW | docs/send-from-your-app.md | 77 | to: "user@example.com", | CODE |
| LOW | docs/send-from-your-app.md | 93 | msg["To"] = "user@example.com" | CODE |
| LOW | docs/send-from-your-app.md | 141 | message.setRecipients(Message.RecipientType.TO, InternetAddress.parse("user@example.com")); | CODE |
| LOW | examples/README.md | 211 | - **Bogus** - Fake data generation (names, addresses, lorem ipsum) | CODE |
| LOW | examples/SendEmailWithFileLinks/Program.cs | 53 | message.To.Add(new MailboxAddress("Test User", "user@example.com")); | CODE |
| LOW | src/Papercut.Service/Web/src/app/testing/mock-data.ts | 9 | name: 'John Doe', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rc/app/services/content-transformation.service.spec.ts | 71 | // These tests can be added back when we implement a more robust mocking strategy | COMMENT |
| MEDIUM | …rc/app/services/content-transformation.service.spec.ts | 81 | // These tests can be added back when we implement a more robust mocking strategy | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Papercut.Service/Web/src/app/testing/test-utils.ts | 35 | export function createStandaloneTestModule(component: Type<any>) { | CODE |
| LOW | src/Papercut.Service/Web/src/app/testing/test-utils.ts | 47 | export function createMockMessageApiService(): jasmine.SpyObj<MessageApiService> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.example.yml | 75 | # Usage: | COMMENT |