Skip to content

fix: prevent DoS attacks in Federation HTTP client#760

Merged
overcat merged 2 commits intomasterfrom
fix/federation-response-size-limit
Feb 3, 2026
Merged

fix: prevent DoS attacks in Federation HTTP client#760
overcat merged 2 commits intomasterfrom
fix/federation-response-size-limit

Conversation

@overcat
Copy link
Member

@overcat overcat commented Feb 3, 2026

No description provided.

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

❌ Patch coverage is 76.11940% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.92%. Comparing base (028b666) to head (bf0f686).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...java/org/stellar/sdk/requests/ResponseHandler.java 64.51% 8 Missing and 3 partials ⚠️
...in/java/org/stellar/sdk/federation/Federation.java 84.37% 2 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #760      +/-   ##
============================================
- Coverage     81.02%   80.92%   -0.10%     
- Complexity     1397     1409      +12     
============================================
  Files           216      218       +2     
  Lines          5369     5411      +42     
  Branches        527      537      +10     
============================================
+ Hits           4350     4379      +29     
- Misses          716      725       +9     
- Partials        303      307       +4     
Files with missing lines Coverage Δ
...exception/FederationResponseTooLargeException.java 100.00% <100.00%> (ø)
...ration/exception/StellarTomlTooLargeException.java 100.00% <100.00%> (ø)
...in/java/org/stellar/sdk/federation/Federation.java 82.22% <84.37%> (+0.55%) ⬆️
...java/org/stellar/sdk/requests/ResponseHandler.java 65.38% <64.51%> (-11.36%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@overcat overcat force-pushed the fix/federation-response-size-limit branch from 719df36 to 5902c2e Compare February 3, 2026 14:49
@overcat overcat enabled auto-merge (squash) February 3, 2026 14:59
@overcat overcat merged commit f5c3d0b into master Feb 3, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant