gammaray

command module
v0.0.0-...-f140830 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2019 License: MIT Imports: 11 Imported by: 0

README

Gamma Ray

Go Report Card Travis Coverage Status

Gammaray is a software that helps developers to look for vulnerabilities on their Node.js applications. Its pluggable infrastructure makes very easy to write an integration with several vulnerabilities databases.

Get It

In order to get it just run:

$> go get github.com/nearform/gammaray

Once it is finished, you should have the gammaray binary in your GOPATH/bin folder.

Build it

$> make

Usage

Gammaray comes as a single binary so you only need to run it passing your project as argument:

$> gammaray <path-to-your-node-app>

Gammaray supports the following flags:

-path - path to directory where package.json is located

-image - docker image to scan

-log-level - valid values: panic | fatal | error | warn | info | debug. The default is info.

-ignore-list - path to JSON file with CVE/CWE ignore array The sample file is shown below:

[
  {"CVE": "CWE-400", "description": "We ignore this because it does not affect us"},
  {"CVE": "CVE-2015-8851", "description": "We ignore this because it does not affect us"}
]

And that is all, all the vulnerabilities that affect your packages will be displayed.

Contributing

As a developer

Clone the repository, then start hacking, PRs are welcome !

$> mkdir -p $GOPATH/src/github.com/nearform/
$> cd $GOPATH/src/github.com/nearform/
$> git clone https://github.com/nearform/gammaray.git
$> cd gammaray
$> make dev-install
As security provider

You want to be integrated? Contact me here

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
version expression formatter will try to translate expressions in a semver version or version range compatible one, like this : 1.0.rc.1 --> 1.0.0-rc.1 <0.8 --> <0.8.0 ^5 || <=5.0-beta --> ^5.0.0 || <=5.0.0-beta
version expression formatter will try to translate expressions in a semver version or version range compatible one, like this : 1.0.rc.1 --> 1.0.0-rc.1 <0.8 --> <0.8.0 ^5 || <=5.0-beta --> ^5.0.0 || <=5.0.0-beta
yarn.lock parser
yarn.lock parser

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL