Intent-Code Divergence
Medium
- Confidence
- 93% confidence
- Finding
- The code's 'safety filter' is logically inconsistent: it blocks any href containing 'http://' or 'https://', but then implicitly trusts and clicks any other anchor as an internal Telegram file link. In a hostile or changing Telegram Web DOM, non-HTTP anchors such as javascript:, tg:, blob:, data:, or UI action links could still trigger unintended navigation or downloads, making the safety claim misleading and unsafe.
