To test a public Github repository, run snyk test and include the Github URL to the repo.
$ snyk test https://github.com/snyk/snyk
The following git URL formats are supported:
This also works for Bitbucket and GitLab.
You can also test a public npm package or Github project via the Test page on snyk.io