Check for known vulnerabilities in public GitHub repos and npm packages

Test GitHub repositories

Test my GitHub repositories

Stay secure! Get alerted when new vulnerabilities are found in your dependencies, and automatic pull requests when a fix is available.

Add my GitHub repositories to Snyk

Requires GitHub registration and access permissions.

Test a public GitHub repository

Example of a public repository: snyk/snyk-demo-app.

Supported URL formats:

  • git://github.com/user/project.git#commit-ish
  • https://github.com/user/project#commit-ish
  • user/project#commit-ish

Test with the Snyk CLI

Test a local project

Install Snyk's CLI to test your project for known vulnerabilities.

npm install -g snyk
cd ~/projects/myproj/
snyk test

Read the complete guide on using our CLI

Test an npm package

Example of a public package: azure, express@3.0.x, or ionic@1.6.5.

Supported formats:

  • module (defaults to latest)
  • module[@version]
  • module[@semver-range]