Leak checker is a small extension created for personal use to stop myself and anyone who use this extension from pushing sensitive information to the internet.
Leak checker scans the entire repository and checks for possible .toml
files along with api_keys
that are not present in .gitignore and throws a warning at the user in the information dialog box that there might exist a possible sensitive information that might result in havoc if unaddressed.
This will keep you secure and safe from leaking sensitive infos by constantly showing exposure warnings in the bottom right corner.
- VSCode needs to be installed
- Your repository must have some sensitive info that are not in .gitignore
- Download Leak Checker latest release
- Open VSCode > Extensions > 3 dot menu > Install from VSIX > Select Leak Checker
- Once installed,
Ctrl / Cmd + Shift + P
>Code Scanner
> Enter to Initialize
- Execute
winget install nodeJs
orwinget install OpenJS.NodeJS.LTS
and reload the terminal npm init -y
npm install --save-dev yo generator-code
(This will install dependencies into your work env and not globally. If you want to enable in global use-g
instead of--save-dev
)npx yo code
npm install fs glob
cd
toleak-checker
- Press
F5
to run the integration test npm install -g @vscode/vsce
- Execute:
vsce package
to export theLeak Checker
package
I'm new to this and I believe this is not robust and will eat your RAM. So use with caution, you've been warned!
Reduce memory usage by means of caching
Optimize the extension logic
Initial release of Leak Checker