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

ruby-grape / grape / 30170997140 / 8
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 25 Jul 2026 07:09PM UTC
Files 167
Run time 4s
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 Jul 2026 07:07PM UTC coverage: 48.313%. Remained the same
30170997140.8

push

github

ericproulx
Add fuzz test for adversarial nesting depth

Several validation-runtime paths recurse on the shape of incoming params:
AttributesIterator#do_each recurses into nested arrays, and coercion/oneof
walk nested hashes and arrays. A deeply nested payload is a resource-
exhaustion surface.

This fuzzes random shapes (nested arrays, hashes, mixed) and depths across
every recursive path — Array/Hash scopes, type: JSON, oneof, Set coercion —
sending real request bytes, and asserts the request is never answered with a
5xx / uncaught exception. It documents that the upstream parsers
(Rack param_depth_limit, JSON max_nesting) cap depth well below Grape's own
recursion ceiling, so the reachable surface degrades to a controlled 4xx.

The generator is seeded from RSpec's seed, so a failure reproduces with
--seed <n> and prints the offending endpoint/shape/depth.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

158 of 1228 branches covered (12.87%)

Branch coverage included in aggregate %.

2277 of 3812 relevant lines covered (59.73%)

1.01 hits per line

Source Files on job run-4.0-gemfiles/multi_json.gemfile - 30170997140.8
  • Tree
  • List 167
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30170997140
  • 688a835b on github
  • Prev Job for on test-adversarial-nesting-depth (#30166451855.19)
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