Repository navigation
v0.3.0
Added
- Provider secret detection for OpenAI, Anthropic, Google OAuth client secrets, Azure client secrets, Slack app tokens and incoming webhook URLs, Discord and Telegram bot tokens, Twilio account and API-key SIDs, HashiCorp Vault, Terraform Cloud, Doppler, Grafana service-account and cloud tokens, Cloudflare, Square, Shopify, Notion, and Linear.
- Privacy detection for non-documentation IPv6 addresses.
Fixed
- Passed the release tag and SARIF output path to workflow shells through environment variables instead of expression interpolation, removing a template-injection path.
- Replaced an uninitialized buffer allocation when decoding big-endian UTF-16 content, which could read stale heap bytes for odd-length input.
- Resolved finding line numbers with a precomputed line index, eliminating quadratic slowdown on match-dense files (10.5 s to 3 ms on a 1.4 MB worst case).
Changed
- Broadened the Stripe rule to cover restricted keys (
rk_live/rk_test) alongside secret keys. - Tightened the JWT rule to require a
eyJ-prefixed header and payload, reducing false positives. - Expanded the generic hard-coded credential rule to recognize more key names (secret key, access key, passphrase,
pwd) and unquoted values. - Broadened the placeholder filter so common dummy and reference values are not reported.
- Excluded link-local, broadcast, and multicast ranges from the IPv4 rule to reduce noise.
- Hardened the hard-coded credential rule against pathological backtracking on large inputs.
- Stopped the IPv4 rule from matching version strings such as
1.2.3.4.5, and the email rule from matching asset references such aslogo@2x.png.
Install
npm install --global github:6fmh/shareguard-cli#v0.3.0- uses: 6fmh/shareguard-cli@v0.3.0
with:
fail-on: highFull changelog: https://github.com/6fmh/shareguard-cli/blob/v0.3.0/CHANGELOG.md