Repository navigation
The hook that scans what you commit.
Pre-commit used to audit the working tree. --staged now scans the Git index, so leftover edits no longer block a correct commit and a staged regression reverted only on disk no longer slips through. The published CLI also requires Node.js 22.12, and the bundled ruleset advances for a large accuracy pass.
Added
--stagedaudits the Git index; regenerated pre-commit hooks pass it.
Changed
- Node.js 22.12 is now the published CLI floor (0.17.1 and earlier supported Node.js 18).
- Bundled ruleset advances to
2026.11.47with dozens of accuracy fixes. Scores can change without any change to the scanned source. - The scan pipeline lazy-loads, so
--version,--help, and--list-projectsskip TypeScript.
Security
--check-uilaunches Chromium with its sandbox enabled.- Workspace discovery no longer follows symbolic links outside the scan boundary.
cross-spawnmoves to 7.1.2, past GHSA-ghv9-86vm-4v8m.
Full changelog: https://github.com/TheOrcDev/shadscan/blob/v0.18.0/changelog/0.18.0.md