Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
865a887
fix: security-hardened hooks, portable config, non-UTF8 handling
pixincreate Apr 21, 2026
1eff966
test: add behavioral tests for hooks, exit modes, integrity
pixincreate Apr 21, 2026
35472ce
chore: add justfile for common development tasks
pixincreate Apr 21, 2026
200d10a
docs: update README and CHANGELOG for v1.1.0
pixincreate Apr 21, 2026
c26a590
fix: keep unreleased, not dated
pixincreate Apr 21, 2026
e23b436
fix: remove unused import
pixincreate Apr 21, 2026
f9c5792
chore: remove noise comments
pixincreate Apr 21, 2026
ab22ef5
refactor: extract hooks to templates/, meaningful variable names
pixincreate Apr 21, 2026
99a7af8
refactor: named constants, simplify template rendering
pixincreate Apr 21, 2026
a4a087b
fix: hook finds binary relative to itself, not just PATH
pixincreate Apr 22, 2026
3c93584
revert: PATH-only check for global installs
pixincreate Apr 22, 2026
e664ae0
refactor: remove redundant ReportMetadata struct
pixincreate Apr 22, 2026
be33293
refactor: replace hardcoded strings with named constants
pixincreate Apr 22, 2026
2c5ec5f
Fix: use EXIT_MODE_STRICT constant in match arm
pixincreate Apr 22, 2026
0b6b47d
Fix: user-friendly output, add install/uninstall scripts
pixincreate Apr 22, 2026
3a7949a
chore: update rust edition to `2024`
pixincreate Apr 22, 2026
b9664df
Simplify: concise README, binary aliases, single install script
pixincreate Apr 24, 2026
d04c63f
Fix: remove redundant .to_string(), restore .git exclusion in scanner
pixincreate Apr 24, 2026
3c3c8c7
Fix: rename single-char vars f->finding in get_severity_counts
pixincreate Apr 24, 2026
71885c5
Update: concise README/CHANGELOG, add 3 tests (24 total)
pixincreate Apr 24, 2026
c810fa5
Refactor: split tests into 5 module files
pixincreate Apr 24, 2026
ecc745c
Fix: fmt and clippy warnings
pixincreate Apr 24, 2026
6c0572c
Fix: unused variable in scanner_tests
pixincreate Apr 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .pre-commit-config.yaml

This file was deleted.

38 changes: 34 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,40 @@
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

### Added

- Binary aliases: `keywatch`, `watch` (in addition to `key-watch`)
- Exit code modes: `--exit-mode always|critical|strict`
- Binary integrity verification: `--verify-integrity`
- Repository controls: `--allowed-repos`, `--blocked-repos`

### Security

- Shell injection protection in generated hooks
- Non-UTF8 file handling (graceful skip)

### Changed

- Simplified README (~60 lines)
- User-friendly output by default (summary, not JSON)
- Default exit mode: strict

### Fixed

- Portable detector loading (exe-relative path)
- Filenames with spaces handling

### Removed

- Legacy `hooks/keywatch.sh`
- `.pre-commit-config.yaml`

## [1.0.0] - 2025-02-16

- Initial Release
- Support reading file, directory with verbose output in console
- Output results to a file
- Support various types of keys / secrets / tokens and etc.,
- Initial release
- File/directory scanning
- Verbose JSON output
- Pre-commit/pre-push hooks
143 changes: 78 additions & 65 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading