Skip to content

Direct Telegram API#998

Open
Tom-V wants to merge 1 commit into
getwud:mainfrom
Tom-V:tomv/replace-telegram-api
Open

Direct Telegram API#998
Tom-V wants to merge 1 commit into
getwud:mainfrom
Tom-V:tomv/replace-telegram-api

Conversation

@Tom-V

@Tom-V Tom-V commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

This PR replaces the node-telegram-bot-api dependency with a direct HTTP call using axios.

Reason:
The node-telegram-bot-api package currently has:

  • A critical CVE
  • Multiple medium severity CVEs
  • A dependency on the deprecated request and request-promise libraries

In our use case we only rely on a single function that essentially performs a simple Telegram API request. Introducing a full library for this adds unnecessary dependencies and security risks.

Solution:
Replace the library usage with a direct call to the Telegram Bot API using axios. This removes the vulnerable dependency chain while keeping the functionality equivalent.

@Tom-V
Tom-V force-pushed the tomv/replace-telegram-api branch from e061e21 to 746c5f8 Compare July 15, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant