You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation fails to propagate the ALLOWED_CHAT_IDS environment variable to the Telegram bridge child process. This results in a security bypass where any user can interact with the bot regardless of the whitelist settings.
✨ Thanks for submitting this issue with a detailed summary, it addresses a bug with the Telegram bridge failing to propagate the ALLOWED_CHAT_IDS environment variable, which could be related to the Telegram integration or security configuration.
I rechecked the current main service-launch path with a minimal harness and the telegram-bridge child still sees ALLOWED_CHAT_IDS in its environment. That suggests this may have been an older-install or older-script-path issue rather than a current main regression. If someone can still reproduce it on current main, the next useful artifact would be the exact launch path plus the bridge child environment from that run.
Activity
[-]Bug: ALLOWED_CHAT_IDS doesn't work[/-][+]Bug: ALLOWED_CHAT_IDS env var propagation[/+]wscurran commentedon Mar 25, 2026
✨ Thanks for submitting this issue with a detailed summary, it addresses a bug with the Telegram bridge failing to propagate the ALLOWED_CHAT_IDS environment variable, which could be related to the Telegram integration or security configuration.
Possibly related open PRs:
fix(services): propagate ALLOWED_CHAT_IDS and TELEGRAM_BOT_TOKEN to t…
fix: export ALLOWED_CHAT_IDS and TELEGRAM_BOT_TOKEN for nohup child p…
WuKongAI-CMU commentedon Mar 26, 2026
I rechecked the current
mainservice-launch path with a minimal harness and thetelegram-bridgechild still seesALLOWED_CHAT_IDSin its environment. That suggests this may have been an older-install or older-script-path issue rather than a currentmainregression. If someone can still reproduce it on currentmain, the next useful artifact would be the exact launch path plus the bridge child environment from that run.prekshivyas commentedon Apr 1, 2026
@dmibaranov can you confirm if you are still seeing this issue with the latest release?
test(chat-filter): add coverage for ALLOWED_CHAT_IDS propagation (Fixes
test(chat-filter): add coverage for ALLOWED_CHAT_IDS propagation (#1289)
test(chat-filter): add coverage for ALLOWED_CHAT_IDS propagation (NVI…
fix: ensure ALLOWED_CHAT_IDS is correctly passed to prevent telegram …
fix: ensure ALLOWED_CHAT_IDS is correctly passed to prevent telegram …
test(chat-filter): add coverage for ALLOWED_CHAT_IDS propagation (NVI…
fix: ensure ALLOWED_CHAT_IDS is correctly passed to prevent telegram …
fix(security): harden sandbox command execution and validate sandbox …
fix: ensure ALLOWED_CHAT_IDS is correctly passed to prevent telegram …