Skip to content

Latest commit

 

History

History
135 lines (96 loc) · 4.8 KB

README_pt-br.md

File metadata and controls

135 lines (96 loc) · 4.8 KB

Este documento também está disponível em Inglês.

Insider é uma Iniciativa Open Source executada através de uma Interface de Linha de Comandos (CLI) disponibilizada pelo time de segurança da Insider Application Security para a comunidade.

O Insider têm como objetivos: garantir os padrões de segurança estabelecidos pela Open Web Application Security Project®, cobrir os 10 principais riscos de segurança para aplicações web - OWASP Top 10, analisar e encontrar vulnerabilidades no código-fonte, focando na facilidade da implementação junto ao pipeline de DevOps e em software ágil.

Atualmente oferecemos suporte às seguintes tecnologias: Java (Maven ou Android), Kotlin (Android), Swift (iOS), .NET Full Framework, C# e Javascript (Node.js).

Existe um Github Action que permite proteger seu repositório com Insider, gratuito, fácil de integrar e sem atrito. É a maneira mais fácil de proteger seu código diretamente em seu repositório. Insider-Action


Instalação

Você pode instalar o Insider usando binários pré-compilados ou da fonte.

Binários pré-compilados

Temos binários pré-compilados para os sistemas operacionais Linux, Windows e macOS que você pode encontrar [aqui.] (Https://github.com/insidersec/insider/releases)

Pronto, divirta-se! 🚀


Utilização

insider is the CLI project from the Insider Application Security Team for the community

Usage:
  -exclude value
        Patterns to exclude directory or files to analyze. Can be used multiple times
  -jobs int
        Number of analysis to execute in parallel (default 4)
  -no-html
        Skips the report generation in the HTML format
  -no-json
        Skips the report generation in the JSON format
  -quiet
        No output logs of execution
  -security float
        Set the Security level, values between 0 and 100 (default 0)
  -target string
        Specify where to look for files to run the specific ruleset
  -tech string
        Specify which technology ruleset to load
  -v    Enable verbose output
  -version
        Show version and quit with exit code 0

Supported technologies:
        android
        java
        ios
        javascript
        csharp

Example of use:
        # Run JavaScript analysis on specific directoty
        insider -tech javascript -target <directory>

        # Run Android analysis on specific directoty and ignore html and json report
        insider -tech android -target <directory> -no-html -no-json

        # Run Java analysis on specific directoty with a base security value to fail
        insider -tech java -target <directory> -security 20

        # Run JavaScript analysis on specific directoty and exclude node_modules and test files
        insider -tech javascript -target <directory> -exclude tests/* -exclude node_modules/*

Exemplo

# Check the correct release for your environment
$ wget https://github.com/insidersec/insider/releases/download/2.1.0/insider_2.1.0_linux_x86_64.tar.gz
$ tar -xf insider_2.1.0_linux_x86_64.tar.gz 
$ chmod +x insider
$ ./insider --tech javascript  --target <projectfolder>


Docker

Você também pode utilizar o insider dentro de um container. Você só precisar montar um volume com o diretorio que deseja realizar a analise:

$ docker run --rm -v $(pwd):/target-project insidersec/insider -tech <tech> -target /target-project

Demo

Gif


Contribuição


Compilando manualmente

Para compilar o Insider manualmente você vai precisar do Go version 1.13.

$ go get github.com/insidersec/insider/cmd/insider

Licença

  • Esse projeto está sob a licença MIT.