Skip to content

MCP: no case pins the relay_status payload free of SECRET material #1219

Open

Description

@chappie-daemon

The security lens measured that nothing in relay_status's payload carries the relay's secret, the derived secret key or the password hash — but no case asserts it. crates/nostream-mcp/tests/relay_status.rs checks the document's fields, not the absence of a needle.

Ask: one case that starts the door with SECRET set and asserts the serialised payload contains neither the secret, nor HMAC(SECRET, relay_url), nor the settings' password hash. Cheap, and it makes a future field added to the document fail loudly instead of quietly.

Activity

  1. added
    rewrite
    rust
    factory
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    factoryrewriterust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions