Skip to main content

Labeling of objects of the Software Heritage archive with known vulnerabilities affecting them.

Deployment

Install dependencies:

  1. cargo install --locked swh-graph swh-vulns-grpc-server

  2. pip3 install swh.graph

Get data files:

  1. Get swh-graph: swh graph download --name 2026-03-02 (~15TB)

  2. 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

Download files

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

Source Distribution

swh_vulns-0.2.5.tar.gz (77.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swh_vulns-0.2.5-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file swh_vulns-0.2.5.tar.gz.

File metadata

  • Download URL: swh_vulns-0.2.5.tar.gz
  • Upload date:
  • Size: 77.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for swh_vulns-0.2.5.tar.gz
Algorithm Hash digest
SHA256 c9f05c5c2c56349ea36b9dba2f7a40a08d1810211b207655d08054ca4392d18a
MD5 94b661cacd774339770e5870d703b87e
BLAKE2b-256 d93c87b96e0cf56a1290c51ce42ddcb5d9086bd1ed2bf84c9a3d6781a6705aae

See more details on using hashes here.

File details

Details for the file swh_vulns-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: swh_vulns-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for swh_vulns-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 db437fee1b695ab767acd0a5457af1e89dea435e03a3877ef498d48f5bacf0ae
MD5 2f6176591a15b0f5dcaf1fcf304ea886
BLAKE2b-256 76f7461eb2b61cb455d80fc4e0d3434bc091ac66498ae3d33dbe4c31b9d7b8fd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page