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:
Tokennever shows its secret inrepr.- Session files written by
FileSessionStorecontain 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
ssloption. - Payloads that carry a credential (interaction tokens, webhook tokens and URLs, OAuth2 access
tokens, lobby secrets) show
<redacted>in its place inrepr. - 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.