mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-utils.git
synced 2026-07-09 04:47:31 +00:00
a4e2038aac
Every account_overrides.json/chains_for_testBalance.json entry has a 32-byte hex "account" field - a public AccountId32 (Substrate's public account identifier), not a private key. The two share the same byte length/hex format, but are fundamentally different: one is meant to be public (it's literally how you address a chain account), the other must stay secret. The scanner's regex can't tell them apart and flags every single one, which just triggered a false "Possible private key found" failure on PR #33 (the master->main sync). This isn't a one-off - it'll fire on every future sync PR too, since chains_for_testBalance.json always has these fields. Left as "FAILURE" long-term, it trains reviewers to ignore this specific check, which is exactly the alarm-fatigue failure mode that would let a real leaked secret slip through unnoticed.