All Projects → microsoft → Devskim

microsoft / Devskim

Licence: mit
DevSkim is a set of IDE plugins and rules that provide security "linting" capabilities.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Devskim

Format Graphql
Formats GraphQL schema definition language (SDL) document.
Stars: ✭ 55 (-90.45%)
Mutual labels:  linter, sdl
Pep8speaks
A GitHub app to automatically review Python code style over Pull Requests
Stars: ✭ 546 (-5.21%)
Mutual labels:  linter
Wasmwinforms
C# Winforms for Webassembly
Stars: ✭ 444 (-22.92%)
Mutual labels:  sdl
Textidote
Spelling, grammar and style checking on LaTeX documents
Stars: ✭ 483 (-16.15%)
Mutual labels:  linter
Eslint Plugin Sonarjs
SonarJS rules for ESLint
Stars: ✭ 458 (-20.49%)
Mutual labels:  linter
Postcss Bem Linter
A BEM linter for postcss
Stars: ✭ 505 (-12.33%)
Mutual labels:  linter
Awesome Linters
A community-driven list of awesome linters.
Stars: ✭ 439 (-23.78%)
Mutual labels:  linter
Hadolint
Dockerfile linter, validate inline bash, written in Haskell
Stars: ✭ 6,284 (+990.97%)
Mutual labels:  linter
Guislice
GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
Stars: ✭ 534 (-7.29%)
Mutual labels:  sdl
Zep
Zep - An embeddable editor, with optional support for using vim keystrokes.
Stars: ✭ 477 (-17.19%)
Mutual labels:  sdl
Graphql Schema Linter
Validate GraphQL schema definitions against a set of rules
Stars: ✭ 476 (-17.36%)
Mutual labels:  linter
Redpen
RedPen is an open source proofreading tool to check if your technical documents meet the writing standard. RedPen supports various markup text formats (Markdown, Textile, AsciiDoc, Re:VIEW, reStructuredText and LaTeX).
Stars: ✭ 466 (-19.1%)
Mutual labels:  linter
Oas Kit
Convert Swagger 2.0 definitions to OpenAPI 3.0 and resolve/validate/lint
Stars: ✭ 516 (-10.42%)
Mutual labels:  linter
Noverify
Pretty fast linter (code static analysis utility) for PHP
Stars: ✭ 458 (-20.49%)
Mutual labels:  linter
Shellcheck
ShellCheck, a static analysis tool for shell scripts
Stars: ✭ 27,211 (+4624.13%)
Mutual labels:  linter
Lambdahack
Haskell game engine library for roguelike dungeon crawlers; please offer feedback, e.g., after trying out the sample game with the web frontend at
Stars: ✭ 439 (-23.78%)
Mutual labels:  sdl
Redbot
REDbot is lint for HTTP.
Stars: ✭ 475 (-17.53%)
Mutual labels:  linter
Zally
A minimalistic, simple-to-use API linter
Stars: ✭ 499 (-13.37%)
Mutual labels:  linter
Undercover
Actionable code coverage - detects untested code blocks in recent changes
Stars: ✭ 574 (-0.35%)
Mutual labels:  linter
Esprint
Fast eslint runner
Stars: ✭ 556 (-3.47%)
Mutual labels:  linter

DevSkim

CodeQL Nuget Nuget

DevSkim is a framework of IDE extensions and language analyzers that provide inline security analysis in the dev environment as the developer writes code. It has a flexible rule model that supports multiple programming languages. The goal is to notify the developer as they are introducing a security vulnerability in order to fix the issue at the point of introduction, and to help build awareness for the developer.

Features

  • Built-in rules, and support for writing custom rules
  • Cross-platform CLI built on .NET Core 3.1 for file analysis
  • IDE plugins for Visual Studio and Visual Studio Code
  • IntelliSense error "squiggly lines" for identified security issues
  • Information and guidance provided for identified security issues
  • Optional suppression of unwanted findings
  • Broad language support including: C, C++, C#, Cobol, Go, Java, Javascript/Typescript, Python, and more.

Repository Structure

This repository contains DevSkim and its official supported plugins. Issues and contributions are accepted here for:

  • DevSkim Library
    • Location: ./DevSkim-DotNet/
  • DevSkim CLI
    • Location: ./DevSkim-DotNet/Microsoft.DevSkim.CLI/
  • DevSkim Visual Studio Extension
    • Location: ./DevSkim-DotNet/Microsoft.DevSkim.VSExtension/
  • DevSkim Blazor
    • Location: ./DevSkim-DotNet/Microsoft.DevSkim.Blazor/
  • DevSkim Visual Studio Code Plugin
    • Location: ./DevSkim-VSCode-Plugin/
  • Common Rules and Guidance
    • Location: ./rules/default/

Official Releases

DevSkim.Blazor is available to run in your browser as a Blazor WebAssembly application.

Platform specific binaries of the DevSkim CLI are available on our GitHub releases page.

The C# library is available on NuGet as Microsoft.CST.DevSkim.

The .NET Global Tool is available on NuGet as Microsoft.CST.DevSkim.CLI.

The Visual Studio extension is available in the Visual Studio Marketplace.

The Visual Studio Code plugin is available in the Visual Studio Code Marketplace.

Installation

Visual Studio Extension

The DevSkim Visual Studio extension can be downloaded and installed from the Visual Studio Marketplace.

Alternatively, in Visual Studio, open the Extension Manager (Menu: Extensions -> Manage Extensions), search for "Microsoft DevSkim", select the entry, and click on the Download button.

Visual Studio Code Plugin

The DevSkim Visual Studio Code plugin can be downloaded and installed from the Visual Studio Code Marketplace.

Alternatively, In VS Code, launch the Quick Open bar (Ctrl + P), and run the following command: ext install ms-cst-e.vscode-devskim

.NET Core App (Self Contained)

Download the platform specific binary archive for your system (Windows, Mac OS, Linux) from the releases page. Extract the archive, navigate to the DevSkim folder from a command line, and invoke devskim or devskim.exe.

.NET Core Global Tool

If you already have .NET Core 3.1 installed, you can install the DevSkim CLI dotnet global tool by running the following from a command line:

dotnet tool install --global Microsoft.CST.DevSkim.CLI

This will add DevSkim to your PATH. You can then invoke the devskim command from a command line.

.NET Core Runtime Dependent App

First download and install the .NET Core 3.1 runtime. Then download the DevSkim netcoreapp archive from the releases page. Extract the archive, navigate to the DevSkim folder from a command line, and invoke dotnet devskim.dll.

Build from Source

For more information, see the wiki page about how to Build from Source.

Basic Usage

DevSkim CLI

devskim analyze c:\path\to\FilesToAnalyze

For more information, see the wiki page about the Command Line Interface.

Visual Studio Extension / Visual Studio Code Plugin

Once the DevSkim plugin is installed and enabled, simply write some code, and feedback will be provided inline if issues are detected.

Writing Rules

Please see Writing Rules for instructions on how to author new rules.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

For more information, please see How to Contribute.

Reporting Issues

For more information, please see How to Contribute.

Reporting Security Vulnerabilities

To report a security vulnerability, please see SECURITY.md.

License

DevSkim and its official plugins are licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].