Skip to content

About

Personal cybersecurity intelligence Telegram bot with threat intelligence, CVEs, security news, OSINT, networking tools, and daily learning.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

38 Commits

Folders and files

Repository files navigation

πŸ•΅οΈ ThreatScope

Cybersecurity Intelligence Assistant for Telegram

ThreatScope is an independent Telegram bot that brings cybersecurity news, vulnerability information, curated security resources, and security alerts into one convenient interface. It helps students, security enthusiasts, and IT professionals stay informed.


✨ Features

  • πŸ“° Aggregated cybersecurity news from multiple publications
  • πŸ—žοΈ Source-specific news feeds
  • 🚨 Recent CVE information from the National Vulnerability Database (NVD)
  • πŸ“‹ Daily security briefing combining top news and CVEs
  • 🎯 Threat of the Day with practical awareness tips
  • πŸ”” Subscription-based cybersecurity intelligence alerts
  • ⚠️ Critical CVE and CISA Known Exploited Vulnerabilities (KEV) monitoring
  • 🧰 Curated OSINT, network, web security, malware analysis, and utility resources
  • ⚑ Asynchronous Telegram command handling
  • 🧡 News caching and command rate limiting
  • πŸͺ΅ Logging for troubleshooting
  • πŸ–₯️ Windows launcher included

πŸ€– Commands

Main commands (Telegram command menu)

Command Description
/start Start ThreatScope
/help View all commands
/news Latest cybersecurity news
/briefing Daily security briefing (news and recent CVEs)
/threat Threat of the day
/subscribe Subscribe to intelligence alerts
/unsubscribe Unsubscribe from alerts
/privacy Privacy policy
/terms Terms of use
/disclaimer Legal disclaimer

Additional commands

Command Description
/about About ThreatScope
/version Version information
/alerts View recent broadcast alerts
/cves Recent CVE information
/tools Curated cybersecurity tools and resources
/hackernews The Hacker News feed
/bleepingcomputer BleepingComputer feed
/securityweek SecurityWeek feed
/sans SANS Internet Storm Center feed
/krebs Krebs on Security feed
/darkreading Dark Reading feed
/talos Cisco Talos feed

πŸ“° News Sources

ThreatScope provides aggregated news and individual source feeds:

Source Command
The Hacker News /hackernews
BleepingComputer /bleepingcomputer
SecurityWeek /securityweek
SANS Internet Storm Center /sans
Krebs on Security /krebs
Dark Reading /darkreading
Cisco Talos /talos

The /news command combines recent items from configured feeds.


πŸ›‘οΈ Intelligence & Alerts

  • Daily briefing: /briefing combines top cybersecurity news and recent CVEs.
  • Threat of the day: /threat provides a rotating security threat and awareness guidance.
  • Subscriptions: Use /subscribe and /unsubscribe to manage broadcast alerts.
  • Critical CVE monitoring: Checks for CVEs with CVSS scores of 9.0 or higher.
  • CISA KEV monitoring: Tracks additions to the Known Exploited Vulnerabilities catalog.
  • Recent alerts: /alerts displays the latest recorded broadcast alerts.

Scheduled subscriber briefings and threat updates are sent daily at approximately 9:00 AM and 9:10 AM India Standard Time. Critical CVE monitoring runs hourly and CISA KEV monitoring runs every 30 minutes.


🚨 Vulnerability Information

The /cves command retrieves recent CVE entries from the National Vulnerability Database (NVD), including available details such as:

  • CVE identifier
  • Severity and CVSS score
  • Published date
  • Brief description
  • Link to the NVD entry

ThreatScope is an information aggregator; it does not perform vulnerability scanning or exploit testing.


🧰 Cybersecurity Tools

The /tools command provides curated external resources across categories:

  • OSINT: Shodan, Censys, VirusTotal, URLScan, WHOIS
  • Network: Nmap, Wireshark, Angry IP Scanner
  • Web security: Burp Suite, OWASP ZAP
  • Malware analysis: ANY.RUN, Hybrid Analysis, Joe Sandbox
  • Password & hashing: Hashcat, John the Ripper
  • Utilities: CyberChef, ExifTool, YARA

