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

FIWARE / VCVerifier / 36137313263
70%
main: 73%

Build:
Build:
LAST BUILD BRANCH: ticket-64/work
DEFAULT BRANCH: main
Ran 25 Sep 2026 12:51PM UTC
Jobs 1
Files 71
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

25 Sep 2026 12:47PM UTC coverage: 69.977% (+0.2%) from 69.766%
36137313263

Pull #127

github

Mortega5
fix(openapi): restrict WebSocket upgrades to the verifier's own origin

CheckOrigin accepted any origin, and the login-notification WebSocket carries
no other authentication - anyone who obtained a session's state value (not a
secret in a QR flow; it's meant to be scanned) could open a connection to it
directly and receive the resulting authorization code intended for the
original browser.

Restrict the handshake to the verifier's own configured host, independent of
the general CORS AllowedOrigins policy (main.go), which intentionally
defaults to "*" for API compatibility - that default is fine for read-only
API responses but not for a channel that hands over a login's authorization
code.

Session ownership (distinguishing a legitimate reconnect of the same browser
from a second, unrelated party) is a separate follow-up; this change only
closes the cross-origin attack surface.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #127: Restrict WebSocket upgrades to the verifier's own origin

23 of 27 new or added lines in 1 file covered. (85.19%)

7715 of 11025 relevant lines covered (69.98%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
58.82
58.82% openapi/websocket.go
Jobs
ID Job ID Ran Files Coverage
1 36137313263.1 25 Sep 2026 12:51PM UTC 71
69.98
GitHub Action Run
Source Files on build 36137313263
  • Tree
  • List 71
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #127
  • PR Base - main (#35992326106)
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