π΅οΈ 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.
- π° 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
| 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 |
| 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 |
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.
- Daily briefing:
/briefingcombines top cybersecurity news and recent CVEs. - Threat of the day:
/threatprovides a rotating security threat and awareness guidance. - Subscriptions: Use
/subscribeand/unsubscribeto 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:
/alertsdisplays 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.
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.
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 | 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 |
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
- Python 3.10+
- Git
- A Telegram bot token from BotFather
git clone https://github.com/SamRepository25/ThreatScope.git
cd ThreatScopeWindows:
python -m venv .venv
.venv\Scripts\activateLinux/macOS:
python3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtCopy .env.example to .env and add your Telegram bot token. Keep your .env file private.
BOT_TOKEN=replace_with_your_bot_tokenWindows: Launch ThreatScope.bat from the project folder.
Or run the application from the activated environment:
python -m app.mainThreatScope 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.
- Keep bot tokens, API keys, and other credentials out of Git.
- Use
.env.exampleas 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.
- 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.
Run the test suite from the repository root:
python -m pytestThreatScope is licensed under the Apache License 2.0. See LICENSE for details.
B SIMAK AHMED
GitHub: @SamRepository25
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. π΅οΈ