You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -56,23 +56,19 @@ jobs:
56
56
# SecretHound v${{ env.VERSION }}
57
57
58
58
## New Features
59
-
- **Expanded Pattern Library**: Introduced new pattern categories including PII (Personally Identifiable Information) and Web3 (e.g., Ethereum/Bitcoin addresses, private keys), increasing total patterns to over 60.
60
-
- **URL/Domain Extraction Mode**: Added `--scan-urls` flag to exclusively scan for URL and domain patterns, overriding other category filters.
61
-
- **Grouped Output Format**: Introduced `--group-by-source` flag to group found secrets by their source URL/file in TXT and JSON output formats, improving readability for large scans.
62
-
- **Pattern Category Control**: Implemented `--include-categories` and `--exclude-categories` flags to allow users to specify which pattern categories to use or ignore during scans.
59
+
- **Max File Size Flag**: Added `--max-file-size` flag to set the maximum file size for local file scanning.
60
+
- **Netlify Access Token Pattern**: Added new detection pattern for Netlify Access Tokens.
63
61
64
62
## Improvements
65
-
- **Enhanced Pattern Accuracy**: Iteratively refined numerous existing patterns (IPv4, Bitcoin Address, Email Address, MAC Address, Generic Domain, Session Token) to significantly reduce false positives and improve detection of legitimate secrets based on extensive real-world test cases.
66
-
- **Log Custom Headers**: Initial configuration log now indicates if custom HTTP headers (`-H`) are being used.
67
-
- **Queue Logic & Rate Limiting**: Improved URL processing queue logic and refined the auto mode for rate limiting for more efficient and considerate scanning.
68
-
- **CLI Options Refinement**: Corrected and improved behavior of `--silent` and `--no-progress` flags.
69
-
- **Regex Engine Compatibility**: Added internal logging for regex compilation errors and refactored incompatible regex syntax (e.g., unsupported lookaheads) to ensure all patterns load correctly with Go's standard regex engine.
63
+
- **Enhanced Pattern Accuracy**: Refined multiple regex patterns (MAC Address, IPv4, IPv6, PayPal, Private Key, Phone Number) to significantly reduce false positives based on real-world testing.
70
64
71
65
## Bug Fixes
72
-
- **JSON Output Formatting**: Addressed issues to ensure valid JSON output, especially when no secrets are found or in raw mode.
73
-
- **Progress Bar Rendering**: Fixed a bug where the progress bar would sometimes only update when new logs were printed, ensuring it now refreshes independently and consistently.
74
-
- **Execution Deadlocks**: Resolved potential deadlocks and improved goroutine management for more stable execution during long scans.
75
-
- **Pattern Loading**: Fixed an issue where the incorrect number of loaded patterns was reported when using category filters, ensuring accurate reflection of active patterns.
66
+
- Fixed false positives where SVG path data was detected as MAC addresses.
67
+
- Fixed false positives where OIDs were detected as IPv4 addresses.
68
+
- Fixed false positives where SHA-256 fingerprints were detected as IPv6 addresses.
69
+
- Fixed false positives where CSS class names were detected as PayPal credentials.
70
+
- Fixed false positives where event tracking strings were detected as private keys.
71
+
- Fixed Private Key Content pattern to require actual key data after BEGIN header.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,28 @@
1
1
# SecretHound Changelog
2
2
3
+
## v1.0.1 (2025-12-05)
4
+
5
+
### New Features
6
+
-**Max File Size Flag**: Added `--max-file-size` flag to set the maximum file size for local file scanning, allowing users to skip large files that may slow down scans.
7
+
-**Netlify Access Token Pattern**: Added new detection pattern for Netlify Access Tokens.
-**MAC Address**: Now requires explicit keywords (`mac_address`, `ethernet_addr`, `hw_addr`) and only matches colon-separated format to avoid false positives from SVG paths.
12
+
-**IPv4 Address**: More restrictive pattern requiring explicit keywords (`ip_addr`, `host_addr`, `server_ip`). Added exclusions for OIDs (`1.3.6.1`, `2.16.840`).
13
+
-**IPv6 Address**: Simplified regex requiring `ipv6` or `ip6` keywords. Added exclusions for SHA-256 fingerprints.
14
+
-**PayPal/Braintree**: Now requires specific keywords (`paypal_client_id`, `braintree_secret`) instead of loose matching. Added exclusions for CSS class names.
- URLs with potentially sensitive parameters or paths
62
+
- Netlify Access Tokens
62
63
63
64
### Generic & Miscellaneous
64
65
- Generic High Entropy Strings (potential secrets)
@@ -68,6 +69,8 @@ secrethound --list-patterns
68
69
69
70
This list is continuously updated. Always refer to `secrethound --list-patterns` for the most current set of patterns and their categories.
70
71
72
+
> **Note**: Many patterns are now "keyword-dependent", meaning they only match when specific keywords (like `ip_addr`, `mac_address`, `phone`, etc.) are found near the value. This significantly reduces false positives.
73
+
71
74
## API Keys and Tokens
72
75
73
76
| Secret Type | Description | Example Pattern |
@@ -90,7 +93,7 @@ This list is continuously updated. Always refer to `secrethound --list-patterns`
90
93
| Stripe Test Publishable Key | Stripe test publishable key |`pk_test_[0-9a-zA-Z]{24,34}`|
| PayPal/Braintree Client ID | PayPal/Braintree Client ID (keyword-dependent) |`(?i)(?:paypal\|braintree)[_-]?(?:client[_-]?)?(?:id\|key\|secret)\s*[:=]\s*['"](...)['"`|
0 commit comments