gramio
Warn
Audited by Socket on Sep 18, 2026
1 alert found:
AnomalyAnomalyexamples/telegram-stars.ts
LOWAnomalyLOW
examples/telegram-stars.ts
The code implements Telegram Stars invoicing, payment-link creation, payment confirmation messaging, and refunds. There is no clear evidence of malware, data theft, or supply-chain sabotage. However, unconditional checkout approval and an unrestricted refund command are significant payment-authorization weaknesses. The refund command is currently likely nonfunctional because it uses a placeholder charge ID, but it should still be protected and tied to verified transactions.
Confidence: 98%Severity: 62%
Audit Metadata