Aias00 opened a new issue, #6645:
URL: https://github.com/apache/shenyu/issues/6645

   - severity: High
   - files: 
`shenyu-plugin/shenyu-plugin-fault-tolerance/shenyu-plugin-ratelimiter/src/main/java/org/apache/shenyu/plugin/ratelimiter/executor/RedisRateLimiter.java:63-75`
   - description: `resultFlux.onErrorResume(throwable -> 
Flux.just(Arrays.asList(1L, -1L)))` converts any Redis error into a normal 
emission of `{allowed=1, tokensLeft=-1}`. The downstream `.reduce().map()` 
completes successfully, so the trailing `.doOnError(...)` (which logs and calls 
the callback) is unreachable — `onErrorResume` already absorbed the error. Net 
effect: on Redis outage every request is allowed (fail-open) AND nothing is 
logged.
   - impact: Complete, invisible bypass of rate limiting during Redis outages; 
operators get no log signal.
   - suggested_fix: Move logging into the `onErrorResume` lambda; make 
fail-open vs fail-closed an explicit, logged policy.
   - confidence: High
   - related_existing: none — #5376/#5340/#5021 are different.
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/00-consolidated-critical-high.md`](docs/scan2-2026-08-02/00-consolidated-critical-high.md)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to