Checks filenames to be committed against a library of filename rules to prevent sensitive files in Git
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.