All kits

Security kit

Automatedv1.4.0 for Cruxible 0.6

Triage dependency vulnerabilities and code findings. It imports an SBOM, asks OSV, CISA KEV and EPSS about it, and keeps every judgment tied to the code it cites.

$ cruxible kit add security
Source on GitHub Walkthrough

It previews first and writes nothing. Add --commit --at ID with the id it prints to propose the kit.

11kinds53fields33named queries10Procedures3providers1skill5capabilitiesNames under it. security.

Ontology

11 kinds, 53 fields
app_exposure5 fieldsfinding13 fieldsoccurrence4 fieldsexposure3 fieldscoverage_unit5 fieldsinventory2 fieldscomponent2 fieldscode_fact4 fieldsit.asset6 fieldsvulnerability8 fieldscatalog1 field

A field on one kind names a Subject of anotherSelect a kind to open its fields

In the Python SDK

judge_exposure.py
from cruxible_client import Cruxible, FileEvidence

cx = Cruxible.connect()
sec = cx.world().security

occ = sec.occurrence["sbom--pkg-pypi-pyyaml-5.1"]
pair = sec.app_exposure.define(
    occurrence=occ,
    vulnerability=sec.vulnerability["cve-2020-14343"],
    justification="vulnerable_code_not_in_execute_path",
    evidence=FileEvidence(file="labs/app.py#yaml.load("),
)
pair.write(
    because="The Django app never imports yaml.",
    accept="never",  # waits for reviewer sign-off
)

Automated and governed

Settled from sources, by the kit's Lines once you enable them

  • epss-triage

    Ask FIRST's EPSS API for the watched CVEs and write each one's score, percentile and score date.

    vulnerability epss_score epss_percentile epss_score_date

  • kev-triage

    Read the CISA KEV catalog and write, for each watched CVE, whether it is listed, its dates and its ransomware use; only a complete read records a CVE as not listed.

    vulnerability listed_in kev_date_added kev_due_date kev_ransomware_use

  • osv-query

    Ask OSV about every inventoried component and write the vulnerabilities OSV lists for its exact purl@version; for a component OSV answered in full, a vulnerability it no longer lists is retired.

    component affected_by

  • sarif-import

    Read one SARIF file from the workspace and write the findings it reports for the Line's repository; only a full scan marks a held finding fixed.

    finding rule reported_by severity reported_at verification

  • sbom-import

    Read one CycloneDX or SPDX 2.x JSON SBOM from the workspace and write each component's occurrence in the inventory it describes, with its scope (and, for a distro package, the OSV source package it is asked as); a component the SBOM no longer lists has its scope retired.

    occurrence scope osv_package

Left to agents and people, as judgments that go through review

Questions to ask it first

  • Every occurrence (an inventory's component) a vulnerability affects that nobody has judged, KEV-listed first, then by EPSS score; a package-level or app-level not_affected judgment or an affected verdict removes it.

    security.urgent_exposures

  • The KEV-listed exposures nobody has judged yet, by EPSS score; a pair under investigation stays listed.

    security.kev_triage_backlog

  • The confirmed exposures to remediate or escalate: every occurrence an agent judged affected whose SBOM still lists the component, KEV-listed first, then by EPSS score.

    security.confirmed_exposures

  • Every current app-level not_affected judgment: the inventory, the component, the vulnerability and the VEX justification, while the inventory's SBOM still lists the component (its occurrence holds a scope).

    security.app_not_affected_judgments

  • The coverage units of one repository an audit should take up: never checked (no status), deferred or blocked.

    security.coverage_plan

Full manifest reference