New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@csaf-rs/ssvc

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csaf-rs/ssvc

Implementation of the SSVC specification in Rust

latest
Source
npmnpm
Version
0.4.1
Version published
Weekly downloads
145
1015.38%
Maintainers
2
Weekly downloads
 
Created
Source

@csaf-rs/ssvc

A WebAssembly build of the SSVC (Stakeholder-Specific Vulnerability Categorization) Rust implementation, for use with JavaScript/TypeScript. SSVC is a framework for prioritizing software vulnerability remediation efforts. It helps stakeholders make informed decisions about which vulnerabilities to address first by considering factors like vulnerability severity, the stakeholder's position in the ecosystem, and their specific constraints. Learn more at the official SSVC documentation.

For the Rust crate, source code, and full project documentation, see the csaf-rs/ssvc on GitHub.

Features

This package provides validation and processing of SSVC decision points and selection lists, with support for SSVC namespaces and extensions.

Installation

npm install @csaf-rs/ssvc

Usage

The WASM module must be initialized once before its functions can be used:

import init, { validateSelectionList } from '@csaf-rs/ssvc';

await init();

const jsonData = {...}; // Your SSVC selection list

try {
  const result = validateSelectionList(JSON.stringify(jsonData), false);
  if (result.success) {
    console.log("Valid SSVC data");
  } else {
    console.log("Validation errors:", result.errors);
  }
} catch (error) {
  console.error("Error:", error);
}

License

Licensed under the Apache License, Version 2.0. See LICENSE file for details.

FAQs

Package last updated on 18 Sep 2026

Related posts