Telegram privacy

I'm using Clawdbot and added it to a Telegram group chat. There's a security issue: when group members ask the bot to show configuration files (via config.get or reading files like ~/.clawdbot/clawdbot.json), the bot displays configuration contents without restrictions, including tokens, secrets, and auth settings.

This creates a serious security risk because:

1. Any group member can access sensitive data
2. No built-in mechanism to restrict configuration access for group chats
3. Disabling group functionality (groupPolicy: "disabled") fixes security but makes the bot useless for group use
Question:

Is there a way to restrict access to configuration files and sensitive data for Telegram group chats without completely disabling the bot in groups?
Was this page helpful?