Please report a security problem privately, not in a public issue. This project lives on GitLab and is mirrored to GitHub, and either route works:
- Report a vulnerability on the GitHub mirror's Security tab, or
- a GitLab issue marked confidential.
Only you and the maintainer see either one. Please include as much of this as you can:
- what's affected: the server, its sign-in (
oauth.py), the Lambda handler,login.py,setup_signin.pyordeploy.py - how to reproduce it, or a proof of concept
- what someone could do with it
- You'll hear back within 7 days.
- Once it's confirmed, it gets fixed, and a GitHub security advisory is published that credits you, unless you'd rather not be named. A CVE is requested through GitHub when the problem warrants one.
- Please keep it private until a fix is out, or for 90 days after your report, whichever comes first.
This is a one-person project with no bug bounty.
Only main gets fixes.
These matter most:
- Reaching the tools without signing in or the token: a forged, replayed or misdirected code or token, a client or redirect the server shouldn't accept, a way past the password or the authenticator code, or learning the token from anything the server sends or logs.
- Getting past a guard: reading, listing, searching or sending to Telegram's service chat (777000) or a
BLOCKED_CHATSchat; sending other than throughsend_message, past the hourly limit, or without its Saved Messages copy; formatting or a link preview in a sent message. - Leaking the Telegram session, the API hash, the token or a sign-in secret (the password hash, the TOTP secret or the signing key) in logs, error messages, the Lambda zip or the AWS resources
deploy.pymakes (for example, permissions wider than the role and policy describe). - Chat content that changes what a tool does: names, titles or message text that reach anything other than the tool's output.
Out of scope:
- what someone holding a token URL, the password and the authenticator, or the AWS account, can do: that is the account
- one stolen access or refresh token staying valid until it expires, and the limits of per-instance memory for used codes and failed sign-ins: the README states both
- a send that the user approved in their client, however the model was talked into proposing it (the approval is the control, as the README says)
- denial of service by sheer volume