____ ___
\ \/ /______ ____ ______ ____
\ / \____ \ / _ \ / ___/_/ __ \
/ \ | |_> >( <_> )\___ \ \ ___/
/___/\ \| __/ \____//____ > \___ >
\_/|__| \/ \/
Secret scanner that walks a directory (or a cloned GitHub repo) and matches configured regex rules.
What is this for?
- Helps find potential secrets in your codebase (e.g., API keys, DB credentials, etc.).
- Scans a local folder or a remote GitHub repo and generates a report.json of findings.
- Entrypoint script:
xpose.py(at repo root) - Rules live under:
expose/rules/
-
Install Git (if needed)
-
Install Python 3.8+
-
Setup
git clone https://github.com/Rexxyqt/Xpose.git pip install -r expose\requirements.txt
python -u xpose.pyLocal scan:
python -u xpose.py scan .
python -u xpose.py scan C:\path\to\dirRemote scan (GitHub):
python -u xpose.py remote https://github.com/user/repo
python -u xpose.py remote https://github.com/user/repo --treeEach run writes findings to:
report.jsonin the current working directory.
✅ Use the provided entrypoint:
python -u xpose.py scan .