AI Slop Code Risk Monitor

btcpayserver/btcpayserver

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

Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for btcpayserver/btcpayserver, a C# project with 7,874 GitHub stars. SynthScan examined 236,002 lines of code across 1572 source files, recording 91 pattern matches distributed across 8 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-10-30
Last Push
7.9K
Stars
C#
Language
236.0K
Lines of Code
1.6K
Files
91
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 1.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 3.1/100 · LOW

Which changes need focused human review? 91 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 4HIGH 4MEDIUM 2LOW 81

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 91 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.

Over-Commented Block60 hits · 58 pts
SeverityFileLineSnippetContext
LOWBTCPayServer.Rating/MultiValueDictionary.cs1// Copyright (c) Microsoft. All rights reserved.COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs21 /// COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs41 /// </summary>COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs81COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs141 #endregionCOMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs181 /// class that is empty, has the specified initial capacity, and uses the defaultCOMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs221 /// <typeparam name="TValueCollection">COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs241COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs281 return multiValueDictionary;COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs321 /// <summary>COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs361COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs401 /// Creates a new new instance of the <see cref="MultiValueDictionary{TKey, TValue}" /> COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs441 /// internal dictionary will use instances of the <typeparamref name="TValueCollection"/>COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs481 /// will contain in its internal dictionary.COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs521 /// </typeparam>COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs541 throw new InvalidOperationException(("Properties.Resources.Create_TValueCollectionReadOnly"));COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs561 /// <param name="enumerable">IEnumerable to copy elements into this from</param>COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs601 /// <param name="key">The <typeparamref name="TKey"/> of the element to add.</param>COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs621 dictionary.Add(key, collection);COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs681 /// Removes the first instance (if any) of the given <typeparamref name="TKey"/>-<typeparamref name="TValue"/> COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs761 /// <param name="key">The <typeparamref name="TKey"/> to search the <see cref="MultiValueDictionary{TKey,TValue}COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs781 /// in this <see cref="MultiValueDictionary{TKey,TValue}"/> that has one or more associated COMMENT
LOWBTCPayServer.Rating/MultiValueDictionary.cs821 /// </summary>COMMENT
LOWBTCPayServer/HostCommands.cs41 /// <summary>COMMENT
LOWBTCPayServer/Payments/IPaymentMethodHandler.cs21namespace BTCPayServer.PaymentsCOMMENT
LOWBTCPayServer/Payments/IPaymentMethodHandler.cs41 /// </summary>COMMENT
LOWBTCPayServer/wwwroot/js/datatable.js201COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginLoader.cs21 /// as well as a custom file (*.config files). These files describe a list of .dlls and a set of dependencies.COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginLoader.cs41 /// </para>COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginLoader.cs81 /// A list of types which should be shared between the host and the plugin.COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginLoader.cs181 /// True when this plugin is capable of being unloaded.COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginLoader.cs281 => _context.LoadAssemblyFromFilePath(assemblyPath);COMMENT
LOWBTCPayServer/Plugins/Dotnet/MvcPluginExtensions.cs1// Copyright (c) Nate McMaster.COMMENT
LOW…PayServer/Plugins/Dotnet/PluginReloadedEventHandler.cs1// Copyright (c) Nate McMaster.COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginConfig.cs41 /// <summary>COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginConfig.cs61 /// </seealso>COMMENT
LOWBTCPayServer/Plugins/Dotnet/PluginConfig.cs101 /// </summary>COMMENT
LOW…er/Plugins/Dotnet/Loader/AssemblyLoadContextBuilder.cs101 /// <returns>The builder.</returns>COMMENT
LOW…er/Plugins/Dotnet/Loader/AssemblyLoadContextBuilder.cs201 /// </para>COMMENT
LOW…er/Plugins/Dotnet/Loader/AssemblyLoadContextBuilder.cs321 return this;COMMENT
LOW…ayServer/Plugins/Dotnet/LibraryModel/ManagedLibrary.cs21 AppLocalPath = appLocalPath ?? throw new ArgumentNullException(nameof(appLocalPath));COMMENT
LOW…ayServer/Plugins/Dotnet/LibraryModel/ManagedLibrary.cs41 /// For most managed libraries, this will be the file name.COMMENT
LOW…PayServer/Plugins/Dotnet/LibraryModel/NativeLibrary.cs21 AdditionalProbingPath = additionalProbingPath ?? throw new ArgumentNullException(nameof(additionalProbingPatCOMMENT
LOW…PayServer/Plugins/Dotnet/LibraryModel/NativeLibrary.cs41 /// </summary>COMMENT
LOW…lugins/Impersonation/ImpersonationPermissionHandler.cs21 /// <summary>COMMENT
LOWBTCPayServer/Services/Invoices/InvoiceRepository.cs101 /// <returns></returns>COMMENT
LOWBTCPayServer/Services/Invoices/InvoiceRepository.cs541 public async Task<InvoiceEntity> UpdateInvoiceMetadata(string invoiceId, JObject metadata)COMMENT
LOWBTCPayServer/Services/Invoices/InvoiceRepository.cs581 {COMMENT
LOWBTCPayServer/Services/Invoices/InvoiceEntity.cs881COMMENT
LOWBTCPayServer/Services/Invoices/InvoiceEntity.cs921 [JsonIgnore]COMMENT
LOWBTCPayServer/Services/Invoices/InvoiceEntity.cs941 [JsonConverter(typeof(NumericStringJsonConverter))]COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOWBTCPayServer.Client/Models/ApplicationUserData.cs21 /// the name of the userCOMMENT
LOWBTCPayServer.Client/Models/ApplicationUserData.cs41 /// Whether the user was approved by an adminCOMMENT
LOW…ayServer.Client/Models/UpdateApplicationUserRequest.cs21 /// current password of the user, required to change the email or the passwordCOMMENT
LOWBTCPayServer.Tests/docker-bitcoin-multisig-setup.sh1#!/bin/bashCOMMENT
LOWBTCPayServer.Tests/UtilitiesTests.cs61 // public async Task UpdateTransifex()COMMENT
LOWBTCPayServer.Tests/UtilitiesTests.cs81 // }COMMENT
LOWBTCPayServer.Tests/UtilitiesTests.cs101 // {COMMENT
LOWBTCPayServer.Tests/LightningTests.cs241 // check payments list for store nodeCOMMENT
Hallucination Indicators4 hits · 35 pts
SeverityFileLineSnippetContext
CRITICALBTCPayServer/Filters/OnlyMediaTypeAttribute.cs44 if (!context.RouteContext.HttpContext.Request.Headers.ContainsKey("Accept"))CODE
CRITICAL…/Subscriptions/Controllers/UIPlanCheckoutController.cs72 StoreBranding = await StoreBrandingViewModel.CreateAsync(Request, uriResolver, checkout.Plan.Offering.App.StCODE
CRITICAL…/HostedServices/TransactionLabelMarkerHostedService.cs65 foreach (var txOut in transactionEvent.NewTransactionEvent.TransactionData.Transaction.Outputs.ACODE
CRITICALBTCPayServer.Tests/UnitTest1.cs2016 s.ServerUri = new Uri(s.Server.PayTester.ServerUriWithIP.AbsoluteUri.Replace("127.0.0.1", "localhost"));STRING
Magic Placeholder Names4 hits · 18 pts
SeverityFileLineSnippetContext
HIGH…PayServer/Plugins/Translations/Translations.Default.cs1668 "Send a <code>GET</code> request to <code>https://btcpay.example.com/api/v1/invoices/{invoiceId}</code> with <code>AutSTRING
HIGHdocs/developers/api/authentication.md10Authorization: token YOUR_API_KEYCODE
HIGHdocs/developers/api/examples.md9API_KEY="your-api-key"CODE
HIGHdocs/developers/api/README.md26API_KEY="your-api-key"CODE
Fake / Example Data10 hits · 12 pts
SeverityFileLineSnippetContext
LOW…wwwroot/swagger/v1/swagger.template.subscriptions.json722 "example": "user@example.com"CODE
LOW…wwwroot/swagger/v1/swagger.template.subscriptions.json1120 "example": "user@example.com"CODE
LOW⚡BTCPayServer/wwwroot/main/site.js519 e.target.setAttribute('placeholder', e.target.value)CODE
LOW⚡BTCPayServer/wwwroot/main/site.js523 if (!e.target.value) e.target.value = e.target.getAttribute('placeholder')CODE
LOW⚡BTCPayServer/wwwroot/main/site.js524 e.target.removeAttribute('placeholder')CODE
LOWBTCPayServer.Tests/EmailsTests.cs228 // new SendEmailRequest { Body = "lol", Subject = "subj", Email = "to@example.org" });COMMENT
LOWBTCPayServer.Tests/EmailsTests.cs268 new SendEmailRequest { Body = "lol", Subject = "subj", Email = "to@example.org" });CODE
LOWBTCPayServer.Tests/FastTests.cs476 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et CODE
LOWBTCPayServer.Tests/FastTests.cs476 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et CODE
LOWBTCPayServer.Tests/WalletTests.cs1234 await Expect(s.SearchFilters.DateRangeTimeZone).ToHaveAttributeAsync("placeholder", browserTimeZone + " (DefaultCODE
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…yServer/wwwroot/plugins/PluginManager/plugins-embed.js141 function renderSelectedPluginPanelLoading() {CODE
LOW…yServer/wwwroot/plugins/PluginManager/plugins-embed.js147 function renderSelectedPluginPanelError(slug) {CODE
LOW…yServer/wwwroot/plugins/PluginManager/plugins-embed.js159 async function reloadSelectedPluginPanel(slug) {CODE
LOWBTCPayServer/wwwroot/js/webauthn/login.js30async function verifyAssertionWithServer(assertedCredential) {CODE
LOWBTCPayServer/wwwroot/js/wallet/WalletSend.js44function updateFiatValueWithCurrentElement() {CODE
LOWBTCPayServer/wwwroot/js/wallet/WalletSend.js48function updateCryptoValueWithCurrentElement(){CODE
LOWBTCPayServer/wwwroot/modal/btcpay.js184 function appendAndShowInvoiceFrame(invoiceId, params) {CODE
LOWBTCPayServer/wwwroot/main/site.js442 function handleInputGroupClearButtonDisplay(element) {CODE
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMBTCPayServer/wwwroot/swagger/v1/swagger.template.json6 "description": "# Introduction\n\nThe BTCPay Server Greenfield API is a REST API. Our API has predictable resource-oCODE
MEDIUM.github/ISSUE_TEMPLATE/bug_report.yml46 description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no CODE
LOWBTCPayServer.Tests/FastTests.cs197 /// This test check that we don't forget to bump one image in both docker-compose.altcoins.yml and docker-composCOMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWBTCPayServer/Controllers/UIManageController.APIKeys.cs340 //matched the identifier and authority, but we need to check if what the app is requesting in terms of pCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWBTCPayServer.Tests/docker-bitcoin-multisig-setup.sh7# Usage:COMMENT