A daily cybersecurity intelligence bot that:
- Fetches latest CISA security alerts
- Summarizes them using a local LLM via OpenRouter
- Sends formatted threat reports to Telegram & Pushbullet
- CISA RSS Feed parsing (top threat intel)
- Secure LLM analysis (e.g. Mistral via OpenRouter)
- Telegram channel updates (Markdown formatted)
- Optional Pushbullet push notifications
- Fully automatable (PythonAnywhere scheduling supported)
Create a .env file in your project root directory:
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_token
Important: Add .env to .gitignore to avoid exposing your keys!
.env
- Install dependencies:
pip install requests python-dotenv
2. Run the bot:
python3 cvestrike_bot.py
---
π Deploy on PythonAnywhere (Free Hosting)
1. nanywhere.com
2. Upload:
cvestrike_bot.py
.env
3. In the Bash Console, install required libraries:
pip3 install --user requests python-dotenv
---
β° Step 4: Schedule Cyber Alerts (Daily)
Go to the Tasks page on PythonAnywhere and schedule:
Morning Alert (10:00 AM IST β 04:30 UTC)
python3 /home/YOUR_USERNAME/cvestrike_bot.py
Evening Alert (6:00 PM IST β 12:30 UTC)
python3 /home/YOUR_USERNAME/cvestrike_bot.py
β
You now have an automated threat intel bot!
---
π² Join Our Channel
Stay ahead of cyber threats:
β‘οΈ https://t.me/CVESTRIKE
---
π License
MIT License β for educational, awareness, and research purposes.