.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
This report presents the forensic synthetic code analysis of cefsharp/CefSharp, a C# project with 10,246 GitHub stars. SynthScan v2.0 examined 97,649 lines of code across 839 source files, recording 1195 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 12.6 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1195 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CefSharp.OffScreen.Example/crash_reporter.cfg | 1 | # Crash reporting is configured using an INI-style config file named | COMMENT |
| LOW | CefSharp/SslStatus.cs | 1 | // Copyright © 2016 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/SslStatus.cs | 21 | /// If the certificate is valid then <see cref="CertStatus.None"/> is returned. | COMMENT |
| LOW | CefSharp/WaitForSelectorAsyncResponse.cs | 1 | // Copyright © 2022 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/IPopupFeatures.cs | 1 | // Copyright © 2016 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/IPopupFeatures.cs | 21 | /// </summary> | COMMENT |
| LOW | CefSharp/DependencyChecker.cs | 21 | /// </summary> | COMMENT |
| LOW | CefSharp/DependencyChecker.cs | 101 | /// <summary> | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 1 | // Copyright © 2015 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 21 | /// function or targeted links will share the same render process and the same request context as | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 41 | /// <returns>Returns true if same storage</returns> | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 61 | /// Register a scheme handler factory for the specified schemeName and optional domainName. | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 81 | COMMENT | |
| LOW | CefSharp/IRequestContext.cs | 101 | /// <summary> | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 121 | /// preference values. This method must be called on the browser process UI | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 141 | /// application thread will be the CEF UI thread.</remarks> | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 161 | COMMENT | |
| LOW | CefSharp/IRequestContext.cs | 181 | /// <see cref="IRequestHandler.OnCertificateError"/>. If you call this it is | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 201 | /// completion. This param is optional</param> | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 221 | /// Returns the current value for <paramref name="contentType"/> that applies for the | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 241 | /// issues in Chromium. Make sure that you first understand the potential | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 261 | /// <param name="topLevelUrl">Top level url</param> | COMMENT |
| LOW | CefSharp/IRequestContext.cs | 281 | /// <param name="requestingUrl">Requesting url</param> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 21 | /// </summary> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 41 | { | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 481 | COMMENT | |
| LOW | CefSharp/WebBrowserExtensions.cs | 501 | /// or when <see cref="IChromiumWebBrowserBase.LoadError"/> is called to signify a load failure. | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 581 | throw; | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 601 | /// await Task.WhenAll( | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 781 | /// </summary> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 881 | request.Headers = headers; | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 941 | /// <remarks> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1101 | } | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1241 | /// </summary> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1341 | COMMENT | |
| LOW | CefSharp/WebBrowserExtensions.cs | 1361 | host.PrintToPdf(path, settings, callback); | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1401 | /// <summary> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1481 | COMMENT | |
| LOW | CefSharp/WebBrowserExtensions.cs | 1521 | } | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1541 | /// <param name="deltaX">The delta x coordinate.</param> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1601 | } | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1621 | /// in javascript is Promise.resolve so even no promise values will be treated as a promise. Your javascript sho | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1641 | } | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1661 | return browser.EvaluateScriptAsync(promiseHandlerScript, timeout: timeout, useImmediatelyInvokedFuncExpressi | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1741 | } | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1781 | /// <param name="methodName">The javascript method name to execute.</param> | COMMENT |
| LOW | CefSharp/WebBrowserExtensions.cs | 1861 | /// choose. | COMMENT |
| LOW | CefSharp/IUrlRequestClient.cs | 1 | // Copyright © 2019 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/IUrlRequestClient.cs | 21 | /// <param name="port">the port number.</param> | COMMENT |
| LOW | CefSharp/IUrlRequestClient.cs | 41 | /// Notifies the client of download progress. | COMMENT |
| LOW | CefSharp/WaitForNavigationAsyncResponse.cs | 1 | // Copyright © 2022 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/WaitForNavigationAsyncResponse.cs | 21 | /// </summary> | COMMENT |
| LOW | CefSharp/ResourceRequestHandlerFactoryItem.cs | 1 | // Copyright © 2017 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/IRequest.cs | 1 | // Copyright © 2014 The CefSharp Authors. All rights reserved. | COMMENT |
| LOW | CefSharp/IRequest.cs | 21 | /// <summary> | COMMENT |
| LOW | CefSharp/IRequest.cs | 41 | string Method { get; set; } | COMMENT |
| LOW | CefSharp/IRequest.cs | 61 | COMMENT | |
| LOW | CefSharp/IRequest.cs | 81 | /// request.Headers = headers; | COMMENT |
| LOW | CefSharp/IRequest.cs | 101 | COMMENT | |
| LOW | CefSharp/IRequest.cs | 121 | COMMENT | |
| 1109 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | CefSharp/Enums/CefErrorCode.cs | 503 | /// Failed to set the socket's receive buffer size as requested. | COMMENT |
| HIGH⚡ | CefSharp/Enums/CefErrorCode.cs | 508 | /// Failed to set the socket's send buffer size as requested. | COMMENT |
| HIGH⚡ | CefSharp/Enums/CefErrorCode.cs | 513 | /// Failed to set the socket's receive buffer size as requested, despite success | COMMENT |
| HIGH⚡ | CefSharp/Enums/CefErrorCode.cs | 519 | /// Failed to set the socket's send buffer size as requested, despite success | COMMENT |
| HIGH | …e.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | CefSharp.Example/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …harp.WinForms.Example/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | CefSharp.Core/BrowserSubprocess/SelfHost.cs | 79 | var browserSubprocessDll = System.Runtime.Loader.AssemblyLoadContext.Default.LoadFromAssemblyPath(browserSub | CODE |
| CRITICAL | CefSharp.Wpf.Example/Views/BrowserTabView.xaml.cs | 225 | CefSharp.Example.Properties.Resources.beach.Save(beachImageStream, System.Drawing.Imaging.ImageFormat.Jpeg); | CODE |
| CRITICAL | CefSharp.Example/Resources/assets/js/jquery.js | 5 | return new Za.prototype.init(a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,t | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CefSharp.Test/WebBrowserTestExtensions.cs | 73 | //end up with CefErrorCode.Aborted, I've created the following PR | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CefSharp/Handler/ResourceRequestHandler.cs | 15 | public class ResourceRequestHandler : IResourceRequestHandler | CODE |
| LOW | CefSharp/Handler/RequestHandler.cs | 14 | public class RequestHandler : IRequestHandler | CODE |
| LOW | CefSharp/Internals/InMemoryResourceRequestHandler.cs | 12 | public sealed class InMemoryResourceRequestHandler : IResourceRequestHandler | CODE |
| LOW | CefSharp.Example/Resources/ExceptionTest.html | 62 | function errorCallbackResultLogger(s) | CODE |
| LOW | …harp.Example/Handlers/ExampleResourceRequestHandler.cs | 21 | public class ExampleResourceRequestHandler : ResourceRequestHandler | CODE |
| LOW | CefSharp.Example/Handlers/ExampleRequestHandler.cs | 17 | public class ExampleRequestHandler : RequestHandler | CODE |
| LOW | …rp.WinForms.Example/Handlers/WinFormsRequestHandler.cs | 12 | public class WinFormsRequestHandler : ExampleRequestHandler | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CefSharp/Enums/CookieSameSite.cs | 21 | /// None used to be the default value, but recent browser versions made Lax the default value to have reasonably | COMMENT |
| MEDIUM | CefSharp/Enums/CefErrorCode.cs | 883 | /// numbers that correspond to services, which are not robust to spurious input | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CefSharp.Wpf/ChromiumWebBrowser.cs | 947 | // TODO: The following code block *should* handle images, but GetFileContents is | COMMENT |
| LOW | CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs | 113 | //once we're on the UI thread we need to check if it's still valid | COMMENT |
| LOW | CefSharp.Wpf/Rendering/InteropBitmapRenderHandler.cs | 57 | //Take a reference to the backBufferHandle, once we're on the UI thread we need to check if it's still v | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CefSharp.Test/CookieManager/CookieManagerTests.cs | 102 | Assert.Equal("John Doe", cookie.Value); | CODE |
| LOW | CefSharp.Example/Resources/BindingTestSync.js | 122 | assert.equal("John Doe", employees[0].firstName + " " + employees[0].lastName, "Employee : " + employees[0].firs | CODE |
| LOW | CefSharp.Example/Resources/LegacyBindingTest.html | 91 | assert.equal("John Doe", employees[0].firstName + " " + employees[0].lastName, "Employee : " + employees | CODE |