🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@csaf-rs/csaf-rs

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/csaf-rs

CSAF validation via WASM (UniFFI-generated bindings)

latest
Source
npmnpm
Version
0.5.1
Version published
Weekly downloads
15
-60.53%
Maintainers
2
Weekly downloads
 
Created
Source

CSAF-RS

This library is a reference implementation for the CSAF standard. It is generated from the base RUST implementation found at https://github.com/csaf-rs/csaf via UniFFi bindings.

For the license, see https://github.com/csaf-rs/csaf/blob/main/LICENSE.

Usage

Install this library via npm

npm install @csaf-rs/csaf-rs

Reference the main validation function in your typescript files and run the validation against a string

import { CsafFfi } from "@csaf-rs/csaf-rs";

const file_content = readFileSync(filePath, "utf-8");
const result = CsafFfi.validateCsaf(jsonStr, "basic");

Coverage

For an overview which tests from the standard are currently covered, see https://github.com/csaf-rs/csaf#implementation-status-in-regards-to-the-standard

FAQs

Package last updated on 16 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts