An automated bot that fetches the latest CVE (Common Vulnerabilities and Exposures) alerts and sends them to your Telegram channel and Pushbullet, powered by an LLM (via OpenRouter) for summarization/analysis.
Create a .env file in the project root with the following variables:
OPENROUTER_API_KEY=your_openrouter_api_key
MODEL=mistralai/mistral-7b-instruct
TELEGRAM_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=@your_channel_username
PUSHBULLET_TOKEN=your_pushbullet_access_tokenSecurity Note: Always add
.envto your.gitignorefile to protect your API keys.
Install dependencies:
pip install requests python-dotenvRun the bot:
python3 cvestrike_bot.py-
Create a free account on PythonAnywhere.
-
Upload
cvestrike_bot.pyand your.envfile to your Files section. -
Open a Bash console and install the required packages:
pip3 install --user requests python-dotenv
-
Configure daily execution under the Tasks tab using scheduled cron jobs:
Alert Time (IST) Time (UTC) Command Morning Alert 10:00 AM 04:30 python3 /home/YOUR_USERNAME/cvestrike_bot.pyEvening Alert 6:00 PM 12:30 python3 /home/YOUR_USERNAME/cvestrike_bot.py
Stay updated with real-time cybersecurity threat intel:
➡️ Telegram Channel: @CVESTRIKE
Distributed under the MIT License. Developed for educational, awareness, and research purposes.