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

safe-global / safe-client-gateway / 22767621623 / 2
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2026 02:31PM UTC
Files 1878
Run time 58s
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: 56.989% (+0.1%) from 56.853%
22767621623.2

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>

2129 of 3997 branches covered (53.26%)

Branch coverage included in aggregate %.

16916 of 29422 relevant lines covered (57.49%)

65.96 hits per line

Source Files on job run-unit-tests - 22767621623.2
  • Tree
  • List 1878
  • Changed 282
  • Source Changed 7
  • Coverage Changed 282
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 22767621623
  • 38d8f4ab on github
  • Prev Job for on main (#22763996870.2)
  • Next Job for on main (#22771807181.2)
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