csaf-tool
CSAF generator and analyser
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-tooluv
uv add csaf-toolpoetry
poetry add csaf-toolInstalling 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
Tags
More Security packages
Provides Python bindings to the FreeDesktop.org…
permissive · top 1,000 on PyPI
msalMSAL for Python handles OAuth2 and OpenID…
permissive · top 1,000 on PyPI
joserfcjoserfc implements JOSE standards (JWS, JWE,…
permissive · top 1,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI
argon2-cffi-bindingsProvides low-level CFFI bindings to the…
permissive · top 1,000 on PyPI
adalADAL for Python authenticates applications with…
permissive · top 1,000 on PyPI
lib4vexLib4VEX parses and generates VEX (Vulnerability…
permissive · top 15,000 on PyPI
reqifReqIF is a Python library for parsing,…
permissive · top 15,000 on PyPI
spdx-toolsParse, validate, create, and convert SPDX…
permissive · top 5,000 on PyPI
distro2sbomGenerates a Software Bill of Materials (SBOM)…
permissive · top 15,000 on PyPI
zizmorzizmor is a static analysis tool that scans…
permissive · top 5,000 on PyPI
semgrepSemgrep is a static analysis tool that searches…
copyleft · top 1,000 on PyPI
pip-auditpip-audit scans Python environments and…
permissive · top 1,000 on PyPI
cwe2cwe2 provides programmatic access to the Common…
permissive · top 15,000 on PyPI
njsscannjsscan is a static application security…
copyleft · top 15,000 on PyPI
defusedcsvDefusedcsv is a drop-in replacement for…
permissive · top 5,000 on PyPI