Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: 0xBahalaNa/secret-scanner

v1.1.0: Hardening

15 Apr 01:14
@0xBahalaNa 0xBahalaNa
76307d3
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Highlights

Hardening pass: modular architecture, pytest test suite, severity classification, pre-commit hook, performance metrics, and security fixes for symlinks, resource exhaustion, ReDoS, and file-overwrite silence.

Features

  • Modular scanner architecture (separated CLI, scanning, patterns, output)
  • Severity classification (CRITICAL / HIGH / MEDIUM / LOW / INFO) on findings
  • pytest test suite + Makefile
  • Pre-commit hook configuration (preventive control at earliest pipeline gate)
  • Scan performance metrics and timing in output

Bug Fixes

  • Symlink scoping: scan only within target directory (prevents reads of e.g. /etc/shadow)
  • File size + line length limits to prevent resource exhaustion
  • Custom pattern ReDoS protection (regex backtracking guard)
  • JSON output file-overwrite warning
Assets 2
Loading

v1.0.0: Core Scanner

15 Apr 01:14
@0xBahalaNa 0xBahalaNa
c26e261
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Highlights

Initial release. CLI secret scanner for AWS access keys, API tokens, CJI identifiers (ORI, NCIC, FBI numbers), and custom patterns. Produces structured JSON evidence output for compliance pipelines.

Features

  • CLI target directory argument with path validation
  • Recursive subdirectory scanning
  • Binary and permission-denied file handling
  • Non-zero exit codes for CI/CD integration
  • Line number reporting on findings
  • Regex-based pattern detection for AWS keys, tokens, passwords, connection strings
  • CJIS CJI-pattern detection (ORI numbers, NCIC codes, FBI numbers, State ID/SID)
  • Structured JSON output format for evidence pipelines
  • Compliance control mappings documented in README (AU-2, AU-12, CM-6, SI-4, plus CJIS-specific)
Loading

AltStyle によって変換されたページ (->オリジナル) /