
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
cvsser is a simple library for interpreting CVSS vector strings and converting their metrics into ready-to-publish formats.
>>> import cvsser
>>> import json
>>> sample = "CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C"
>>> vs = cvsser.VectorString(sample)
>>> print(vs.privileges_required)
N
>>> print(json.dumps(vs.to_dict(style="verbose", parentheticals="values", include="mandatory"), indent=2))
{
"AV": {
"metric": "Attack Vector",
"value": "Local (L)"
},
"AC": {
"metric": "Attack Complexity",
"value": "High (H)"
},
"PR": {
"metric": "Privileges Required",
"value": "None (N)"
},
"UI": {
"metric": "User Interaction",
"value": "Required (R)"
},
"S": {
"metric": "Scope",
"value": "Unchanged (U)"
},
"C": {
"metric": "Confidentiality Impact",
"value": "High (H)"
},
"I": {
"metric": "Integrity Impact",
"value": "High (H)"
},
"A": {
"metric": "Availability Impact",
"value": "High (H)"
}
}
>>> print(json.dumps(vs.guide, indent=2))
{
"v2.0": {
"AV": {
"name": "Access Vector",
"values": {
"L": "Local",
"A": "Adjacent Network",
"N": "Network"
},
"type": "Base",
"mandatory": true
},
"AC": {
"name": "Access Complexity",
"values": {
"H": "High",
"M": "Medium",
"L": "Low"
},
"type": "Base",
"mandatory": true
},
...
cvsser is available on PyPI:
$ python -m pip install cvsser
FAQs
A module for interpreting and manipulating CVSS vector strings.
We found that cvsser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.