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

graphprotocol / indexer-rs / 20962737247
68%

Build:
DEFAULT BRANCH: main
Ran 13 Jan 2026 03:45PM UTC
Jobs 1
Files 96
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

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

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

253 of 254 new or added lines in 1 file covered. (99.61%)

1 existing line in 1 file now uncovered.

10168 of 14928 relevant lines covered (68.11%)

82.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.77
1.95% crates/service/src/routes/status.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.77
1.95% crates/service/src/routes/status.rs
Jobs
ID Job ID Ran Files Coverage
1 20962737247.1 13 Jan 2026 03:45PM UTC 96
68.11
GitHub Action Run
Source Files on build 20962737247
  • Tree
  • List 96
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20962737247
  • f18cde8c on github
  • Prev Build on main (#20926929234)
  • 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