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

safe-global / safe-client-gateway / 43834387841
92%

Build:
DEFAULT BRANCH: main
Ran 16 Nov 2026 08:51AM UTC
Jobs 4
Files 1132
Run time 1min
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

16 Nov 2026 08:49AM UTC coverage: 91.764% (-0.02%) from 91.783%
43834387841

push

github

web-flow
fix(owners): validate the chainId of the v1 Safes-by-owner route (#3766)

`GET /v1/chains/:chainId/owners/:ownerAddress/safes` read `chainId` through a bare `@Param` and passed it on. It was the only route to do so: the 69 other `chainId` route parameters that are used go through `ChainIdSchema` or `NumericStringSchema`, and the one other bare one (v1 notifications) is never read. The unvalidated value was interpolated into the Config Service URL path (`/api/v1/chains/${chainId}`), so a value that is not a chain ID was still sent upstream as part of the path. That is the case non-negotiable 1 and the `security.md` rule "No raw values in upstream URLs" exist to prevent.

The parameter now goes through `new ValidationPipe(ChainIdSchema)`. A value that is not a base-10 numeric string of at most 78 characters gets a 422 and never reaches the Config Service.

**Behavior change:** for an invalid `chainId` the response changes from a 404 or 5xx (after the upstream round trip, plus a negative-cache entry per distinct value) to a 422. Valid chain IDs are unaffected.

5477 of 6193 branches covered (88.44%)

Branch coverage included in aggregate %.

13608 of 14605 relevant lines covered (93.17%)

364.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
86.67
-5.0% src/modules/notifications/routes/v1/notifications.controller.ts
1
82.57
-0.92% src/modules/relay/domain/relayers/no-fee-campaign.relayer.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests-1 - 43834387841.1 16 Nov 2026 08:51AM UTC 1132
41.67
GitHub Action Run
2 run-integration-tests-3 - 43834387841.2 16 Nov 2026 08:51AM UTC 1132
45.55
GitHub Action Run
3 run-integration-tests-2 - 43834387841.3 16 Nov 2026 08:51AM UTC 1132
44.59
GitHub Action Run
4 run-unit-tests - 43834387841.4 16 Nov 2026 08:51AM UTC 1132
69.64
GitHub Action Run
Source Files on build 43834387841
  • Tree
  • List 1132
  • Changed 14
  • Source Changed 1
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43834387841
  • e4b46f13 on github
  • Prev Build on main (#43468222139)
  • Next Build on main (#43864781715)
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