fix(security): gitleaks false-positive — billing testinin sahte fixture'ı - #35
Merged
Merged
Conversation
…-bazlı allowlist Main CI (31bb5fb) security-checks'i kırdı: gitleaks generic-api-key, billing-providers.test.tsx'teki YAZMA-ONLY sahte iyzico fixture'ını (iyz-api-key-9876 / iyz-secret-key-9876) alan adı + entropi olarak işaretledi. Gerçek anahtar değil; test tam da bu değerin DOM'a asla geri dönmediğini assert ediyor (not.toContain). Değer git geçmişinde (624e903) kaldığı için dosyayı düzeltmek yetmez — mevcut ev stiliyle (JWT/field-enc test anahtarlarıyla aynı desen) değer-bazlı iki dar giriş eklendi. Kanıt (şablonun kendi kuralı: sözdizimine değil BULGU SAYISINA güven): lokal docker gitleaks v8.18.4, 111 commit tarandı -> 'no leaks found', exit 0. Öncesinde aynı komut 1 bulgu veriyordu. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main CI'ın tek kırmızısı.
security-checks/gitleaks, billing davranış testinin yazma-only sahte iyzico fixture'ını işaretledi. Değer git geçmişinde kaldığı için dosya düzeltmesi yetmez; ev stiliyle değer-bazlı dar allowlist girişi eklendi. Ölçüm: lokal docker gitleaks v8.18.4 → 111 commit,no leaks found, exit 0 (öncesinde 1 bulgu). Yalnız.gitleaks.toml.🤖 Generated with Claude Code