A modular collection of Discord bots for automating cybersecurity awareness, vulnerability tracking, and PoC alerting — tailored for security teams, blue teams, and researchers.
This repo contains purpose-built Discord bots that integrate with public CVE sources, enrich vulnerability data, and push it into designated channels. Bots are modular and can be run independently or together depending on your needs.
Generates OpenAI-powered introductions for GitHub security tools.
-
Commands:
!newtool <github_repo_url>— generates a rich embed describing the tool.!postreadme <url>— fetches and posts README content from GitHub.
Fetches Microsoft Patch Tuesday CVEs from MSRC RSS and enriches them using NIST's CVE API.
- Posts a monthly CVE digest to a dedicated Patch Tuesday channel.
- Embeds include CVSS scores, CWE, vector, and references.
- Throttled to respect NIST API rate limits.
Fetches exploitable CVEs from Kevin feed and posts alerts when public PoCs are found.
-
Filters previously posted PoCs using a track file.
-
Extracts and displays:
- GitHub PoC links
- Threat actor info
- Industry impact
- Ransomware campaign use
.
├── cveBot.py # Tracks and posts CVEs
├── cveNews.py # Tracks and posts latest Cyber News
├── newTools.py # Handles GitHub tool promotion via OpenAI
├── patchTuesday.py # Fetches, tracks and posts Microsoft Patch Tuesday CVEs
├── latestPocs.py # Tracks and posts CVEs with public PoCs from KEV feed
├── discrdConfig.py # All config variables, keys, tokens, and channel IDs # Recommend moving API keys to .env
├── posted_cves.txt # Track file for posted CVEs (Patch Tuesday) - Automatically Created on first run
├── posted_news.txt # (Optional) for any news-based bot - Automatically Created on first run
├── posted_pocs.txt # Track file for posted PoCs - Automatically Created on first run
└── README.md # << You are Here >>All credentials and channel IDs are stored in discrdConfig.py:
# === Discord Bot Configuration ===
COMMAND_PREFIX = '!'
NIST_API_URL = 'https://services.nvd.nist.gov/rest/json/cves/2.0?cveId='
MSFT_FEEDURL = 'https://api.msrc.microsoft.com/update-guide/rss'
NEWS_FEED_URL = 'https://cvefeed.io/rssfeed/newsroom.atom'
OPENAI_API = 'https://api.openai.com/v1/completions'
CVE_TRACK_FILE = 'posted_cves.txt'
NEWS_TRACK_FILE = 'posted_news.txt'
PATCHTUES_TRACK_FILE = 'msft_ptues_cves.txt'
POC_TRACK_FILE = 'posted_pocs.txt'
# Discord Channel IDs (replace with actual values)
STATUS_CHANNEL_ID = #################### # Status updates
# Optional (uncomment and assign as needed)
# PTUES_CHANNEL_ID = #################### # Patch Tuesday alerts
# POCS_CHANNEL_ID = #################### # Proof-of-Concept discussions
# PFSTATS_CHANNEL_ID = #################### # pfSense / firewall stats
# NEWS_CHANNEL_ID = #################### # News updates
# CVE_CHANNEL_ID = #################### # CVE alerts
DISCORD_APIKEY = '' # Discord bot token
OPENAI_APIKEY = '' # OpenAI API key
NIST_APIKEY = '' # NIST API key💡 Recommended: Migrate these into a
.envfile in production.
- Python 3.9+
- Discord.py
- aiohttp
- feedparser
- BeautifulSoup (for HTML parsing)
- OpenAI SDK (
openai) - Requests
Install all dependencies:
pip install -r requirements.txtPatch Tuesday Bot: runs every 24hPoC Feed Bot: polls every 30 minutesTool Post Bot: manually invoked via commands
Included Linux System Files for autostart
Developed by Sasquatch Inc LTD plc Crafted for red and blue teams who appreciate tidy automation with some AI spice.




