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

safe-global / safe-client-gateway / 22767621623
90%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2026 02:29PM UTC
Jobs 2
Files 1075
Run time 3min
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

06 Mar 2026 02:26PM UTC coverage: 89.454% (+0.07%) from 89.387%
22767621623

push

github

web-flow
feat(captcha): add Cloudflare Turnstile verification for protected endpoints (#2892)

* feat(captcha): add Cloudflare Turnstile verification for protected endpoints

- Add CaptchaModule with Turnstile token verification service
- Add CaptchaGuard to protect sensitive endpoints (e.g., owners controller)
- Add Turnstile configuration (secret key) to application config
- Update .env.sample with Turnstile environment variables

* add captcha config

* add PSDX header

* fix comment and add test

* add missing SPDX

* fix e2e

* load and store Captcha config at service init

* use asError

* type safety

* throw an error if catpcha is enabled but no secret key is configured

* Use log type constant

* TURNSTILE_SECRET_KEY -> CAPTCHA_SECRET_KEY

* load catpcha config in the constructor

* improve test "should not include remoteip when not provided"

* add comment x-forwarded-for is spoofable

* missing SPDX header

* remove empty beforeEach

---------

Co-authored-by: Pooya Raki <Pooya.raki@gmail.com>

3024 of 3824 branches covered (79.08%)

Branch coverage included in aggregate %.

59 of 60 new or added lines in 9 files covered. (98.33%)

1 existing line in 1 file now uncovered.

14559 of 15832 relevant lines covered (91.96%)

565.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.3
src/routes/captcha/captcha.service.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.32
-3.23% src/modules/notifications/routes/v1/entities/__tests__/create-registration-v2.dto.builder.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests - 22767621623.1 06 Mar 2026 02:31PM UTC 2069
79.53
GitHub Action Run
2 run-unit-tests - 22767621623.2 06 Mar 2026 02:29PM UTC 1878
56.99
GitHub Action Run
Source Files on build 22767621623
  • Tree
  • List 1075
  • Changed 296
  • Source Changed 7
  • Coverage Changed 296
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22767621623
  • 38d8f4ab on github
  • Prev Build on main (#22763996870)
  • Next Build on main (#22771807181)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc