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

graphprotocol / indexer-rs / 20962737247 / 1
68%
main: 68%

Build:
DEFAULT BRANCH: main
Ran 13 Jan 2026 03:45PM UTC
Files 96
Run time 3s
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

13 Jan 2026 03:38PM UTC coverage: 68.114% (+0.5%) from 67.588%
20962737247.1

push

github

web-flow
fix: Prevent GraphQL query bypass and add service provider validation (#898)

* fix(service): add query size limit to /status endpoint

Add a 4KB size limit check for status queries before parsing to prevent
memory exhaustion attacks from large malicious queries.

Part of TRST-H-2 security fix for GraphQL allowlist bypass.

* fix(service): prevent GraphQL allowlist bypass via fragment handling [TRST-H-2]

The /status endpoint's field allowlist could be bypassed by hiding
forbidden fields inside inline fragments or named fragment spreads.

The validation only checked Selection::Field, ignoring InlineFragment
and FragmentSpread variants entirely.

Changes:
- Add recursive field extraction that traverses all selection types
- Implement circular fragment detection to prevent infinite loops
- Add depth limit (10) to prevent stack overflow from deep nesting

* fix(service): reject undefined fragment references in status queries

10168 of 14928 relevant lines covered (68.11%)

82.57 hits per line

Source Files on job 20962737247.1
  • Tree
  • List 96
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20962737247
  • f18cde8c on github
  • Prev Job for on main (#20926929234.1)
  • Next Job for on main (#21052994457.1)
  • Delete
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