Skip to content

A simple Go tool to monitor Openwall oss-security mailing list

License

Notifications You must be signed in to change notification settings

sensensen404/vuln-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuln-notifier

Switch to 中文版

A simple Go command-line tool that monitors the Openwall oss-security mailing list and sends notifications for new vulnerability posts to Slack or DingTalk. The tool supports keyword filtering to receive only the relevant security notifications.

Features

  • Periodic polling of Openwall oss-security mailing list.
  • Send notifications to Slack and DingTalk.
  • Filter messages by keywords.
  • Keep track of visited vulnerabilities to avoid redundant notifications.
  • Configurable polling interval (in minutes).

Requirements

  • Go 1.18 or higher.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/vuln-notifier.git
    cd vuln-notifier
  2. Build the Go application:

    go build vuln-notifier.go
  3. After building, you can run the tool directly:

    ./vuln-notifier

Usage

Command-line Options

Flag Description
-keywords Comma-separated list of keywords to filter messages (e.g., apache,critical)
-slack-webhook Slack webhook URL for notifications.
-dingtalk-webhook DingTalk webhook URL for notifications.
-interval Polling interval in minutes. Default is 60 minutes.

Example:

To filter vulnerability posts related to Apache and send notifications every 30 minutes to both Slack and DingTalk:

./vuln-notifier -keywords="apache" -slack-webhook="https://hooks.slack.com/services/..." -dingtalk-webhook="https://oapi.dingtalk.com/..." -interval=30

This will send notifications for vulnerabilities related to Apache only, filtering out posts unrelated to it.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple Go tool to monitor Openwall oss-security mailing list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages