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
{{ message }}
Repository navigation
Commit fa74697
Browse filesBrowse the repository at this point in the historyBrowse files
security: fix command injection in Telegram bridge (Fixes#118)
User messages from Telegram were interpolated directly into a shell
command string with only single-quote escaping, allowing attackers to
execute arbitrary commands via $() or backtick expansion.
Fix: pass both the API key and user message through stdin instead of
the command string, validate sessionId and SANDBOX_NAME, and change
stdio from "ignore" to "pipe" so stdin is writable.
0 commit comments