Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Security Code Scan

security-code-scan.github.io

  • Free plan
  • Windows
  • Linux
  • Self-hosted

What Security Code Scan is

Security Code Scan is a free, open-source static analyzer for .NET source code in C# and VB.NET. It detects vulnerability patterns including SQL injection, cross-site scripting, CSRF, and XML external entity injection, using inter-procedural taint analysis for input data. It can analyze projects in the background as IntelliSense or during a build. The project lists GitHub and GitLab pipeline support, MSBuild, and a stand-alone runner for custom integrations. Those integrations can produce SARIF results and display warnings alongside other build messages. Users can configure taint sources, sinks, sanitizers, validators, and project-specific settings. It supports Visual Studio 2019 or later; the project says other Roslyn analyzer editors such as Rider or OmniSharp should work. Downloads include a NuGet package, Visual Studio extension, and stand-alone runner. The maker cautions that the extension or NuGet package may slow the IDE because of extensive analysis, and recommends CI/CD pipelines as the more common use case. The repository identifies the license as LGPL-3.0.

Who it suits

It suits .NET teams looking for vulnerability analysis in C# or VB.NET, particularly those integrating checks into CI/CD pipelines. Developers who want findings fixed automatically should note that automated fixes are not included.

Good to know, and what to watch

  • Detects several common vulnerability patterns
  • Performs inter-procedural taint analysis
  • Supports GitHub and GitLab pipelines
  • Custom taint rules and project settings are available
  • SARIF output is available for custom integrations
  • Visual Studio extension or NuGet use can slow the IDE
  • Audit mode can add warnings about unknown taint state
  • Automated fixes are not included

Security Code Scan

Free

Open source

The verdict

Security Code Scan offers configurable .NET analysis that can run in an IDE or build pipeline. The maker’s performance warning makes pipeline use worth considering, and findings require a separate response.

What the maker publishes

CI recommendation
The maker says CI/CD is the more common use case and recommends pipeline integrations for that use. source
Customization
Users can configure custom taint sources, sinks, sanitizers, validators, and project-specific settings. source
Detection
It detects patterns including SQL injection, cross-site scripting, CSRF, and XML external entity injection. source
Downloads
Official releases are offered as a NuGet package, a Visual Studio extension, and a stand-alone runner. source
Editors
It supports Visual Studio 2019 or higher and says other Roslyn analyzer editors such as Rider or OmniSharp should work. source
Integrations
The site lists GitHub and GitLab pipeline support, plus MSBuild and a stand-alone runner for custom integrations. source
License
The project repository identifies its license as LGPL-3.0. source
Limitations
Audit mode is off by default and can produce more warnings about data with unknown taint state when enabled. source
Performance
The maker warns that installing it as a Visual Studio extension or NuGet package can slow the IDE because it performs extensive static analysis. source
Purpose
Security Code Scan is a static code analyzer for .NET that detects vulnerability patterns in C# and VB.NET. source
Results
For custom integrations, it can produce SARIF results and show warnings alongside other build messages. source
Support
The maker provides a troubleshooting guide and directs users to project issues and contributions on GitHub. source
Taint analysis
The analyzer performs inter-procedural taint analysis for input data. source
Usage
It analyzes projects in the background as IntelliSense or during a build. source

Checked against the maker's pages on 9 Oct 2026.