Please report security problems privately through GitHub's security advisories, not in a public issue, pull request or discussion:
https://github.com/dateo/phei/security/advisories/new (the repository's Security tab → Report a vulnerability)
If you cannot use GitHub, e-mail info+security@dateo.io instead.
Only the maintainers see the report. Please include:
- the phei version (
phei version, or the image tag) and how it runs:phei serveover HTTP,phei serve --stdio, the Docker image; - the channels and plugins involved (web inbox, TUI, Teams, Outlook, Slack, Rocket.Chat, Matrix, mail, Signal, WhatsApp, Web Push, a plugin of your own);
- what an attacker can do, and what they need for it (a token of another user, network access to phei, an account on a channel, a malicious plugin);
- the steps or a proof of concept, and anything you know about a fix.
| Who | Role | Contact |
|---|---|---|
| dateo security | security contact | info+security@dateo.io, or a GitHub security advisory (above) |
The maintainer aims to acknowledge a report within 7 days, agrees on a disclosure date with you, fixes the problem and publishes the advisory with the fix (GitHub can assign a CVE). You are credited in the advisory unless you prefer not to be.
| Version | Security fixes |
|---|---|
main and the image ghcr.io/dateo/phei:main |
yes |
| the latest release, once there are releases | yes |
| anything older | no: update to the latest |
phei holds its users' tokens and speaks for agents on their users' channels, so these matter most:
- anything that lets one user see or answer another user's runs and questions, take over another user's MCP session, or answer from an address not configured for them;
- authentication: bearer tokens and their hashes, the OIDC login of the web inbox, signed answer links, the Bot Framework, Slack and WhatsApp request checks;
- secrets phei handles (channel credentials, the config's
secret, VAPID keys, the state file): they must never reach logs, messages or other users; - the plugin host: loading plugins, minisign signature checks, hot reload;
- the Claude Code plugin's hooks, which pass messages into an agent's turn and answer permission prompts;
- the Docker image published to
ghcr.io/dateo/phei.
Problems in the services phei talks to (Microsoft, Slack, Rocket.Chat, Matrix homeservers, signal-cli, Meta's Cloud API, mail servers) belong to their projects; tell us too if phei uses them unsafely.