Skip to content

feat(DAO-2199): warn on mixed-case Ethereum addresses in PRs#2109

Open
Freshenext wants to merge 2 commits intomainfrom
DAO-2199
Open

feat(DAO-2199): warn on mixed-case Ethereum addresses in PRs#2109
Freshenext wants to merge 2 commits intomainfrom
DAO-2199

Conversation

@Freshenext
Copy link
Copy Markdown
Collaborator

@Freshenext Freshenext commented Apr 14, 2026

Summary

  • Add GitHub Actions workflow that scans PR diffs for mixed-case (EIP-55 checksummed) Ethereum addresses in .ts, .tsx, .json, .yaml, .yml, and .env* files and emits non-blocking warning annotations
  • Add pre-push hook check that blocks pushes containing mixed-case addresses (bypassable with --no-verify)
  • Uses portable regex (grep -oE + awk) compatible with both macOS and Linux

@Freshenext Freshenext requested a review from a team April 14, 2026 13:41
@Freshenext Freshenext self-assigned this Apr 14, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 14, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA b7cfa3d.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd 🟢 5.7
Details
CheckScoreReason
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review🟢 10all changesets reviewed
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Packaging⚠️ -1packaging workflow not detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Security-Policy🟢 9security policy file detected
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
SAST🟢 8SAST tool detected but not run on all commits

Scanned Files

  • .github/workflows/check-addresses.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants