Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unorsk/cvss-ts


https://github.com/unorsk/cvss-ts

cvssv4 typescript

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

## CVSS implementation in TypeScript

This is based off the reference implementation at [https://github.com/RedHatProductSecurity/cvss-v4-calculator](cvss-v4-calculator)

### Building the project

Pre-requisites:
- Bun

Build the project by running the following commands
```
bun install
bun run build
```

Running tests
```
bun test
```

Supported versions
- [ ] CVSS20
- [ ] CVSS30
- [ ] CVSS31
- [x] CVSS40

### Basic CVSS anatomy

```
Availability Impact ╮
Integrity Impact ╮ │
Confidentiality Impact ╮ │ │
Scope Changed ╮ │ │ │
╭─┴╮╭─┴╮╭─┴╮╭─┴╮
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
╰┬─────╯╰┬──╯╰┬──╯╰┬──╯╰┬──╯
│ │ │ │ ╰ User Interaction is None
│ │ │ ╰ Privileges Required is None
│ │ ╰ Attack Complexity is Low
│ ╰ Attack Vector is Network
╰ This is a CVSS 3.1

```