insider
3.0.0
该文档也可以在Portuguese中找到。
Insider是社区内幕应用程序安全团队的OSS CLI项目。
Insider专注于覆盖OWASP前10名,以进行源代码分析,以在源代码中找到漏洞,专注于敏捷且易于实现的DevOps管道中的软件。
我们目前支持以下技术:Java(Maven和Android),Kotlin(Android),Swift(ios),.NET Fulf Framework,C#和JavaScript(Node.js)。
有一个github动作,可以通过内部人员,免费,易于整合和无摩擦来保护存储库。这是直接在存储库上保护代码的最简单方法。看看 - 内幕行动
您可以使用预编译的二进制文件或从源中安装内幕。
我们有针对Linux,Windows和MacOS操作系统的二进制文件,您可以在此处找到。
玩得开心!
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/*
# 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 >您还可以在容器中运行insider 。您只需要将目标安装到一个卷中:
$ docker run --rm -v $( pwd ) :/target-project insidersec/insider -tech < tech > -target /target-project

要从源构建内部人士,您至少需要GO版本1.13工作。
$ go get github.com/insidersec/insider/cmd/insider