ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
This report presents the forensic synthetic code analysis of dotnet/aspnetcore, a C# project with 38,339 GitHub stars. SynthScan v2.0 examined 1,944,755 lines of code across 13392 source files, recording 10962 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 29.2 places this repository in the Moderate 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 10962 distinct pattern matches across 20 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 |
|---|---|---|---|---|
| CRITICAL⚡ | docs/Helix.md | 72 | D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targe | CODE |
| CRITICAL⚡ | docs/Helix.md | 73 | D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targe | CODE |
| CRITICAL⚡ | docs/Helix.md | 74 | ##[error].packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78, | COMMENT |
| CRITICAL | …eware/Rewrite/src/PatternSegments/ServerNameSegment.cs | 12 | return context.HttpContext.Request.Host.Host.ToString(CultureInfo.InvariantCulture); | CODE |
| CRITICAL | src/Middleware/HealthChecks/src/PublicAPI.Shipped.txt | 2 | ~Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware.InvokeAsync(Microsoft.AspNetCore.Http.HttpContext h | CODE |
| CRITICAL⚡ | src/Middleware/HealthChecks/src/PublicAPI.Shipped.txt | 14 | Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware.HealthCheckMiddleware(Microsoft.AspNetCore.Http.Requ | CODE |
| CRITICAL⚡ | src/Middleware/HealthChecks/src/PublicAPI.Shipped.txt | 15 | Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware.InvokeAsync(Microsoft.AspNetCore.Http.HttpContext! h | CODE |
| CRITICAL⚡ | src/Middleware/HealthChecks/src/PublicAPI.Shipped.txt | 19 | Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions.HealthCheckOptions() -> void | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 66 | req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r")); | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 83 | req.Headers.Add("If-Modified-Since", original.Content.Headers.LastModified.Value.AddHours(-1).ToString("r")); | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 100 | req.Headers.Add("If-Modified-Since", original.Content.Headers.LastModified.Value.ToString("r")); | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 117 | req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r")); | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 172 | req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.Subtract(TimeSpan.FromDays(1)).ToString( | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 191 | req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.Subtract(TimeSpan.FromDays(1)).ToString( | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 219 | req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r")); | CODE |
| CRITICAL | …dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs | 246 | req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r")); | CODE |
| CRITICAL | src/Middleware/StaticFiles/src/PublicAPI.Shipped.txt | 66 | Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions.SharedOptions() -> void | CODE |
| CRITICAL | src/Middleware/StaticFiles/src/PublicAPI.Shipped.txt | 75 | Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase.SharedOptionsBase(Microsoft.AspNetCore.StaticFiles.Inf | CODE |
| CRITICAL⚡ | …e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt | 15 | Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliBuilder.AngularCliBuilder(string! npmScript) -> void | CODE |
| CRITICAL⚡ | …e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt | 16 | Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliBuilder.Build(Microsoft.AspNetCore.SpaServices.ISpaBuilder! spaBui | CODE |
| CRITICAL⚡ | …e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt | 22 | Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerendererBuilder.Build(Microsoft.AspNetCore.SpaServices.ISpaBuilder! | CODE |
| CRITICAL⚡ | …e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt | 43 | Microsoft.AspNetCore.SpaServices.StaticFiles.SpaStaticFilesOptions.SpaStaticFilesOptions() -> void | CODE |
| CRITICAL⚡ | …e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt | 49 | static Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddlewareExtensions.UseAngularCliServer(this Microsoft.Asp | CODE |
| CRITICAL⚡ | …e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt | 50 | static Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer.ReactDevelopmentServerMiddlewareExtensions.UseReactDevelo | CODE |
| CRITICAL | …eCompression/test/ResponseCompressionMiddlewareTest.cs | 1325 | request.Headers.AcceptEncoding.Add(System.Net.Http.Headers.StringWithQualityHeaderValue.Parse(requestAcceptE | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 5 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 6 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 7 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 8 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext context, Microsoft | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 9 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddDefaultPolicy(Microsoft.AspNetCore.Cors.Infrastructure.CorsPoli | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 10 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddDefaultPolicy(System.Action<Microsoft.AspNetCore.Cors.Infrastru | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 11 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(string name, Microsoft.AspNetCore.Cors.Infrastructure.Co | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 12 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(string name, System.Action<Microsoft.AspNetCore.Cors.Inf | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 13 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.GetPolicy(string name) -> Microsoft.AspNetCore.Cors.Infrastructure | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 16 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyHeader() -> Microsoft.AspNetCore.Cors.Infrastructure | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 17 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyMethod() -> Microsoft.AspNetCore.Cors.Infrastructure | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 18 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyOrigin() -> Microsoft.AspNetCore.Cors.Infrastructure | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 19 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowCredentials() -> Microsoft.AspNetCore.Cors.Infrastructu | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 20 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.Build() -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPoli | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 21 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.CorsPolicyBuilder(Microsoft.AspNetCore.Cors.Infrastructure.C | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 22 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.CorsPolicyBuilder(params string[] origins) -> void | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 23 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.DisallowCredentials() -> Microsoft.AspNetCore.Cors.Infrastru | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 24 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.SetIsOriginAllowed(System.Func<string, bool> isOriginAllowed | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 25 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.SetIsOriginAllowedToAllowWildcardSubdomains() -> Microsoft.A | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 26 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.SetPreflightMaxAge(System.TimeSpan preflightMaxAge) -> Micro | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 27 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithExposedHeaders(params string[] exposedHeaders) -> Micros | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 28 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithHeaders(params string[] headers) -> Microsoft.AspNetCore | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 29 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithMethods(params string[] methods) -> Microsoft.AspNetCore | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 30 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithOrigins(params string[] origins) -> Microsoft.AspNetCore | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 34 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, Micr | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 35 | ~Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, stri | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 36 | ~Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider.GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 38 | ~Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider.GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext conte | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 39 | ~Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult r | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 40 | ~Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, Mic | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 41 | ~override Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.ToString() -> string | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 42 | ~override Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.ToString() -> string | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 61 | ~virtual Microsoft.AspNetCore.Cors.Infrastructure.CorsService.ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsR | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 62 | ~virtual Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePreflightRequest(Microsoft.AspNetCore.Http.HttpCon | CODE |
| CRITICAL⚡ | src/Middleware/CORS/src/PublicAPI.Shipped.txt | 63 | ~virtual Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluateRequest(Microsoft.AspNetCore.Http.HttpContext cont | CODE |
| 5074 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .CodeQL.yml | 1 | # This file configures CodeQL runs and TSA bug autofiling. For more information, see: | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | eng/common/vmr-sync.sh | 1 | #!/bin/bash | COMMENT |
| LOW | eng/common/vmr-sync.sh | 21 | ### | COMMENT |
| LOW | eng/common/native/init-distro-rid.sh | 1 | #!/bin/sh | COMMENT |
| LOW | eng/common/native/init-distro-rid.sh | 61 | COMMENT | |
| LOW | …common/templates-official/variables/pool-providers.yml | 1 | # Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool | COMMENT |
| LOW | eng/common/templates/vmr-build-pr.yml | 1 | # This pipeline is used for running the VMR verification of the PR changes in repo-level PRs. | COMMENT |
| LOW | eng/common/templates/variables/pool-providers.yml | 1 | # Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool | COMMENT |
| LOW | eng/common/core-templates/stages/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| LOW | eng/common/core-templates/steps/install-microbuild.yml | 1 | parameters: | COMMENT |
| LOW | eng/common/core-templates/job/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| LOW | eng/common/core-templates/job/source-build.yml | 1 | parameters: | COMMENT |
| LOW | eng/common/core-templates/job/source-build.yml | 21 | # published by source-build. | COMMENT |
| LOW | eng/common/core-templates/job/helix-job-monitor.yml | 61 | # are treated as failed: they count toward the monitor's exit code and are resubmitted by a | COMMENT |
| LOW | eng/scripts/CaptureHangDumps.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .devcontainer/scripts/container-creation.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/workflows/community-pr-issue-check.lock.yml | 1 | # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"32c536b4383477606ab75e3e7dc7d1329d148c0d49a14755d3bc1519775 | COMMENT |
| LOW | .github/workflows/community-pr-issue-check.lock.yml | 21 | # gh aw compile | COMMENT |
| LOW | .github/workflows/community-pr-issue-check.lock.yml | 41 | # - COPILOT_PAT_8 | COMMENT |
| LOW | .github/workflows/browsertesting-deps-update.lock.yml | 1 | # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"557a63eb7205998ed03d85a8f0c3a9a7839fe4a94285f49e6b09c1431af | COMMENT |
| LOW | .github/workflows/browsertesting-deps-update.lock.yml | 21 | # gh aw compile | COMMENT |
| LOW | .github/workflows/browsertesting-deps-update.lock.yml | 41 | # - COPILOT_PAT_8 | COMMENT |
| LOW | .github/workflows/browsertesting-deps-update.lock.yml | 841 | # --allow-tool shell(echo) | COMMENT |
| LOW | .github/workflows/cswin32-update.lock.yml | 1 | # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"3f1ad11f79a4a6d27a60dbd95442cbf1e59d9315f74db48e9b50e604c21 | COMMENT |
| LOW | .github/workflows/cswin32-update.lock.yml | 21 | # gh aw compile | COMMENT |
| LOW | .github/workflows/cswin32-update.lock.yml | 41 | # - COPILOT_PAT_8 | COMMENT |
| LOW | .github/workflows/cswin32-update.lock.yml | 841 | # --allow-tool shell(chmod) | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 1 | # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"556bd367063bd31c6255c9edb091c14ae5ddf96f38bc1e2c7454207ec7f | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 21 | # gh aw compile | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 41 | # - COPILOT_PAT_8 | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 61 | # - ghcr.io/github/gh-aw-firewall/agent:0.27.11@sha256:979723c628182da7729333f2208bb249fd25ddee579645cf9a3892d681a929c | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 81 | # # GitHub token access and writes results that get injected into the agent prompt. | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 101 | # url = part.split("<")[1].split(">")[0] | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 121 | # | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 141 | # # treating the whole file as potentially re-quarantined | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 161 | # | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 181 | # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 201 | # req = urllib.request.Request(url, headers=headers) | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 221 | # github_output = os.environ.get("GITHUB_OUTPUT", "") | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 241 | # python3 << 'SCRIPT' | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 261 | # results.extend(data.get("items", [])) | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 281 | # url = f"https://api.github.com/repos/dotnet/aspnetcore/issues/{number}/comments?per_page=100" | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 301 | # for part in link.split(","): | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 321 | # try: | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 341 | # # recognized as trusted — either because they are a public dotnet org member, or | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 361 | # closer_is_privileged_human = bool( | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 381 | # # members), (2) a public member of the dotnet org, or (3) a login that authored | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 401 | # # rather than letting it be silently dropped later and starve the guardrail. | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 421 | # id: source_b_prs | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 441 | # if headers: | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 461 | # BUILDS = "https://dev.azure.com/dnceng-public/public/_apis/build/builds" | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 481 | # if not branch.startswith("refs/pull/"): | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 501 | # | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 521 | # sys.exit(f"FATAL: GitHub GraphQL {e.code} — aborting Source B verification") | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 541 | # for alias, pr in repo.items(): | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 561 | # # commit matches that PR's head SHA. Emit only those build IDs. --- | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 581 | # # workflow: it spans ~200 builds, many resultsbyBuild calls, and multi-MB Helix | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 601 | # # Source C: for work items (names ending .WorkItemExecution) use those Helix | COMMENT |
| LOW | .github/workflows/test-quarantine.lock.yml | 621 | # | COMMENT |
| 5179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …vc/Mvc.Analyzers/src/TagHelpersInCodeBlocksAnalyzer.cs | 25 | // Generated Razor code is considered auto generated. By default analyzers skip over auto-generated code unless | COMMENT |
| HIGH | …erences#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …malApis#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …rollers#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …alTexts#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …OpenApi#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …Schemas#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …rollers#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …Formats#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …tionIds#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | …Schemas#OpenApiXmlCommentSupport.generated.verified.cs | 4 | // This code was generated by a tool. | COMMENT |
| HIGH | src/OpenApi/gen/XmlCommentGenerator.Emitter.cs | 22 | // This code was generated by a tool. | COMMENT |
| HIGH | …E2ETest/ServerRenderingTests/EnhancedNavigationTest.cs | 777 | // Staleness check is used to assert enhanced navigation is enabled/disabled, as requested | COMMENT |
| HIGH | …E2ETest/ServerRenderingTests/EnhancedNavigationTest.cs | 857 | // staleness check is used to assert enhanced navigation is enabled/disabled, as requested | COMMENT |
| HIGH | src/Http/Routing/tools/Swaggatherer/Template.cs | 77 | // This code was generated by the Swaggatherer | COMMENT |
| HIGH | …marks/Matching/MatcherGithubBenchmarkBase.generated.cs | 9 | // This code was generated by the Swaggatherer | COMMENT |
| HIGH | …kGeneration/LinkGenerationGithubBenchmark.generated.cs | 10 | // This code was generated by the Swaggatherer | COMMENT |
| HIGH | …_TakesCustomMetadataEmitter_Has_Metadata.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ptyQueryStringValueProvided_StringReturn.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …urnsValidationProblemResult_Has_Metadata.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …icitQuery_NullableIntArrayParam_Optional.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tion_ExplicitQuery_ComplexTypeArrayParam.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …thArrayQueryString_AndBody_ShouldUseBody.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …r/Baselines/MapAction_BindAsync_Snapshot.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …apAction_NoParam_StringReturn_WithFilter.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ullableStringArrayParam_EmptyQueryValues.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …pAction_MultipleStringParam_StringReturn.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ltiple_MapAction_WithParams_StringReturn.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …icitQuery_NullableIntArrayParam_Optional.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …es/MapAction_ReturnsVoid_Has_No_Metadata.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …n_ExplicitQuery_NullableStringArrayParam.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …pportsSameInterceptorsFromDifferentFiles.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ion_ExplicitSource_SimpleReturn_Snapshot.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …QueryString_AndBody_ShouldUseQueryString.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …nBodyOrService_HandlesBothJsonAndService.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …MapAction_ImplicitQuery_StringArrayParam.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …/Multiple_MapAction_NoParam_StringReturn.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tringArrayParam_Optional_QueryNotPresent.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ion_ExplicitHeader_ComplexTypeArrayParam.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …_ExplicitHeader_NullableStringArrayParam.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tor/Baselines/VerifyAsParametersBaseline.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …_ImplicitQuery_StringArrayParam_Optional.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rtsDifferentInterceptorsFromSameLocation.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …y_IntArrayParam_Optional_QueryNotPresent.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …s/MapAction_SingleEnumParam_StringReturn.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …leIntArrayParam_Optional_QueryNotPresent.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …lines/MapAction_ReturnsTodo_Has_Metadata.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …/MapPost_WithArrayQueryString_ShouldFail.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …y_IntArrayParam_Optional_QueryNotPresent.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …thArrayQueryString_AndBody_ShouldUseBody.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …on_MultipleSpecialTypeParam_StringReturn.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ion_ImplicitQuery_IntArrayParam_Optional.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ion_ExplicitQuery_IntArrayParam_Optional.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ExplicitBodyParam_ComplexReturn_Snapshot.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tion_SingleComplexTypeParam_StringReturn.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …leIntArrayParam_Optional_QueryNotPresent.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …_ExplicitQuery_StringArrayParam_Optional.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tringArrayParam_Optional_QueryNotPresent.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …n_ImplicitQuery_NullableStringArrayParam.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …thArrayQueryString_AndBody_ShouldUseBody.generated.txt | 3 | // This code was generated by a tool. | COMMENT |
| 57 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 49 | async def download_deb_files_parallel(mirror, packages, tmp_dir): | CODE |
| LOW | eng/common/cross/install-debs.py | 65 | async def download_package_index_parallel(mirror, arch, suites, check_sig, keyring): | CODE |
| LOW | eng/common/cross/install-debs.py | 337 | def _rootfs_extraction_filter(member, dest_path): | CODE |
| LOW | …rWebCSharp.1/Components/Layout/ReconnectModal.razor.js | 11 | function handleReconnectStateChanged(event) { | CODE |
| LOW | …rWebCSharp.1/Components/Layout/ReconnectModal.razor.js | 59 | async function retryWhenDocumentBecomesVisible() { | CODE |
| LOW | src/SignalR/clients/ts/FunctionalTests/ts/Common.ts | 108 | export function eachTransportAndProtocolAndHttpClient(action: (transport: HttpTransportType, protocol: IHubProtocol, htt | CODE |
| LOW | src/SignalR/clients/ts/signalr/tests/Utils.ts | 6 | export function registerUnhandledRejectionHandler(): void { | CODE |
| LOW | …ignalR/clients/ts/signalr/tests/HttpConnection.test.ts | 39 | function ServerSentEventsNotAllowed() { throw new Error("Don't allow ServerSentEvents."); } | CODE |
| LOW | …/Microsoft.JSInterop.JS/src/src/Microsoft.JSInterop.ts | 581 | export function disposeJSObjectReferenceById(id: number) { | CODE |
| LOW | …ps/Wasm.Performance/TestApp/wwwroot/benchmarks/grid.js | 79 | async function measureRenderGridFromBlank(app) { | CODE |
| LOW | …ps/Wasm.Performance/TestApp/wwwroot/benchmarks/grid.js | 99 | async function measureRenderGridSwitchPages(app) { | CODE |
| LOW | …AspNetCore.Components.QuickGrid/src/QuickGrid.razor.js | 29 | export function checkColumnOptionsPosition(tableElement) { | CODE |
| LOW | …ver/RazorComponents/Components/ReconnectModal.razor.js | 11 | function handleReconnectStateChanged(event) { | CODE |
| LOW | …ver/RazorComponents/Components/ReconnectModal.razor.js | 59 | async function retryWhenDocumentBecomesVisible() { | CODE |
| LOW | …onents/test/testassets/BasicTestApp/wwwroot/index.html | 44 | function navigationManagerNavigate() { | CODE |
| LOW | …onents/test/testassets/BasicTestApp/wwwroot/index.html | 52 | function getRuntimeBuildConfiguration() { | CODE |
| LOW | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 5 | async function invokeDotNetInteropMethodsAsync(shouldSupportSyncInterop, dotNetObjectByRef, instanceMethodsTarget, gener | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 313 | function roundTripByteArrayWrapperObject(byteArrayWrapperObject) { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 320 | function jsToDotNetStreamReturnValueAsync() { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 329 | function jsToDotNetStreamReturnValue() { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 334 | function jsToDotNetStreamWrapperObjectReturnValueAsync() { | CODE |
| LOW | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 346 | function roundTripByteArrayWrapperObjectAsync(byteArrayWrapperObject) { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 389 | function asyncFunctionThrowsSyncException() { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 393 | function asyncFunctionThrowsAsyncException() { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 399 | function asyncFunctionTakesLongerThanDefaultTimeoutToResolve() { | CODE |
| LOW | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 433 | function receiveDotNetObjectByRefAsync(incomingData) { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 450 | async function validateDotNetStreamReference(streamRef) { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 456 | async function validateDotNetStreamWrapperReference(wrapper) { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 463 | async function receiveDotNetStreamReference(streamRef) { | CODE |
| LOW⚡ | …t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js | 467 | async function receiveDotNetStreamWrapperReference(wrapper) { | CODE |
| LOW | src/Components/Web.JS/src/PageTitle.ts | 10 | function getAndRemoveExistingTitle(): string | null { | CODE |
| LOW | src/Components/Web.JS/src/PageTitle.ts | 10 | function getAndRemoveExistingTitle(): string | null { | CODE |
| LOW | src/Components/Web.JS/src/StreamingInterop.ts | 21 | function getChunkFromArrayBufferView(data: ArrayBufferView, position: number, nextChunkSize: number): Uint8Array { | CODE |
| LOW | src/Components/Web.JS/src/Boot.WebAssembly.Common.ts | 208 | export function loadWebAssemblyPlatformIfNotStarted(serverOptions: WebAssemblyServerOptions | undefined, justDownload?: | CODE |
| LOW⚡ | src/Components/Web.JS/src/Boot.WebAssembly.Common.ts | 236 | export function hasStartedLoadingWebAssemblyPlatform(): boolean { | CODE |
| LOW⚡ | src/Components/Web.JS/src/Boot.WebAssembly.Common.ts | 240 | export function hasLoadedWebAssemblyPlatform(): boolean { | CODE |
| LOW⚡ | src/Components/Web.JS/src/Boot.WebAssembly.Common.ts | 244 | export function updateWebAssemblyRootComponents(operations: string, webAssemblyState: string): void { | CODE |
| LOW | src/Components/Web.JS/src/Boot.WebAssembly.Common.ts | 283 | function receiveWebAssemblyDotNetDataStream(streamId: number, data: Uint8Array, bytesRead: number, errorMessage: string) | CODE |
| LOW | src/Components/Web.JS/src/Virtualize.ts | 20 | function findClosestScrollContainer(element: HTMLElement | null): HTMLElement | null { | CODE |
| LOW | src/Components/Web.JS/src/Virtualize.ts | 104 | function applyLayoutAttrsBetweenSpacers(): void { | CODE |
| LOW | src/Components/Web.JS/src/Virtualize.ts | 128 | function flushPendingStyleMutations(): void { | CODE |
| LOW | src/Components/Web.JS/src/Virtualize.ts | 179 | function beginProgrammaticScrollSuppression(): void { | CODE |
| LOW | src/Components/Web.JS/src/Virtualize.ts | 189 | function compensateScrollForItemResizes(entries: ResizeObserverEntry[]): void { | CODE |
| LOW | src/Components/Web.JS/src/Virtualize.ts | 410 | function startConvergenceObserving(): void { | CODE |
| LOW | src/Components/Web.JS/src/Virtualize.ts | 682 | function processIntersectionEntries(entries: IntersectionObserverEntry[]): void { | CODE |
| LOW | src/Components/Web.JS/src/Boot.Server.Common.ts | 190 | export function updateServerRootComponents(operations: string, serverState: string): Promise<void> | undefined { | CODE |
| LOW | src/Components/Web.JS/src/Boot.Web.ts | 105 | function onInitialDomContentLoaded(options: Partial<WebStartOptions>) { | CODE |
| LOW | src/Components/Web.JS/src/Boot.Web.ts | 181 | function initFormValidationIfNeeded(formValidation?: ValidationOptions): void { | CODE |
| LOW | src/Components/Web.JS/src/Boot.Web.ts | 198 | async function callAfterStartedCallbacks(initializersPromise: Promise<JSInitializer>): Promise<void> { | CODE |
| LOW | src/Components/Web.JS/src/Boot.WebView.ts | 43 | function receiveWebViewDotNetDataStream(streamId: number, data: any, bytesRead: number, errorMessage: string): void { | CODE |
| LOW | …ts/Web.JS/src/Platform/Circuits/CircuitStartOptions.ts | 53 | function computeDefaultRetryInterval(previousAttempts: number, maxRetries?: number): number | null { | CODE |
| LOW | …onents/Web.JS/src/Platform/WebView/WebViewIpcCommon.ts | 23 | export function setApplicationIsTerminated(): void { | CODE |
| LOW | …onents/Web.JS/src/Platform/WebView/WebViewIpcSender.ts | 14 | export function sendBeginInvokeDotNetFromJS(callId: number, assemblyName: string | null, methodIdentifier: string, dotNe | CODE |
| LOW | …onents/Web.JS/src/Platform/WebView/WebViewIpcSender.ts | 18 | export function sendEndInvokeJSFromDotNet(asyncHandle: number, succeeded: boolean, argsJson: any): void { | CODE |
| LOW | src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts | 58 | getObjectFieldsBaseAddress: function getObjectFieldsBaseAddress(referenceTypedObject: System_Object): Pointer { | CODE |
| LOW | …Components/Web.JS/src/JSInitializers/JSInitializers.ts | 57 | async function importAndInvokeInitializer(jsInitializer: JSInitializer, asset: JSAsset): Promise<void> { | CODE |
| LOW | …Components/Web.JS/src/JSInitializers/JSInitializers.ts | 91 | function runMultiRuntimeInitializers( | CODE |
| LOW | …onents/Web.JS/src/JSInitializers/JSInitializers.Web.ts | 9 | export async function fetchAndInvokeInitializers(options: Partial<WebStartOptions>, logger: Logger) : Promise<JSInitiali | CODE |
| LOW | …nts/Web.JS/src/JSInitializers/JSInitializers.Server.ts | 8 | export async function fetchAndInvokeInitializers(options: Partial<CircuitStartOptions>) : Promise<JSInitializer> { | CODE |
| LOW | …ts/Web.JS/src/JSInitializers/JSInitializers.WebView.ts | 6 | export async function fetchAndInvokeInitializers() : Promise<JSInitializer> { | CODE |
| 86 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/cswin32-update.md | 127 | ### Step 1: Check for a newer CsWin32 version | COMMENT |
| LOW | .github/workflows/cswin32-update.md | 144 | ### Step 2: Restore and build | COMMENT |
| LOW | .github/workflows/cswin32-update.md | 184 | ### Step 3: Research what changed in CsWin32 | COMMENT |
| LOW | .github/workflows/cswin32-update.md | 210 | ### Step 4: Find and fix CsWin32 workarounds | COMMENT |
| LOW | .github/workflows/triage-comment-reviewer.md | 109 | ## Step 1: Fetch Issue Context | COMMENT |
| LOW | .github/workflows/triage-comment-reviewer.md | 303 | ## Step 3: Decision Gate | COMMENT |
| LOW | .github/workflows/triage-comment-reviewer.md | 349 | ## Step 4: Take Action (exactly one) | COMMENT |
| LOW | .github/workflows/issue-triage-agent.md | 152 | ## Step 1: Area Classification | COMMENT |
| LOW | .github/workflows/issue-triage-agent.md | 342 | ## Step 2: Type Classification | COMMENT |
| LOW | .github/workflows/issue-triage-agent.md | 351 | ## Step 3: Additional Labels | COMMENT |
| LOW | .github/workflows/issue-triage-agent.md | 367 | ## Step 4: Regression Detection | COMMENT |
| LOW | .github/workflows/issue-triage-agent.md | 389 | ## Step 5: Duplicate Detection | COMMENT |
| LOW | .github/workflows/issue-triage-agent.md | 410 | ## Step 6: Draft the Triage Comment | COMMENT |
| LOW | .github/workflows/issue-triage-agent.md | 509 | ## Step 7: Apply Labels, Type, and Hand Off the Comment | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 71 | // Step 1: Safe methods are always allowed regardless of headers. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 86 | // Step 2: Trusted origins (from the applicable CORS policy) allow cross-origin requests. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 195 | // Step 3: Sec-Fetch-Site header validation. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 216 | // Step 4: No Sec-Fetch-Site header → fall back to Origin vs Host comparison. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 281 | // Step 5: No Sec-Fetch-Site AND no Origin → non-browser → allowed. | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 28 | // Step 1: Safe methods are always allowed. | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 34 | // Step 2: Sec-Fetch-Site accept path. The vast majority of legitimate browser | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 43 | // Step 3: Check trusted origins from the CORS policy that applies to this request | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 62 | // Step 4: Sec-Fetch-Site deny path. Any value other than "same-origin"/"none" | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 69 | // Step 5: No Sec-Fetch-Site header. Fall back to Origin vs Host comparison. | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 77 | // Step 6: No Sec-Fetch-Site AND no Origin header. | COMMENT |
| LOW | …ncyInjection/MvcNewtonsoftJsonOptionsExtensionsTest.cs | 240 | // NOTE: This method was created to make sure to create a different instance of contract resolver as by default | COMMENT |
| LOW | …src/Infrastructure/DefaultPageHandlerMethodSelector.cs | 87 | // Step 1: match on HTTP method. | COMMENT |
| LOW | …src/Infrastructure/DefaultPageHandlerMethodSelector.cs | 117 | // Step 2: remove candidates with non-matching handlers. | COMMENT |
| LOW⚡ | …c/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs | 127 | // Step 1 - capture old token | COMMENT |
| LOW⚡ | …c/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs | 130 | // Step 2 - update endpoints | COMMENT |
| LOW⚡ | …c/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs | 133 | // Step 3 - create new change token | COMMENT |
| LOW⚡ | …c/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs | 137 | // Step 4 - trigger old token | COMMENT |
| LOW | …structure/DefaultActionDescriptorCollectionProvider.cs | 167 | // Step 4 - might be null if it's the first time. | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 29 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 33 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 37 | // Step 3: validate that there's now a single key in the directory and that it's not protected | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 95 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 99 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 106 | // Step 3: validate that there's now a single key in the directory and that it's protected with DPAPI | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 139 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 143 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 152 | // Step 3: validate that there's now a single key in the directory and that it's is protected using | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 223 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 227 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 232 | // Step 3: validate that there's now a single key in the directory and that it's is protected using the cert | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 252 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 256 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 261 | // Step 3: validate that there's no key in the directory | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 292 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 296 | // Step 2: instantiate the system and create some data | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 303 | // Step 3: validate that there's now a single key in the directory and that it's is protected using the cert | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 311 | // Step 4: setup a second system and validate it can decrypt keys and unprotect data | COMMENT |
| LOW | …tection/Extensions/test/DataProtectionProviderTests.cs | 54 | // Step 1: Instantiate the system and round-trip a payload | COMMENT |
| LOW | …tection/Extensions/test/DataProtectionProviderTests.cs | 72 | // Step 2: Validate that there's now a single key in the directory | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 336 | // Step 1: Generate a random key modifier and IV for this operation. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 342 | // Step 2: Decrypt the KDK, and use it to generate new encryption and HMAC keys. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 354 | // Step 2: Copy the key modifier and the IV to the output stream since they'll act as a header. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 357 | // Step 3: Generate IV for this operation right into the result array | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 361 | // Step 4: Perform the encryption operation. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 371 | // Step 5: Calculate the digest over the IV and ciphertext. | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 71 | // Step 1: Safe methods are always allowed regardless of headers. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 86 | // Step 2: Trusted origins (from the applicable CORS policy) allow cross-origin requests. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 195 | // Step 3: Sec-Fetch-Site header validation. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 216 | // Step 4: No Sec-Fetch-Site header → fall back to Origin vs Host comparison. | COMMENT |
| LOW | …crosoft.AspNetCore.Tests/DefaultCsrfProtectionTests.cs | 281 | // Step 5: No Sec-Fetch-Site AND no Origin → non-browser → allowed. | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 28 | // Step 1: Safe methods are always allowed. | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 34 | // Step 2: Sec-Fetch-Site accept path. The vast majority of legitimate browser | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 43 | // Step 3: Check trusted origins from the CORS policy that applies to this request | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 62 | // Step 4: Sec-Fetch-Site deny path. Any value other than "same-origin"/"none" | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 69 | // Step 5: No Sec-Fetch-Site header. Fall back to Origin vs Host comparison. | COMMENT |
| LOW⚡ | …c/DefaultBuilder/src/Internal/DefaultCsrfProtection.cs | 77 | // Step 6: No Sec-Fetch-Site AND no Origin header. | COMMENT |
| LOW | …src/Infrastructure/DefaultPageHandlerMethodSelector.cs | 87 | // Step 1: match on HTTP method. | COMMENT |
| LOW | …src/Infrastructure/DefaultPageHandlerMethodSelector.cs | 117 | // Step 2: remove candidates with non-matching handlers. | COMMENT |
| LOW | src/Mvc/Mvc.Core/src/Formatters/FormatFilter.cs | 97 | // We need to check if the action can generate the content type the user asked for. That is, treat the | COMMENT |
| LOW | …clients/ts/FunctionalTests/scripts/karma.local.conf.js | 21 | // On linux, the browsers just return the command, not a path, so we need to check if it exists. | COMMENT |
| LOW | …c/SignalR/clients/ts/signalr/src/WebSocketTransport.ts | 97 | // ErrorEvent is a browser only type we need to check if the type exists before using it | COMMENT |
| LOW | …c/SignalR/clients/ts/signalr/src/WebSocketTransport.ts | 126 | // ErrorEvent is a browser only type we need to check if the type exists before using it | COMMENT |
| LOW | src/SignalR/server/Core/src/HubConnectionContext.cs | 670 | // If there's a transfer format feature, we need to check if we're compatible and set th | COMMENT |
| LOW | …mponents/Web.JS/src/Rendering/Events/EventDelegator.ts | 171 | // when connection closed, it will detachWebRendererInterop, so we need to check if the renderer is still attached | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 29 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 33 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 37 | // Step 3: validate that there's now a single key in the directory and that it's not protected | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 95 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 99 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 106 | // Step 3: validate that there's now a single key in the directory and that it's protected with DPAPI | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 139 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 143 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 152 | // Step 3: validate that there's now a single key in the directory and that it's is protected using | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 223 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 227 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 232 | // Step 3: validate that there's now a single key in the directory and that it's is protected using the cert | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 252 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 256 | // Step 2: instantiate the system and round-trip a payload | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 261 | // Step 3: validate that there's no key in the directory | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 292 | // Step 1: directory should be completely empty | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 296 | // Step 2: instantiate the system and create some data | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 303 | // Step 3: validate that there's now a single key in the directory and that it's is protected using the cert | COMMENT |
| LOW⚡ | …tection/Extensions/test/DataProtectionProviderTests.cs | 311 | // Step 4: setup a second system and validate it can decrypt keys and unprotect data | COMMENT |
| LOW | …tection/Extensions/test/DataProtectionProviderTests.cs | 54 | // Step 1: Instantiate the system and round-trip a payload | COMMENT |
| LOW | …tection/Extensions/test/DataProtectionProviderTests.cs | 72 | // Step 2: Validate that there's now a single key in the directory | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 336 | // Step 1: Generate a random key modifier and IV for this operation. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 342 | // Step 2: Decrypt the KDK, and use it to generate new encryption and HMAC keys. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 354 | // Step 2: Copy the key modifier and the IV to the output stream since they'll act as a header. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 357 | // Step 3: Generate IV for this operation right into the result array | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 361 | // Step 4: Perform the encryption operation. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 371 | // Step 5: Calculate the digest over the IV and ciphertext. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 554 | // Step 3: Calculate the correct MAC for this payload. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 562 | // Step 4: Validate the MAC provided as part of the payload. | COMMENT |
| LOW⚡ | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 565 | // Step 5: Decipher the ciphertext and return it to the caller. | COMMENT |
| LOW | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 457 | // Step 4: Validate the MAC provided as part of the payload. | COMMENT |
| LOW | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 512 | // Step 1: Extract the key modifier and IV from the payload. | COMMENT |
| LOW | …rotection/src/Managed/ManagedAuthenticatedEncryptor.cs | 528 | // Step 2: Decrypt the KDK and use it to restore the original encryption and MAC keys. | COMMENT |
| LOW | …ion/src/KeyManagement/KeyRingBasedSpanDataProtector.cs | 48 | // Step 1: Write the magic header and key id | COMMENT |
| LOW | …ion/src/KeyManagement/KeyRingBasedSpanDataProtector.cs | 63 | // Step 2: Perform encryption into the destination writer | COMMENT |
| LOW⚡ | …/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs | 37 | // Step 1: Calculate all necessary offsets into the temp input & output buffer. | COMMENT |
| LOW⚡ | …/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs | 43 | // Step 2: Copy Label and Context into the temp input buffer. | COMMENT |
| LOW⚡ | …/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs | 47 | // Step 3: copy [L] into last part of data to be hashed, big-endian | COMMENT |
| LOW⚡ | …/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs | 50 | // Step 4: iterate until all desired bytes have been generated | COMMENT |
| LOW | src/Http/Routing/src/Matching/ILEmitTrieFactory.cs | 233 | // Basically we need to check if the text is non-ASCII first and bail if it is. | COMMENT |
| LOW | src/Http/Routing/src/Template/TemplateBinder.cs | 449 | // Step 2: If the route is a match generate the appropriate URI | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .config/CredScanSuppressions.json | 5 | "placeholder": "aspnetcore", | CODE |
| LOW⚡ | .config/CredScanSuppressions.json | 9 | "placeholder": "password", | CODE |
| LOW⚡ | .config/CredScanSuppressions.json | 13 | "placeholder": "my password", | CODE |
| LOW⚡ | .config/CredScanSuppressions.json | 17 | "placeholder": "newpassword", | CODE |
| LOW⚡ | .config/CredScanSuppressions.json | 21 | "placeholder": "testpassword", | CODE |
| LOW⚡ | .config/CredScanSuppressions.json | 25 | "placeholder": "AAABAgMEBQYHCAkKCwwNDg+ukCEMDf0yyQ29NYubggE=", | CODE |
| LOW⚡ | .config/CredScanSuppressions.json | 29 | "placeholder": "1qaz!QAZ", | CODE |
| LOW⚡ | .config/CredScanSuppressions.json | 33 | "placeholder": "1qaz@WSX", | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 280 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 303 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 833 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 837 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 859 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 869 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 894 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | …iddleware/ResponseCaching/test/ResponseCachingTests.cs | 904 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | src/Middleware/OutputCaching/test/OutputCacheTests.cs | 321 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | src/Middleware/OutputCaching/test/OutputCacheTests.cs | 345 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | src/Middleware/OutputCaching/test/OutputCacheTests.cs | 879 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | src/Middleware/OutputCaching/test/OutputCacheTests.cs | 883 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | src/Middleware/OutputCaching/test/OutputCacheTests.cs | 903 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW | src/Middleware/OutputCaching/test/OutputCacheTests.cs | 913 | client.DefaultRequestHeaders.From = "user@example.com"; | CODE |
| LOW⚡ | src/Middleware/ResponseCompression/sample/LoremIpsum.cs | 8 | internal const string Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse le | CODE |
| LOW⚡ | src/Middleware/ResponseCompression/sample/LoremIpsum.cs | 8 | internal const string Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse le | CODE |
| LOW⚡ | src/Middleware/ResponseCompression/sample/LoremIpsum.cs | 9 | "Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar.Nulla soll | CODE |
| LOW⚡ | src/Middleware/ResponseCompression/sample/LoremIpsum.cs | 9 | "Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar.Nulla soll | CODE |
| LOW | …y/test/Identity.Test/UserClaimsPrincipalFactoryTest.cs | 45 | var user = new PocoUser { UserName = "Foo", Email = "foo@bar.com" }; | CODE |
| LOW | …dentity.Test/Passkeys/PasskeyHandlerAttestationTest.cs | 987 | public string? UserDisplayName { get; set; } = "John Doe"; | STRING |
| LOW | …kCore/test/EF.Test/UserStoreEncryptPersonalDataTest.cs | 207 | user.Email = "test@test.com"; | CODE |
| LOW | …ecification.Tests/src/UserManagerSpecificationTests.cs | 1821 | IdentityResultAssert.IsSuccess(await manager.SetEmailAsync(user, "test@test.com")); | CODE |
| LOW | …rsWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs | 19 | ("Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …rsWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs | 19 | ("Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …es/RazorWebSite/Controllers/UrlResolutionController.cs | 14 | Name = "John Doe" | CODE |
| LOW | ….ViewFeatures/test/Rendering/HtmlHelperTextAreaTest.cs | 162 | [Display(Prompt = "placeholder")] | CODE |
| LOW | ….ViewFeatures/test/Rendering/HtmlHelperPasswordTest.cs | 537 | [Display(Prompt = "placeholder")] | CODE |
| LOW | …c.ViewFeatures/test/Rendering/HtmlHelperTextBoxTest.cs | 180 | [Display(Prompt = "placeholder")] | CODE |
| LOW | src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGenerator.cs | 1316 | tagBuilder.MergeAttribute("placeholder", placeholder); | CODE |
| LOW | src/Security/Authentication/test/CertificateTests.cs | 571 | const string Expected = "John Doe"; | CODE |
| LOW | src/Security/Authentication/test/CertificateTests.cs | 646 | const string Expected = "John Doe"; | CODE |
| LOW | src/Security/Authentication/test/CertificateTests.cs | 696 | const string Expected = "John Doe"; | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 18 | var model = new ObjectWithJObject { CustomData = (JsonObject)JsonSerializer.SerializeToNode(new { Emails = new[] | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 34 | var model = new ObjectWithJObject { CustomData = (JsonObject)JsonSerializer.SerializeToNode(new { Email = "foo@b | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 48 | var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com"), new("Name", "Bar") | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 51 | patch.Operations.Add(new Operation<ObjectWithJObject>("test", "/CustomData/Email", null, "foo@bar.com")); | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 65 | var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com")]) }; | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 74 | Assert.Equal("foo@bar.com", model.CustomData["UserName"].GetValue<string>()); | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 147 | var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com"), new("Name", "Bar") | CODE |
| LOW | …ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs | 163 | var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com"), new("Name", "Bar") | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 20 | var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Emails = new[] { "foo@bar.com" } }) }; | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 36 | var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" }) | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 50 | var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" }) | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 53 | patch.Operations.Add(new Operation<ObjectWithJObject>("test", "/CustomData/Email", null, "foo@bar.com")); | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 67 | var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com" }) }; | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 76 | Assert.Equal("foo@bar.com", model.CustomData["UserName"].Value<string>()); | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 148 | var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" }) | CODE |
| LOW | …eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs | 164 | var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" }) | CODE |
| LOW | …i.SourceGenerators.Tests/OperationTests.MinimalApis.cs | 327 | /// <example>"user@example.com"</example> | COMMENT |
| LOW | …i.SourceGenerators.Tests/OperationTests.MinimalApis.cs | 490 | Assert.Equal("user@example.com", path19.Parameters[1].Example.GetValue<string>()); | STRING |
| LOW | …malApis#OpenApiXmlCommentSupport.generated.verified.cs | 82 | cache.Add(@"P:MixedParametersClass.Email", new XmlComment(@"The user's email address.", null, null, null, nu | CODE |
| LOW | src/OpenApi/gen/Helpers/DocumentationCommentXmlNames.cs | 25 | public const string PlaceholderElementName = "placeholder"; | CODE |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | eng/common/core-templates/stages/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/stages/renovate.yml | 3 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/stages/renovate.yml | 9 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/job/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/job/renovate.yml | 3 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/job/renovate.yml | 17 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/validate-pat-pool.yml | 33 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/validate-pat-pool.yml | 37 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/validate-pat-pool.yml | 139 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/validate-pat-pool.yml | 141 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 31 | // ── build mode + Build scenario (local dev) ────────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 56 | // ── build mode + Publish scenario ──────────────────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 94 | // ── publish mode + Publish scenario (exe found) ────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 121 | // ── publish mode + Publish scenario (dll only) ─────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 162 | // ── all mode + Publish scenario ────────────────────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 200 | // ── Custom E2EAppsRelativeDir ──────────────────────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 222 | // ── Multiple apps ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 244 | // ── PublicUrl metadata flows through ───────────────────────────── | COMMENT |
| MEDIUM | …omponents/Testing/test/GenerateE2EManifestTaskTests.cs | 268 | // ── Helpers ────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/dependabot.yml | 15 | # Actions pinned in the generated agentic .lock.yml files, managed by gh aw | COMMENT |
| MEDIUM | .github/workflows/cswin32-update.md | 53 | # Run agentic jobs in an isolated `copilot-pat-pool` environment. | COMMENT |
| MEDIUM | .github/workflows/triage-comment-reviewer.md | 58 | # Run agentic jobs in an isolated `copilot-pat-pool` environment. | COMMENT |
| MEDIUM | .github/workflows/community-pr-issue-check.md | 33 | # Run agentic jobs in an isolated `copilot-pat-pool` environment. | COMMENT |
| MEDIUM | .github/workflows/issue-triage-agent.md | 87 | # Run agentic jobs in an isolated `copilot-pat-pool` environment. | COMMENT |
| MEDIUM | .github/workflows/agentics-maintenance.yml | 24 | # This file defines the generated agentic maintenance workflow for this repository. | COMMENT |
| MEDIUM | .github/workflows/test-quarantine.md | 1187 | # Run agentic jobs in an isolated `copilot-pat-pool` environment. | COMMENT |
| MEDIUM | .github/workflows/browsertesting-deps-update.md | 49 | # Run agentic jobs in an isolated `copilot-pat-pool` environment. | COMMENT |
| MEDIUM | .github/workflows/shared/pat_pool.README.md | 82 | # Run agentic jobs in an isolated `copilot-pat-pool` environment. | COMMENT |
| MEDIUM | .github/workflows/shared/pat_pool.README.md | 214 | [configure-repo]: https://github.github.com/gh-aw/guides/agentic-authoring/#configuring-your-repository | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 40 | - Configuration: https://github.com/github/gh-aw/blob/v0.76.1/.github/aw/github-agentic-workflows.md | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.agent.md | 62 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.76.1/.github/aw/create-agentic-workflow.md | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.agent.md | 72 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.76.1/.github/aw/update-agentic-workflow.md | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.agent.md | 82 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.76.1/.github/aw/debug-agentic-workflow.md | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.agent.md | 92 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.76.1/.github/aw/upgrade-agentic-workflows.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 112 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.76.1/.github/aw/create-shared-agentic-workflow.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 196 | # Initialize repository for agentic workflows | COMMENT |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 228 | - Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.76.1/.github/aw/github-agentic-workf | CODE |
| MEDIUM | src/Analyzers/Analyzers/src/UseAuthorizationAnalyzer.cs | 87 | // We'll avoid doing any analysis in this event and rely on the runtime guardrails. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | eng/common/cross/install-debs.py | 126 | # keyboxd, which makes it robust on hosts running GnuPG 2.4+ (e.g. Azure | COMMENT |
| LOW | …ommon/core-templates/steps/enable-internal-sources.yml | 34 | # If running on dnceng (internal project), just use the default behavior for NuGetAuthenticate. | COMMENT |
| MEDIUM | .devcontainer/scripts/container-creation.sh | 14 | # Add .NET Dev Certs to environment to facilitate debugging. | COMMENT |
| MEDIUM | src/Mvc/Mvc.TagHelpers/src/FormTagHelper.cs | 260 | // A <form> tag that doesn't utilize asp-* attributes. Let it flow to the output. | COMMENT |
| MEDIUM | src/SignalR/server/Core/src/Internal/Utf8HashLookup.cs | 14 | /// This type is not robust against hash collision attacks. DO NOT add arbitrary adversary-influenced keys to the collec | COMMENT |
| MEDIUM | …ts/Web.JS/src/Services/ComponentDescriptorDiscovery.ts | 278 | // comment invalid. We could unencode them in .NET Code, but that would be slower to do and we can leverage the fact t | COMMENT |
| MEDIUM | src/Components/Web.JS/src/Validation/DomUtils.ts | 44 | // Use getComputedStyle for robust visibility detection covering CSS classes, stylesheets, | COMMENT |
| MEDIUM | src/Components/Web/src/WebRenderer.cs | 119 | // parameters, we utilize the source-generated WebRendererSerializerContext | COMMENT |
| MEDIUM | src/Components/Components/src/ChangeDetection.cs | 33 | if (oldValueType != newValueType // Definitely different | CODE |
| MEDIUM | …nents/Components/src/Reflection/ComponentProperties.cs | 310 | // SupplyParameterFromQuery feature that did not utilize cascading values, and thus did not have this li | COMMENT |
| MEDIUM | src/Http/Headers/src/SetCookieHeaderValue.cs | 161 | /// "SameSite" cookies offer a robust defense against CSRF attack when | COMMENT |
| MEDIUM | src/Http/Http.Extensions/src/RequestDelegateFactory.cs | 792 | // For complex types, leverage the shared form binding infrastructure. For example, | COMMENT |
| MEDIUM | src/Http/Http.Extensions/src/RequestDelegateFactory.cs | 2689 | // leverage the STJ polymorphism support. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | eng/common/cross/install-debs.py | 42 | print(f"Error downloading {url}: {type(e).__name__} - {e}. Retrying...") | CODE |
| MEDIUM | eng/common/cross/install-debs.py | 206 | print(f"Error: Package '{current}' was not found in the available packages.") | CODE |
| LOW | .github/workflows/test-quarantine.lock.yml | 3213 | except Exception: | CODE |
| LOW | .github/workflows/test-quarantine.lock.yml | 3339 | except Exception as e: | CODE |
| LOW | .github/workflows/test-quarantine.lock.yml | 3410 | except Exception: | CODE |
| LOW | .github/workflows/test-quarantine.lock.yml | 3564 | except Exception as e: | CODE |
| LOW | .github/workflows/test-quarantine.lock.yml | 3706 | except Exception as ex: | CODE |
| LOW | .github/workflows/test-quarantine.lock.yml | 3946 | except Exception as ex: | CODE |
| LOW | .github/workflows/test-quarantine.md | 265 | except Exception: | CODE |
| LOW | .github/workflows/test-quarantine.md | 392 | except Exception as e: | CODE |
| LOW | .github/workflows/test-quarantine.md | 463 | except Exception: | CODE |
| LOW | .github/workflows/test-quarantine.md | 618 | except Exception as e: | CODE |
| LOW | .github/workflows/test-quarantine.md | 760 | except Exception as ex: | CODE |
| LOW | .github/workflows/test-quarantine.md | 1000 | except Exception as ex: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …S/src/Rendering/RenderBatch/SharedMemoryRenderBatch.ts | 11 | // In this implementation, all the DTO types are really heap pointers at runtime, hence all | COMMENT |
| HIGH | …ebAssembly/src/Hosting/WebAssemblyHostConfiguration.cs | 38 | // In this implementation, this largely exists as a way to satisfy the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/tools.sh | 304 | # Check if the script is older than 30 days using timestamp file | COMMENT |
| LOW | eng/common/tools.sh | 404 | # Check if the toolset has already been extracted | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 64 | # Check if disabledPackageSources section exists | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 70 | # Check if this source name is disabled | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 90 | # Check if source already exists | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 120 | # Check if disabledPackageSources section exists | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 190 | # Check if there is no existing credential for this FeedName | COMMENT |
| LOW | eng/common/core-templates/steps/source-build.yml | 31 | # Check if AzDO substitutes in a build config from a variable, and use it if so. | COMMENT |
| LOW | eng/common/core-templates/steps/install-microbuild.yml | 64 | # Check if ESRP is disabled while SignType is real | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | eng/build.sh | 362 | # Initialize global variables need to be set before the import of Arcade is imported | COMMENT |
| MEDIUM | eng/common/cross/build-rootfs.sh | 636 | # Create the symlink in the same directory | COMMENT |
| MEDIUM | eng/common/core-templates/job/helix-job-monitor.yml | 148 | # Create a minimal NuGet.config that only references the local nupkg directory. | COMMENT |
| MEDIUM | .github/workflows/agentics-maintenance.yml | 24 | # This file defines the generated agentic maintenance workflow for this repository. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/native/install-dependencies.sh | 7 | # Usage: | COMMENT |
| LOW | …common/templates-official/variables/pool-providers.yml | 12 | # How to use: | COMMENT |
| LOW | eng/common/templates/variables/pool-providers.yml | 12 | # How to use: | COMMENT |
| LOW⚡ | eng/common/core-templates/job/renovate.yml | 11 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 20 | CODE | |
| LOW | eng/common/cross/install-debs.py | 196 | CODE | |
| LOW | eng/common/cross/install-debs.py | 221 | CODE | |
| LOW | eng/common/cross/install-debs.py | 259 | CODE | |
| LOW | eng/common/cross/install-debs.py | 293 | CODE | |
| LOW | eng/common/cross/install-debs.py | 348 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …jectTemplates/content/McpServer-CSharp/local/README.md | 69 | 2. Publish to NuGet.org with `dotnet nuget push bin/Release/*.nupkg --api-key <your-api-key> --source https://api.nuget. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ent/McpServer-CSharp/common/Tools/RandomNumberTools.cs | 5 | /// Sample MCP tools for demonstration purposes. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …y/EntityFrameworkCore/test/EF.Test/SqlStoreTestBase.cs | 17 | // TODO: Add test variation with non IdentityDbContext | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 18 | CODE |