skillfed

csaf-tool

CSAF generator and analyser

csaf-tool v0.3.2 77.6K downloads/30d#14,511 on PyPI9
Permissive license MIT DORMANT released

What it is and what it does

CSAF-Tool is a command-line utility and Python library for working with CSAF 2.0 documents—the Common Security Advisory Framework standard for publishing structured vulnerability information. It reads product and vulnerability data from CSV files and generates a compliant CSAF JSON document that includes a product tree, vulnerability details, and remediation status. It can also parse and display an existing CSAF document in human-readable table format using the rich library.

The tool is designed for security teams and vendors who need to publish standardized vulnerability advisories. It depends on packageurl-python for package identification and rich for formatted terminal output. Development is dormant as of mid-2024, so it is suitable for stable, straightforward CSAF generation workflows but not for projects requiring active maintenance or new features.

Use it for:

  • Generate a CSAF advisory document from a CSV list of products and their known vulnerabilities
  • Parse and display an existing CSAF JSON file in a formatted table for review
  • Integrate CSAF generation into a security advisory pipeline using the package as a library
  • Publish vendor security advisories in the standardized CSAF format for compliance or distribution

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Generates and analyzes CSAF 2.0 documents, which describe product vulnerabilities and their remediation status in a standardized format.

Yes, if you need to generate or analyze CSAF 2.0 documents and accept dormant maintenance. The low install friction, permissive license, and zero known vulnerabilities make it safe to use. However, do not expect bug fixes or new features—evaluate whether the current feature set and stability meet your long-term needs before adopting it in a critical workflow.

Install

csaf-tool on PyPI

pip

pip install csaf-tool

uv

uv add csaf-tool

poetry

poetry add csaf-tool

Installing csaf-tool

Before you install

Low install friction with only two runtime dependencies. Maintenance is dormant—last commit was 2024-10-16, over 793 days ago—so expect no active bug fixes or feature updates.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions.

Quickstart

pip install csaf-tool

csaf-tool --generate --product products.csv --vulnerabilities vulns.csv --output-file advisory.json --config csaf.ini

Requires Python 3.7 or later. CSV input files must follow the documented schema (product,vendor,release and product,release,id,description,status,comment headers).

Verify before relying

  • Whether the tool validates CSAF documents against the official CSAF 2.0 schema
  • Support for CSAF formats beyond 2.0 or backward compatibility with earlier versions
  • Whether programmatic library usage is documented or tested

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 2 — packageurl-python, rich
Maintenance dormant — 793 days since the last release
Last repo commit
First released
Downloads 77,614/month — #14,511 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: csaf_tool-0.3.2-py2.py3-none-any.whl

Keywords: security, tools, CSAF, CSAF 2.0, VexDevSecOps, vulnerabilities

Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Tags

CSAF document generationvulnerability advisory formatproduct security advisoriesCSAF 2.0 parserVEX vulnerability exchangesecurity advisory tool
security-advisorycsaf-vex

More Security packages