These are external resources. ThreatScope does not run these tools on behalf of users.


🧱 Technology Stack

Technology Purpose
Python Application logic
python-telegram-bot Telegram bot framework
HTTPX / Requests HTTP requests and API access
Feedparser / BeautifulSoup / lxml Feed and content parsing
Flask Keep-alive web endpoint
Rich Terminal startup display
APScheduler Scheduled intelligence tasks
SQLite Local alert/subscriber data
python-dotenv Environment configuration
Git & GitHub Version control

πŸ“‚ Project Structure

ThreatScope/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ bot.py
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ config.py
β”‚   β”œβ”€β”€ keep_alive.py
β”‚   β”œβ”€β”€ intelligence.py
β”‚   β”œβ”€β”€ cache/
β”‚   β”œβ”€β”€ feeds/
β”‚   β”‚   β”œβ”€β”€ cves.py
β”‚   β”‚   β”œβ”€β”€ news_engine.py
β”‚   β”‚   └── parser.py
β”‚   β”œβ”€β”€ handlers/
β”‚   β”‚   β”œβ”€β”€ news.py
β”‚   β”‚   β”œβ”€β”€ cves.py
β”‚   β”‚   β”œβ”€β”€ tools.py
β”‚   β”‚   β”œβ”€β”€ legal.py
β”‚   β”‚   └── ... source-specific handlers
β”‚   └── utils/
β”‚       β”œβ”€β”€ logger.py
β”‚       └── rate_limiter.py
β”œβ”€β”€ data/
β”œβ”€β”€ .env.example
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ ThreatScope.bat
└── README.md

πŸš€ Installation

Prerequisites

  • Python 3.10+
  • Git
  • A Telegram bot token from BotFather

1. Clone the repository

git clone https://github.com/SamRepository25/ThreatScope.git
cd ThreatScope

2. Create and activate a virtual environment

Windows:

python -m venv .venv
.venv\Scripts\activate

Linux/macOS:

python3 -m venv .venv
source .venv/bin/activate

3. Install dependencies

pip install -r requirements.txt

4. Configure the bot

Copy .env.example to .env and add your Telegram bot token. Keep your .env file private.

BOT_TOKEN=replace_with_your_bot_token

▢️ Run ThreatScope

Windows: Launch ThreatScope.bat from the project folder.

Or run the application from the activated environment:

python -m app.main

ThreatScope currently runs as a local process. It is available while the host system is powered on and the bot process is running. It is not guaranteed to be hosted 24/7.


πŸ”’ Security, Privacy & Legal

  • Keep bot tokens, API keys, and other credentials out of Git.
  • Use .env.example as a configuration template, not for real secrets.
  • ThreatScope aggregates publicly available information and links to external sources.
  • Subscriber chat IDs are stored locally in the SQLite database for alert delivery.
  • Use linked tools and security resources only on systems you own or are explicitly authorized to assess.

Legal documents:

See SECURITY.md for vulnerability reporting guidance.


⚠️ Limitations

  • News and CVE data depend on third-party feeds and APIs being available.
  • Feed formats, network conditions, and source changes can affect results.
  • CVE entries are informational; consult original advisories and vendor guidance before making security decisions.
  • ThreatScope is not a vulnerability scanner, SIEM, or automated incident-response platform.
  • Local hosting means bot availability depends on the host and running process.

πŸ§ͺ Tests

Run the test suite from the repository root:

python -m pytest

πŸ“œ License

ThreatScope is licensed under the Apache License 2.0. See LICENSE for details.


πŸ‘¨β€πŸ’» Author

B SIMAK AHMED
GitHub: @SamRepository25


🀝 Contributions

Suggestions, bug reports, and contributions are welcome. Include clear reproduction steps and relevant logs when reporting issuesβ€”and never include secrets or bot tokens.


ThreatScope β€” Cybersecurity intelligence at your fingertips. πŸ•΅οΈ

About

Personal cybersecurity intelligence Telegram bot with threat intelligence, CVEs, security news, OSINT, networking tools, and daily learning.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages