• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 34582660140
89%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2026 09:11AM UTC
Jobs 2
Files 980
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Sep 2026 09:08AM UTC coverage: 89.088% (-0.009%) from 89.097%
34582660140

push

github

web-flow
feat(siwe): validate SiWe message domain and URI (#3424)

* feat(siwe): validate SiWe message domain and URI

Accept a SiWe message only when its domain and the authority of its URI
are in AUTH_ALLOWED_SIWE_DOMAINS. The list is required in production and
staging; when unset the check is skipped, so local and cross-environment
setups are unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YME1QMaVUAS3V6nFnQDc88

* refactor(siwe): check the allowed domain in the message schema

Move the domain/URI check onto the fields it applies to and require
AUTH_ALLOWED_SIWE_DOMAINS in production only; staging and other
environments may leave it unset, which skips the check.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YME1QMaVUAS3V6nFnQDc88

* refactor(siwe): drop the extra validation around the domain check

Keep the schema check and the config value it reads, and remove what sat
around it: the allow-list format refinement and the configuration-validator
cases for the production requirement.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YME1QMaVUAS3V6nFnQDc88

---------

Co-authored-by: Claude <noreply@anthropic.com>

4159 of 4895 branches covered (84.96%)

Branch coverage included in aggregate %.

9 of 12 new or added lines in 4 files covered. (75.0%)

10553 of 11619 relevant lines covered (90.83%)

540.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.54
-0.45% src/config/entities/configuration.ts
1
96.1
-2.49% src/config/entities/schemas/configuration.schema.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests - 34582660140.1 11 Sep 2026 09:14AM UTC 980
64.39
GitHub Action Run
2 run-unit-tests - 34582660140.2 11 Sep 2026 09:11AM UTC 980
65.49
GitHub Action Run
Source Files on build 34582660140
  • Tree
  • List 980
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34582660140
  • 356ba163 on github
  • Prev Build on main (#34580385071)
  • Next Build on main (#34963590438)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc