Skip to main content

A client to gather vulnerability-related information from the Fediverse.

Project description

FediVuln

A client to gather vulnerability-related information from the Fediverse.

Usage

Installation

pipx is an easy way to install and run Python applications in isolated environments. It's easy to install.

$ pipx install FediVuln
$ export FEDIVULN_CONFIG=~/.FediVuln/conf.py

The configuration for FediVuln should be defined in a Python file (e.g., ~/.FediVuln/conf.py). You must then set an environment variable (FEDIVULN_CONFIG) with the full path to this file.

You can have a look at this example of configuration.

Register your application

$ FediVuln-Register

This script uses OAuth in order to retrieve the access token. This is achieved in several steps.

  • Register the application with Mastodon instance, a including all necessary scopes
  • Instantiate Mastodon client with client credentials
  • Log in - Generate authorization URL with the exact same scopes
  • Once the user authorizes, prompt for the authorization code
  • Use the authorization code to retrieve the access token, with the same scopes

You only have to execute it once.

Streaming

$ FediVuln-Stream --user --sighting

Using the --sighting argument, detected vulnerability IDs will be recorded in Vulnerability Lookup as sightings.

Publishing

WIP.

$ python publish.py

License

FediVuln is licensed under GNU General Public License version 3

Copyright (c) 2024 Computer Incident Response Center Luxembourg (CIRCL)
Copyright (C) 2024 Cédric Bonhomme - https://github.com/cedricbonhomme

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fedivuln-0.2.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

fedivuln-0.2.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file fedivuln-0.2.0.tar.gz.

File metadata

  • Download URL: fedivuln-0.2.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.4 Linux/6.1.0-26-amd64

File hashes

Hashes for fedivuln-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5c0b2bec98dd98dcaf2e1612cbab13dec39d118417a3b328c97f45020616658b
MD5 63c166a81af73611ac2097b23004b1bf
BLAKE2b-256 67b9fd0f60167ac1e390f26478d456f0ce2c75141817fcebeeb3eee03de78a3e

See more details on using hashes here.

File details

Details for the file fedivuln-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fedivuln-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.4 Linux/6.1.0-26-amd64

File hashes

Hashes for fedivuln-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 067158a84b99141e232127d9bf7b500f6df66c7b0c1bcbf8eec99f08cf77cc67
MD5 96b7e838d77445615321ab6fb1e42574
BLAKE2b-256 b05cfc85efcbdaca5b704d9889b7fad1fbfce74ee096ec9ce4e2ad432af83cc1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page