Chromium Vulnerability Checker - monitors Chrome releases for CVEs and sends Slack notifications
693
Chrome Checker Bot (CCBot), also known as Chrome/Chromium Vulnerability Checker. This Python script monitors the Google Chrome release page for any announced vulnerabilities in Chrome/Chromium. It utilizes the Google Chrome Releases RSS feed to fetch the latest updates and checks for security-related content. If security issues are detected, it sends a formatted message to a specified Slack channel using a webhook.
This software was written by Joshua Rogers. For more information, see the blog post.
pip install ccbot-py
docker run -e SLACK_WEBHOOK_URL='your_slack_webhook_url' megamansec/ccbot
docker run -e SLACK_WEBHOOK_URL='your_slack_webhook_url' ghcr.io/megamansec/ccbot
git clone https://github.com/MegaManSec/CCBot.git
cd CCBot
pip install .
ccbot
Before running the script, ensure you set up the following configurations:
SLACK_WEBHOOK_URL: Set your Slack webhook URL as an environment variable.RSS_URL: Google Chrome Releases RSS feed URL.REFRESH_INTERVAL_SECONDS: Time interval for checking updates in seconds.The script performs the following tasks:
Desktop Update, Stable updates).The Slack message includes the following information for each security issue:
You can run the script in your terminal with the following instructions.
Set up a Python virtual environment and install the package:
python3 -m venv venv
venv/bin/pip install --upgrade pip
venv/bin/pip install .
Set up the Slack webhook URL as an environment variable:
export SLACK_WEBHOOK_URL='your_slack_webhook_url'
Run the script:
venv/bin/ccbot
A Debian-based installation script, install.sh, is provided. When run as root, this script:
/opt/ccbot./etc/systemd/system/ccbot.service) that runs ccbot in the background./var/log/ccbot.log and /var/log/ccbot_error.log./etc/logrotate.d/ccbot.You may optionally pass a single argument to install.sh to define the SLACK_WEBHOOK_URL environment variable used by the script:
sudo ./install.sh "https://hooks.slack.com/services/[...]"
ccbot has been installed, the service is started, and log rotation is set up.
If you don't provide a URL, you can manually edit /etc/systemd/system/ccbot.service later to set or change the webhook URL.
This project is licensed under AGPL-3.0.
Content type
Image
Digest
sha256:b7624585c…
Size
26.5 MB
Last updated
6 months ago
docker pull megamansec/ccbot