Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork161
Vulnerability Patterns Detector for C# and VB.NET
License
security-code-scan/security-code-scan
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation

Vulnerability Patterns Detector for C# and VB.NET -Website
Official releases are available asnuget package,Visual Studio extension andstand-alone runner.
git clone https://github.com/security-code-scan/security-code-scan.gitcd security-code-scanOpenSecurityCodeScan.sln in Visual Studio or build from command line:
nuget restore SecurityCodeScan.slnmsbuild SecurityCodeScan.sln- All documentation from theofficial site is open-source and located in thewebsite 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 inExternalConfigurationFiles 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 availableissues. The general understanding of Roslyn might be handy:
Most of the tests are written in two languages: C# and VB.NET. If you aren't an expert in VB.NET (me neither) useany 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.
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 uncommentthe 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 clickSecurityCodeScan.Vsix project in the solution and chooseSet 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.
About
Vulnerability Patterns Detector for C# and VB.NET
Topics
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.