FediVuln
Connects the Fediverse and Vulnerability-Lookup: collects vulnerability sightings from Mastodon and publishes Vulnerability-Lookup activity back.
FediVuln is a Mastodon client that links the Fediverse with a Vulnerability-Lookup instance, in both directions:
- From the Fediverse:
FediVuln-Streamfollows Mastodon streams, detects vulnerability identifiers (CVE, GHSA, PYSEC, CERT-FR and more) in statuses, and records each one in Vulnerability-Lookup as a sighting. - To the Fediverse:
FediVuln-Publishsubscribes to the event stream of Vulnerability-Lookup and posts new vulnerabilities, comments, bundles and sightings on Mastodon.
Installation
The simplest way to install FediVuln is with pipx (installation instructions), which runs Python applications in isolated environments:
$ pipx install FediVuln
$ export FEDIVULN_CONFIG=~/.FediVuln/conf.py
FediVuln is configured with a Python file, such as ~/.FediVuln/conf.py.
Set the FEDIVULN_CONFIG environment variable to the full path of this file.
Start from the sample configuration.
With Docker
git clone https://github.com/vulnerability-lookup/FediVuln
cd FediVuln
# Create fedivuln/conf.py before running (see the note below)
docker compose up --build
By default, the container runs FediVuln-Stream --public --push-sighting. To
pass other arguments, for example --websocket, set command: in
docker-compose.yml (a commented example is included) or append them to
docker run <image>.
Usage
Register your application
$ FediVuln-Register
This script retrieves an access token through OAuth, in the following steps:
- Register the application with the Mastodon instance, including all the necessary scopes.
- Create a Mastodon client with the client credentials.
- Generate an authorization URL with exactly the same scopes, and open it to log in.
- Once you have authorized the application, enter the authorization code.
- Exchange the authorization code for an access token, with the same scopes.
You only need to run it once.
Streaming
FediVuln-Stream streams statuses from the Fediverse and uses
PyVulnerabilityLookup
to create sightings in Vulnerability-Lookup.
usage: FediVuln-Stream [-h] [--user] [--public] [--push-sighting] [--websocket]
Allows access to the streaming API.
options:
-h, --help show this help message and exit
--user Streams events that are relevant to the authorized user, i.e. home timeline and notifications.
--public Streams public events.
--push-sighting Push the sightings to Vulnerability-Lookup.
--websocket Use the WebSocket streaming API instead of HTTP streaming. Needed when the server buffers
HTTP streaming responses, which delays or starves the stream.
Examples
Stream the events relevant to the authorized user (home timeline and notifications):
$ FediVuln-Stream --user --push-sighting
Stream public events (from the local server and the servers it is connected to):
$ FediVuln-Stream --public --push-sighting
If the stream connects but no events arrive, or connecting times out although
the instance is up, the server is probably buffering HTTP streaming responses:
it sends nothing until its buffer is full, which a quiet home timeline never
fills. Add --websocket to subscribe over the WebSocket endpoint instead,
which is not affected:
$ FediVuln-Stream --user --push-sighting --websocket
With --push-sighting, each detected vulnerability ID is recorded in
Vulnerability-Lookup as a
sighting.
Publishing
FediVuln-Publish subscribes to the event stream of Vulnerability-Lookup, over
HTTP or through Valkey, and publishes the incoming events on the Fediverse.
$ FediVuln-Publish --help
usage: FediVuln-Publish [-h] [--valkey]
[-t {vulnerability,comment,bundle,sighting}]
options:
-h, --help show this help message and exit
--valkey Stream from Valkey instead of streaming for the HTTP
event-stream.
-t, --topic {vulnerability,comment,bundle,sighting}
The topic to subscribe to.
PyVulnerabilityLookup handles the authentication to the HTTP event stream.
For each incoming event, FediVuln posts a status with the configured Mastodon
account, formatted for the event's topic. For example, FediVuln-Publish -t comment
picks up every new comment and posts a readable summary on the Fediverse, with a
link to the original comment on the Vulnerability-Lookup instance.
Search
FediVuln-Search searches the Mastodon instance with the configured account.
$ FediVuln-Search --help
usage: FediVuln-Search [-h] --query QUERY
Allows you to search for users, tags and, when enabled, full text, by default within your own posts and those you have interacted with.
options:
-h, --help show this help message and exit
--query QUERY Query of the search.
License
FediVuln is licensed under the GNU General Public License version 3 or later.
Copyright (c) 2024-2026 Computer Incident Response Center Luxembourg (CIRCL)
Copyright (C) 2024-2026 Cédric Bonhomme - https://github.com/cedricbonhomme
Metadata
Release files for FediVuln 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fedivuln-1.6.0.tar.gz | 27.3 kB | With provenance | Details for fedivuln-1.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fedivuln-1.6.0-py3-none-any.whl | Python 3 | none | any | Details for fedivuln-1.6.0-py3-none-any.whl |
Total release size: 56.8 kB
Release files / fedivuln-1.6.0.tar.gz
| Download URL | fedivuln-1.6.0.tar.gz |
|---|---|
| Size | 27.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a25dcfb37c03cfb8d4368e2e3cd781287e2e3a63dfedf7187bcc06685efd40b
|
|
BLAKE2b-256 checksum How to use checksums |
09675c7771ce0d18f05ae93d412614bbb207eeee21ecdbeebc79b4e8d6b707a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / fedivuln-1.6.0-py3-none-any.whl
| Download URL | fedivuln-1.6.0-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4c44a12afbf8ef55c94149f01550eb1ebb0dd68582033ab34a70176249d7e09
|
|
BLAKE2b-256 checksum How to use checksums |
8066ac4a52cd0ea237e869a89b17e0bb711e081ee99efd37596dcb0e0eae3218
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for FediVuln 1.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fedivuln-1.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.