EXC-Analyzer is a professional command-line tool for advanced GitHub repository and user analysis, security auditing, and secret scanning. Designed for penetration testers, security researchers, and open-source maintainers, EXC-Analyzer provides deep insights into repository health, contributor activity, and potential security risks.
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install exc-analyzer
Alternative (Local/Virtual Environment) Installation:
python3 -m venv env
source env/bin/activate
pip install exc-analyzer
pip install exc-analyzer
brew install python3
pip3 install exc-analyzer
exc key
exc analysis owner/repo
Note: To avoid issues during analysis, ensure you grant all available permissions to the token. Insufficient permissions may cause errors or incomplete results.
Command | Purpose |
---|---|
key | Manage GitHub API token |
analysis <owner/repo> | Analyze repository statistics and health |
user-a <username> | Analyze a GitHub user's profile |
scan-secrets <owner/repo> | Scan recent commits for secrets |
file-history <owner/repo> <file> | Show commit history for a file |
dork-scan <query> | Search public code for sensitive patterns |
advanced-secrets <owner/repo> | Deep scan for secrets in files and commits |
security-score <owner/repo> | Evaluate repository security posture |
commit-anomaly <owner/repo> | Detect suspicious commit/PR activity |
user-anomaly <username> | Detect unusual user activity |
content-audit <owner/repo> | Audit repo docs, policies, and content |
actions-audit <owner/repo> | Audit GitHub Actions/CI workflows |
exc key
exc key --reset
~/.exc/apikey.sec
(permissions: 0600)%USERPROFILE%\.exc\apikey.sec
Analyze repository health, stats, and contributors:
exc analysis owner/repo
Shows description, stars, forks, languages, top committers, contributors, issues, and PRs.
exc user-a username
Displays user info, activity, and top repositories.
exc scan-secrets owner/repo -l 20
Detects AWS keys, GitHub tokens, SSH keys, and generic API keys in the last N commits.
exc advanced-secrets owner/repo -l 30
Scans all files and recent commits for a wide range of secret patterns.
exc file-history owner/repo path/to/file.py
Lists commit messages, authors, dates, and links for the file.
exc dork-scan "password filename:.env" -n 20 --ext py --filename config
Supports advanced queries, file extension and filename filters.
exc contrib-impact owner/repo
Ranks contributors by code additions/deletions.
exc security-score owner/repo
Checks for branch protection, code scanning, dependabot, security.md, and more.
exc commit-anomaly owner/repo
Flags risky commit messages and patterns.
exc user-anomaly username
Highlights abnormal event timing or frequency.
exc content-audit owner/repo
Checks for LICENSE, SECURITY.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, and README quality.
exc actions-audit owner/repo
Reviews workflow files for security risks and best practices.
exc key --reset
.This tool is intended for professional security auditing, research, and authorized analysis only. Unauthorized use on systems or repositories you do not own or have explicit permission to analyze is strictly prohibited. The author assumes no liability for misuse or damage caused by this tool.
EXC-Analyzer is released under the MIT License. See the LICENSE file for details.