About PushCheck
PushCheck is a 100% client-side pre-push security and configuration readiness auditor by OpsCheck.dev. It runs locally in a browser Web Worker to catch leaked API credentials, unignored sensitive files, and production misconfigurations before code is committed or deployed.
Browser-Local Execution Model
When you select or drop a local project folder, or paste a configuration snippet, all file reading stays inside local browser memory. PushCheck uses the browser File API and an isolated Web Worker (scanner.worker.ts) to traverse directories, parse .gitignore rules, and evaluate security patterns off the main thread. No files or snippets are uploaded to any server.
When scanning a public GitHub repository URL, the browser sends read-only HTTP GET requests directly to api.github.com and raw.githubusercontent.com without routing traffic through any intermediary proxy.
Rule Engine, Entropy & .gitignore Resolution
Basic regex scanners generate high false-positive rates on properly ignored local .env files, code comments, and documentation placeholders such as your_api_key_here. PushCheck reduces noise across 25 deterministic checks in 5 categories using three mechanisms:
- 1. Cross-File .gitignore Resolution: Before flagging sensitive files (
.env*,*.pem,*.key,*firebase-adminsdk*.json,*.sqlite), the scanner evaluates root and nested.gitignorefiles (including!negation rules and directory matches). Properly ignored files are reported as Safely Ignored, while unignored files produce critical alerts with copyable ignore patches. - 2. Shannon Entropy & Placeholder Suppression: Matched credentials are checked for Shannon entropy and filtered against common placeholder templates, ellipses, repeated dummy characters, Markdown tables, and comment lines.
- 3. Default Secret Masking: Detected credentials mask the middle 60% of the token in both the UI and exported Markdown reports, with an explicit per-row Unmask button when inspection is needed.
OpsCheck.dev Suite & Maintainer
PushCheck is maintained by Chathura Prabashana (Full-Stack Software Engineer) as part of the OpsCheck.dev developer utility suite, linking directly to companion configuration tools and backend production guides: