Merge pull request #34 from pezkuwichain/master

Sync: master → main
This commit is contained in:
github-actions[bot]
2026-07-08 17:09:59 +00:00
committed by GitHub
+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
FOUND=0
echo "Checking for private keys in config files..."
if grep -rn --include="*.json" --include="*.py" -E "(0x[a-fA-F0-9]{64}|-----BEGIN.*PRIVATE)" . | grep -v node_modules | grep -v "chainId\|genesisHash\|parentId\|currencyIdScale\|typeAlias\|signedExtensions"; then
if grep -rn --include="*.json" --include="*.py" -E "(0x[a-fA-F0-9]{64}|-----BEGIN.*PRIVATE)" . | grep -v node_modules | grep -v "chainId\|genesisHash\|parentId\|currencyIdScale\|typeAlias\|signedExtensions\|\"account\""; then
echo "::error::Possible private key found"
FOUND=1
fi