← All repos

ban-sensitive-files

Checks filenames to be committed against a library of filename rules to prevent sensitive files in Git

checknodenpmsecuritysensor
Browse cluster: Operating Systems and Low-Level Systems
382commits
9contributors
2languages

Tech stack & purpose

ban-sensitive-files is a Node.js security tool that prevents accidental commits of sensitive files to Git repositories by checking filenames and certain file contents against a library of filename rules. Built as an npm package, it can run as a command-line tool, integrate into npm scripts, or function within Git pre-commit hooks and CI/CD pipelines. The project was created by Gleb Bahmutov and addresses the problem domain of Git security by catching common patterns like private keys and authentication tokens before they reach version control.

Languages

JavaScript
99.2%
Shell
0.8%

Contributors