TelegramAgentBot controls local agent CLIs through Telegram and tmux. Security reports involving authorization, credential handling, command injection, path boundaries, remote backend transport, file upload, or transcript disclosure are especially important.
Security fixes target the latest release and the main branch. Older releases
may not receive backports. Reproduce against a current version before reporting
when it is safe to do so.
Report security vulnerabilities through GitHub private vulnerability reporting. Do not post exploit details, credentials, private sessions or personal data in public issues or PRs. Include the affected version, impact and minimal redacted reproduction. The maintainer handles reports on a best-effort basis; no bounty or response-time guarantee is implied.
In scope:
- bypassing
ALLOWED_USERSauthorization; - leaking bot tokens, provider keys, agent credentials, private prompts, or transcripts;
- command, tmux target, file-name, or path injection;
- escaping configured project roots through the Telegram browser;
- unauthorized socket-backend operations;
- unsafe file upload or overwrite behavior;
- privilege escalation caused by project code or service templates.
Usually out of scope:
- vulnerabilities in Telegram, Codex CLI, Claude Code, tmux, or an external transcription provider that do not result from this project's integration;
- an operator deliberately enabling an agent's unsafe approval or sandbox flags;
- denial of service that requires an already authorized operator and has no privilege or boundary impact;
- findings based only on version banners or automated scanner output without a reproducible impact.
Do not test against systems, bots, accounts, or repositories you do not own or have explicit permission to assess.
- Restrict
ALLOWED_USERSto trusted numeric IDs. - Keep
.env, account snapshots, state files, and bridge configuration outside the repository and owner-readable only. - Bind socket-backend nodes to loopback and transport them through SSH or a private network.
- Review agent approval, sandbox, hook, and update settings before unattended deployment.
- Keep the bot process unprivileged and grant narrow sudo rules only when an explicit maintenance feature requires them.
- Rotate credentials immediately if a log, issue, or pull request exposes them.