{% extends "base.html" %} {% block title %}SBOM for {{ name }} {{ version }} — pypi-tea{% endblock %} {% block meta %} {% endblock %} {% block content %} {% set check_icon %}{% endset %} {% set cross_icon %}{% endset %}

SBOM for {{ name }} {{ version }}

{% if summary %}

{{ summary }}

{% endif %}
{% for fmt in formats %}{{ fmt }}{% endfor %} {% if has_attestation %} PEP 740 attested {% endif %} {% if vulnerability_scan.scanned_sboms %} {% if vulnerabilities %} {{ vulnerabilities|length }} known vulnerabilit{{ "y" if vulnerabilities|length == 1 else "ies" }} {% else %} No known vulnerabilities {% endif %} {% endif %}
{% include "_page_tools.html" %}

Package information

{% if author %}
Author
{{ author }}
{% endif %} {% if license %}
License
{{ license }}
{% endif %} {% if requires_python %}
Requires Python
{{ requires_python }}
{% endif %}
PyPI
{{ name }} {{ version }}
{% for label, url in project_urls.items() %}
{{ label }}
{{ url }}
{% endfor %}

Available SBOMs

Read from .dist-info/sboms/ in each wheel.

{% for wheel in wheels %}

{{ wheel.filename }}

{% if wheel.attestation and wheel.attestation.status == "verified" %} {{ check_icon }} Attested {% elif wheel.attestation and wheel.attestation.status == "failed" %} {{ cross_icon }} Failed {% endif %}
{% if wheel.attestation and wheel.attestation.status == "verified" %}
{% if wheel.attestation.publisher_kind %}Publisher: {{ wheel.attestation.publisher_kind }}{% endif %} {% if wheel.attestation.repository %}Source: {{ wheel.attestation.repository }}{% endif %} {% if wheel.attestation.workflow %}Workflow: {{ wheel.attestation.workflow }}{% endif %} {% if wheel.attestation.environment %}Environment: {{ wheel.attestation.environment }}{% endif %}
{% endif %}
{% for sbom in wheel.sboms %}
{% if sbom.valid is not none %} {% if sbom.valid %}{{ check_icon }}{% else %}{{ cross_icon }}{% endif %} {% if sbom.valid %}Valid{% else %}Invalid{% endif %} {% endif %}
{{ sbom.path.split('/')[-1] }}
{% if sbom.format %}{{ sbom.format }}{% endif %} {{ sbom.media_type }} {% if sbom.vulnerability_count is not none %}{% if sbom.vulnerability_count %}{{ sbom.vulnerability_count }} known vulnerabilit{{ "y" if sbom.vulnerability_count == 1 else "ies" }}{% else %}no known vulnerabilities{% endif %}{% endif %}
Download
{% endfor %}
{% endfor %}
{% if vulnerability_scan.scanned_sboms %}

Known vulnerabilities

Components listed in these SBOMs, matched against the OSV database{% if vulnerability_scan.scanned_at %} as of {{ vulnerability_scan.scanned_at }}{% endif %}{% if vulnerability_scan.scanned_sboms < vulnerability_scan.total_sboms %} ({{ vulnerability_scan.scanned_sboms }} of {{ vulnerability_scan.total_sboms }} SBOMs scanned so far){% endif %}.

{% if vulnerabilities %}
{% for v in vulnerabilities %} {% endfor %}
Vulnerability Severity Component Fixed in
{% if v.url.startswith("https://insights.sbomify.com/") %}{{ v.id }}{% else %}{{ v.id }}{% endif %} {% if v.summary %}
{{ v.summary }}
{% endif %}
{{ v.severity|capitalize }}{% if v.score %} {{ v.score }}{% endif %} {{ v.package }} {{ v.version }}
{{ v.ecosystem }}{% if v.wheels|length < wheels|length %} · {{ v.wheels|length }} of {{ wheels|length }} wheels{% endif %}
{{ v.fixed|join(', ') if v.fixed else '—' }}
{% else %}

OSV has no known vulnerabilities for the components these SBOMs list.

{% endif %}
{% endif %}

Access via TEA

Use the Transparency Exchange API to fetch this SBOM programmatically:

pip install libtea
python -m libtea {{ server_root_url }} pkg:pypi/{{ name }}@{{ version }}
{% endblock %}