etherspot / etherspot/relayx

Information disclosure: health_check exposes aggregate relayer metrics without auth

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
enhancement rust
Dominant language
Rust
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Summary

The `health_check` JSON-RPC method returns total, pending, completed, and failed request counts plus uptime (`src/methods/health_check.rs`).

## Risk

On a publicly reachable deployment, this is a low-severity **information leak** useful for reconnaissance (activity levels, failure rates) and capacity planning by competitors or attackers.

## Suggested mitigations

- Require the same authentication as other methods, or bind health to a separate admin port.
- Return coarse-grained status only for authenticated callers.

## References

- `src/methods/health_check.rs`
- `src/rpc.rs` (method registration)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.