{"id":22538109,"url":"https://github.com/cfpb/vax","last_synced_at":"2025-07-04T00:35:10.194Z","repository":{"id":57390951,"uuid":"55792904","full_name":"cfpb/vax","owner":"cfpb","description":"Check your Node project for npm security best practices.","archived":false,"fork":false,"pushed_at":"2016-12-12T18:12:52.000Z","size":376,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-06-09T10:03:24.063Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfpb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-08T16:17:59.000Z","updated_at":"2022-03-01T16:16:37.000Z","dependencies_parsed_at":"2022-09-16T13:10:14.723Z","dependency_job_id":null,"html_url":"https://github.com/cfpb/vax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cfpb/vax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fvax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fvax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fvax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fvax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfpb","download_url":"https://codeload.github.com/cfpb/vax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fvax/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263426395,"owners_count":23464795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T11:10:11.597Z","updated_at":"2025-07-04T00:35:10.164Z","avatar_url":"https://github.com/cfpb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vax [![Build Status](https://travis-ci.org/cfpb/vax.svg?branch=master)](https://travis-ci.org/cfpb/vax)\n\nCheck your Node project for npm security best practices. Currently, it simply:\n\n1. Checks if you have an `.npmrc` file with `save-exact=true` in it.\n1. Checks if an `npm-shrinkwrap.json` file is present.\n1. Checks your `package.json` for any loose range specifiers (~, ^, \u003c, \u003e).\n\nIt will do its best to fix these problems for you.\n\n## Usage\n\n```\nnpm install -g vax\n```\n\nAnd then run `vax` with the location of your node module.\n\n```\nvax ~/Projects/my-node-project\n\n\u003e error: No .npmrc file found. Please create one and add `save-exact=true` to it.\n\u003e error: Please shrinkwrap your dependencies by running `npm shrinkwrap`.\n\u003e info: Your `package.json` file looks good.\n```\n\nTo automatically fix any problems, use the `--fix` option.\n\n```\nvax ~/Projects/my-node-project --fix\n\n\u003e info: No .npmrc file found. I created one for you.\n\u003e info: Your `package.json` file looks good.\n\u003e info: I reinstalled and shrinkwrapped your dependencies for you.\n```\n\n----\n\n## Open source licensing info\n1. [TERMS](TERMS.md)\n2. [LICENSE](LICENSE)\n3. [CFPB Source Code Policy](https://github.com/cfpb/source-code-policy/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfpb%2Fvax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfpb%2Fvax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfpb%2Fvax/lists"}