Skip to content

Information disclosure: health_check exposes aggregate relayer metrics without auth #35

@ch4r10t33r

Description

@ch4r10t33r

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrustPull requests that update rust code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions