Skip to content

chore(deps): update pre-commit hook mongodb/kingfisher to v2 - #747

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/mongodb-kingfisher-2.x
Aug 29, 2026
Merged

chore(deps): update pre-commit hook mongodb/kingfisher to v2#747
renovate[bot] merged 1 commit into
mainfrom
renovate/mongodb-kingfisher-2.x

Conversation

@renovate

@renovate renovate Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
mongodb/kingfisher repository major v1.113.0v2.0.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

mongodb/kingfisher (mongodb/kingfisher)

v2.0.0

Compare Source

  • Added Kingfisher-side typed validation for Betterleaks' generic-credential-uri rule without
    changing its detector: PostgreSQL, MySQL/MariaDB, and MongoDB URI captures now use the
    corresponding live validator and feed validated credentials into blast-radius mapping, while
    unsupported URI schemes remain detected with validation not attempted. JDBC strings containing
    a credential-bearing PostgreSQL/MySQL URI are handled through that inner URI, and direct
    CredentialUri validation also dispatches supported jdbc: inputs.
  • Removed the Veles Paystack, PyPI, and Square OAuth application-secret adapters. PyPI upload-token and Square access-token detection remain covered by Betterleaks; Paystack and Square OAuth application-secret built-in coverage are no longer included.
  • Security: the MongoDB, MySQL, Postgres, and JDBC validators now enforce the same SSRF gate as the HTTP/gRPC/JWT validators. Previously they only rejected loopback/unspecified hosts, so a crafted connection string in scanned content could make Kingfisher open TCP connections to RFC1918, link-local (including 169.254.169.254), CGNAT, and other non-public addresses, turning the scan report into an internal-network reachability oracle. Every host in a Postgres multi-host URL and every MongoDB seed — including hosts resolved via mongodb+srv:// SRV records — is now checked, and blocked targets report a constant message instead of the driver's connection error. Use --allow-internal-ips to opt back in.
  • Breaking (library): validate_mongodb, validate_mysql, validate_postgres, and validate_jdbc take an additional allow_internal_ips: bool argument.
  • Restored per-rule tls_mode for built-in rules. The imported-rule capability overlay now accepts tls_mode: strict | lax | off, and betterleaks.mongodb-connection-string and betterleaks.jwt declare lax so self-managed clusters and self-hosted IdPs presenting private-CA or self-signed certificates validate again. This remains opt-in on both sides: it takes effect only when the operator also runs --tls-mode lax (or --tls-mode off). The build rejects an unknown tls_mode value, or a tls_mode on a rule with no validator.
  • Kingfisher 1.x rule selectors keep working. --rule, --exclude-rule, and rules.disabled entries naming kingfisher.* IDs now resolve to their 2.x replacements through a new alias table, with a one-time deprecation warning naming the selector to migrate to, instead of failing the scan. Exact kingfisher.* IDs still win when the 1.x catalog is loaded via --rules-path, and an unknown kingfisher.* selector is still an error.
  • Added a rule-coverage drift guard. crates/kingfisher-rules/data/legacy-rule-aliases.yml maps
    migrated Kingfisher 1.x families with known 2.x replacements, and a test asserts each alias target
    still resolves against the built-in catalog, so an upstream release that drops a replacement fails
    the build instead of silently breaking that compatibility path.
  • Restored scan-time access mapping for validated Veles rules (Slack app-level/config tokens, DigitalOcean, SendGrid), which previously reached the rule-ID dispatch and matched nothing.
  • Breaking: moved the candidate detector catalog to the Betterleaks rule format, with selected
    Veles detectors filling gaps, giving the community a well-designed shared format and a common
    place to develop generally useful rules.
  • Kingfisher now fetches and parses the Betterleaks catalog and selected Veles source files at build
    time; the Kingfisher 1.x YAML custom-rule format remains supported for custom rules.
  • Preserved Kingfisher's engine capabilities around validation, blast-radius mapping, and credential revocation while allowing us to focus investment on scan performance, integrations, and analysis workflows.
  • All rules now use Vectorscan candidate detection, eliminating unconditional whole-blob regex fallbacks for Betterleaks' large generic credential patterns; Betterleaks path and finding-filter regex helpers are also compiled once with Vectorscan instead of being rebuilt per path or finding.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Saturday (* * * * 6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Third-party library dependencies. label Aug 29, 2026
@renovate
renovate Bot enabled auto-merge (rebase) August 29, 2026 09:09
@renovate
renovate Bot merged commit caa0a06 into main Aug 29, 2026
14 checks passed
@renovate
renovate Bot deleted the renovate/mongodb-kingfisher-2.x branch August 29, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Third-party library dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants