Skip to content

Security: relateful/shoal

Security

SECURITY.md

Security

Please report vulnerabilities privately through GitHub's "Report a vulnerability" button on this repository rather than in a public issue. Include what is affected and how to reproduce it.

Shoal handles bot tokens and, with the IPC layer, a shared secret between processes:

  • Token never shows its secret in repr.
  • Session files written by FileSessionStore contain session IDs that, with the token, can resume a session. Keep their directory private to the bot's user.
  • The IPC token is compared in constant time. Across hosts, use the ssl option.
  • Payloads that carry a credential (interaction tokens, webhook tokens and URLs, OAuth2 access tokens, lobby secrets) show <redacted> in its place in repr.
  • Interaction and webhook tokens, invite codes and template codes in a request path are shown as {placeholders} in logs and error messages.
  • Request paths are checked before sending: a path value of . or .. would otherwise reach a different endpoint.

There aren't any published security advisories