telegram-bot-development
Warn
Audited by Socket on Nov 7, 2026
1 alert found:
SecuritySecurityevals/files/webhook.ts
MEDIUMSecurityMEDIUM
evals/files/webhook.ts
This code implements a Telegram bot and contains no evident malware, but it logs the BOT_TOKEN and complete webhook updates, risking credential and user-data exposure. The webhook also processes unauthenticated request bodies, which could allow forged updates and potentially trigger grantBonus. Severity is moderate to high depending on log access and endpoint exposure; the configured host is bot.example[.]com.
Confidence: 98%Severity: 76%
Audit Metadata