scan-for-secrets
v2.0.3
Published
Scans each file in your repository for AWS access secrets and flags any vulnerabilities.
Downloads
870
Maintainers
Readme
An NPM package which scans a given directory for the inclusion of AWS keys.
Requires
Node 8+
Installation
Install package
npm install --save-dev scan-for-secrets
Add the script to package.json with the directory in which you want to scan for keys
{ "scripts" : { "scan-for-secrets": "scan-for-secrets <directory-to-scan>", ... } ... }
Add to pre-commit hook in package.json (optional)
{ "pre-commit": [ "scan-for-secrets" ], }