
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@csaf-rs/ssvc
Advanced tools
A Rust implementation of the SSVC (Stakeholder-Specific Vulnerability Categorization) specification. 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.
This library provides validation and processing of SSVC decision points and selection lists, with support for SSVC namespaces and extensions. It features full serde support. The library supports both native Rust usage and WebAssembly (WASM) bindings for JavaScript/web applications.
Add to your project:
cargo add ssvc
1.85.0
use ssvc::selection_list::SelectionList;
use ssvc::validate_selection_list;
let json_data = "..."; // Your SSVC selection list
let selection_list: SelectionList =
serde_json::from_str(json_data).expect("SSVC SelectionList was invalid JSON");
// Validate the selection list
let result = validate_selection_list(&selection_list, false);
if result.success {
println!("Selection list is valid!");
} else {
for error in result.errors {
println!("Validation error: {}", error.message);
}
}
# Install wasm-pack if you haven't already
cargo install wasm-pack
# Build for web
wasm-pack build --target web --out-dir pkg -- --features wasm
import * as wasm from './pkg/ssvc.js';
const jsonData = {...}; // Your SSVC selection list
try {
const result = wasm.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);
}
Licensed under the Apache License, Version 2.0. See LICENSE file for details.
FAQs
Implementation of the SSVC specification in Rust
The npm package @csaf-rs/ssvc receives a total of 145 weekly downloads. As such, @csaf-rs/ssvc popularity was classified as not popular.
We found that @csaf-rs/ssvc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.