AdaskoTheBeAsT.SecurityCodeScan.VS2022
5.6.7.30
See the version list below for details.
dotnet add package AdaskoTheBeAsT.SecurityCodeScan.VS2022 --version 5.6.7.30
NuGet\Install-Package AdaskoTheBeAsT.SecurityCodeScan.VS2022 -Version 5.6.7.30
<PackageReference Include="AdaskoTheBeAsT.SecurityCodeScan.VS2022" Version="5.6.7.30"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add AdaskoTheBeAsT.SecurityCodeScan.VS2022 --version 5.6.7.30
#r "nuget: AdaskoTheBeAsT.SecurityCodeScan.VS2022, 5.6.7.30"
// Install AdaskoTheBeAsT.SecurityCodeScan.VS2022 as a Cake Addin #addin nuget:?package=AdaskoTheBeAsT.SecurityCodeScan.VS2022&version=5.6.7.30 // Install AdaskoTheBeAsT.SecurityCodeScan.VS2022 as a Cake Tool #tool nuget:?package=AdaskoTheBeAsT.SecurityCodeScan.VS2022&version=5.6.7.30
Vulnerability Patterns Detector for C# and VB.NET - Website
Downloading
Official releases are available as nuget package, Visual Studio extension and stand-alone runner.
Building
git clone https://github.com/security-code-scan/security-code-scan.git
cd security-code-scan
Open SecurityCodeScan.sln
in Visual Studio or build from command line:
nuget restore SecurityCodeScan.sln
msbuild SecurityCodeScan.sln
Contributing
- All documentation from the official site is open-source and located in the website folder. Feel free to modify the markdown files and contribute to it.
- You may customize the behavior of Security Code Scan by creating a local configuration file as described in ExternalConfigurationFiles section. It is easy to add new vulnerable functions (sinks) that should trigger a warning, define untrusted sources, etc. Once you think you have working configuration file you are welcome to contribute your changes to the main built-in configuration file. Ideally your Pull Request comes with tests that cover the changes.
- Review the list of available issues. The general understanding of Roslyn might be handy:
Tests
Most of the tests are written in two languages: C# and VB.NET. If you aren't an expert in VB.NET (me neither) use any online converter to create the VB.NET counterpart from tested C# code example.
Tests are ideal for developing features and fixing bugs as it is easy to debug.
Debugging
In case you are not sure what is wrong or you see AD0001 error with an exception, it is possible to debug the analysis of problematic Visual Studio solution.
Visual Studio offloads some static analysis work to a separate process. It is a good idea to uncomment the lines to have a chance to debug the child process.
First, make sure there are no Security Code Scan Visual Studio extensions installed to avoid interference.
Right click SecurityCodeScan.Vsix
project in the solution and choose Set as StartUp project
.
Start debugging in Visual Studio. It will open another instance of Visual Studio with debugger attached.
Open the solution with the problematic source.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
5.6.7.31 | 2,724 | 8/18/2024 | |
5.6.7.30 | 309 | 7/23/2024 | |
5.6.7.20 | 1,461 | 5/27/2024 | |
5.6.7.19 | 2,692 | 3/5/2024 | |
5.6.7.18 | 1,374 | 2/11/2024 | |
5.6.7.17 | 128 | 2/11/2024 | |
5.6.7.16 | 119 | 2/10/2024 | |
5.6.7.15 | 130 | 2/10/2024 | |
5.6.7.14 | 143 | 2/10/2024 | |
5.6.7.13 | 200 | 2/6/2024 | |
5.6.7.12 | 172 | 2/6/2024 | |
5.6.7.11 | 506 | 2/4/2024 | |
5.6.7.9 | 4,984 | 9/3/2023 |