WeSearch

Score Any CVSS Vector Offline - v3.1 and v4.0, Zero Dependencies

·2 min read · 0 reactions · 0 comments · 16 views
#security#javascript#opensource
Score Any CVSS Vector Offline - v3.1 and v4.0, Zero Dependencies
⚡ TL;DR · AI summary

A new JavaScript library, @hailbytes/cvss-calc, allows users to score CVSS vectors offline without any dependencies. It supports both CVSS v3.1 and v4.0, making it suitable for integration into CI environments that lack internet access. The library is lightweight and can be easily implemented as a web component on any webpage.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3713414) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } David McHale Posted on May 20 Score Any CVSS Vector Offline - v3.1 and v4.0, Zero Dependencies #security #webdev #javascript #opensource A 4 KB JavaScript library that parses and scores CVSS vectors with no network calls, no build step, and no third-party API. Use it in CI or drop a web component into any page. Every vuln management tool eventually needs to score a CVSS vector.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)