T05 · Unauthorized Access and Privilege Escalation
- Location
spaces-group-assistant.js:13- Finding
Private-chat type is treated as authorization for full workspace access
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is openly built for a trusted Telegram assistant, but it grants broad workspace, memory, logs, and possible exec access to all users in one group and any private chat without user-level authorization.
Install only if every member of the configured Telegram group and every person who can privately message the bot is trusted with workspace memory, logs, internal documents, and any enabled execution hooks. Before broader use, add explicit user allowlists, per-tool authorization, and tool-level calendar blocking instead of keyword filtering.
spaces-group-assistant.js:13Private-chat type is treated as authorization for full workspace access
spaces-group-assistant.js:6Calendar access control can be bypassed through keyword evasion
Suspicious Unicode normalization or mixed-script content
The skill description explicitly grants trusted-group users broad access to workspace markdown, memory, logs, analytics, and even exec/server-side hooks, which materially expands the attack surface. In a group chat, any compromised member account, malicious insider, or prompt-injection through shared context could trigger disclosure of sensitive local data or dangerous server-side actions.
Suspicious Unicode normalization or mixed-script content
The comment on L01 says the skill answers all requests in the special group but 'calendar blocks'. However, the implementation only blocks calendar-related queries in non-private chats and explicitly permits them in private chat by returning null on L22-L23. This is an active contradiction between the documented behavior and the actual logic.
In the allowed special group, the skill intentionally processes messages from any user and passes them to the core assistant, which may expose workspace knowledge, memory, logs, or other assistant capabilities to all group participants without per-user authorization or an explicit notice. In a group setting, this can lead to unintended disclosure of sensitive organizational context or processing of messages from untrusted users who happen to be present in that chat.
The natural-language instructions and examples are predominantly in Russian, and the file does not indicate that users can choose another language or that the skill is intentionally limited to a Russian-speaking audience. This can be a language/locale policy issue under the rule requiring opt-in or clear justification for enforced language constraints.
The natural-language comment says the assistant 'отвечает на все обращения в спецгруппе', and all user-facing responses in the file are written only in Russian. The file does not offer a language choice or explain that the skill is intentionally limited to a Russian-speaking context.
No suspicious patterns detected.