Labeling of objects of the Software Heritage archives with known vulnerabilities affecting them.
Project description
Labeling of objects of the Software Heritage archive with known vulnerabilities affecting them.
Deployment
Install dependencies:
cargo install --locked swh-graph swh-vulns-grpc-server
pip3 install swh.graph
Get data files:
Get swh-graph: swh graph download --name 2026-03-02 (~15TB)
From s3://softwareheritage/derived_datasets/2026-03-02/vulnerabilities/, download :all.sqlite, :commit2vuln_without_cherrypicks.*, and :connected_components.wccs, about 10GB. (Ignore other files in the directory, they weigh about 1.5TB.)
Run this:
swh-vulns-grpc-serve \
--db ./2026-03-02/all.sqlite \
--commit2vuln ./2026-03-02/commit2vuln_without_cherrypicks \
--subgraphwccs ./2026-03-02/connected_components.wccs \
--graph ./2026-03-02/graph \
--bind 127.0.0.1:<port>
note that --commit2vuln and --graph should omit the file extension
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swh_vulns-0.2.1.tar.gz.
File metadata
- Download URL: swh_vulns-0.2.1.tar.gz
- Upload date:
- Size: 81.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b7bd2a1f594ec32b2ddf6538a95e000e58ca01ea5eff1c550ce701a3f5fb01
|
|
| MD5 |
7f1609c3e5880f4eaa103948d84af8e8
|
|
| BLAKE2b-256 |
50f7d499a3671b1d3e9a2399ee35f2fae9660119bf32adcb2081fdf0cfef32a3
|
File details
Details for the file swh_vulns-0.2.1-py3-none-any.whl.
File metadata
- Download URL: swh_vulns-0.2.1-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4093fb82ec3c099be7c8ff4c8a4885172fbf9bd2b3125be69f15a5e71a9f5c2e
|
|
| MD5 |
c4c4769dcf883d4c0d487a88ef600356
|
|
| BLAKE2b-256 |
2180bcd9b72006c6a33c0dd25a3a96fac1e04849afc0beb1719fe7ce498e1ef6
|