
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
NVD API client is a community driven NVD API 2.0 client.
This client support Vulnerabilities_ API and Products_ API.
.. _Vulnerabilities: https://nvd.nist.gov/developers/vulnerabilities .. _Products: https://nvd.nist.gov/developers/products
.. image:: https://badge.fury.io/py/nvd-api.svg :target: https://badge.fury.io/py/nvd-api
.. image:: https://img.shields.io/pypi/dw/nvd-api?style=flat :target: https://pypistats.org/packages/nvd-api
.. image:: https://github.com/kannkyo/nvd-api/actions/workflows/python-ci.yml/badge.svg :target: https://github.com/kannkyo/nvd-api/actions/workflows/python-ci.yml
.. image:: https://codecov.io/gh/kannkyo/nvd-api/branch/main/graph/badge.svg?token=ASYLVG3X9O :target: https://codecov.io/gh/kannkyo/nvd-api
.. image:: https://github.com/kannkyo/nvd-api/actions/workflows/scorecards.yml/badge.svg :target: https://github.com/kannkyo/nvd-api/actions/workflows/scorecards.yml
.. image:: https://bestpractices.coreinfrastructure.org/projects/6889/badge :target: https://bestpractices.coreinfrastructure.org/projects/6889
This API's simple example is bellow.
.. code-block:: python
from client import NvdApiClient
from pprint import pprint
client = NvdApiClient()
response = client.get_cpes(
cpe_name_id="87316812-5F2C-4286-94FE-CC98B9EAEF53",
results_per_page=1,
start_index=0
)
pprint(response)
get_cpes method check API's all constraints and limitations.
This API's simple example is bellow.
.. code-block:: python
from nvd_api import NvdApiClient
from pprint import pprint
client = NvdApiClient()
response = client.get_cpe_match(
cve_id="CVE-2022-32223",
results_per_page=1,
start_index=0
)
pprint(response)
get_cpe_match method check API's all constraints and limitations.
This API's simple example is bellow.
.. code-block:: python
from nvd_api import NvdApiClient
from pprint import pprint
client = NvdApiClient()
response = client.get_cves(
cpe_name="cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*",
cvss_v2_metrics="AV:L/AC:L/Au:N/C:C/I:C/A:C",
cvss_v2_severity="HIGH",
results_per_page=1,
start_index=1
)
pprint(response)
This API's simple example is bellow.
.. code-block:: python
from nvd_api import NvdApiClient
from pprint import pprint
client = NvdApiClient()
response = client.get_cve_history(
change_start_date="2021-08-04T00:00:00.000",
change_end_date="2021-10-23T00:00:00.000",
event_name="CVE Rejected",
results_per_page=1,
start_index=1
)
pprint(response)
get_cve_history method check API's all constraints and limitations.
If you have the nvd api key, you can set key to client.
.. code-block:: python
from nvd_api import NvdApiClient
from pprint import pprint
client = NvdApiClient(wait_time=1 * 1000, api_key='THIS IS API KEY')
response = client.get_cves(
cpe_name="cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*",
cvss_v2_metrics="AV:L/AC:L/Au:N/C:C/I:C/A:C",
cvss_v2_severity="HIGH",
results_per_page=1,
start_index=1
)
pprint(response)
FAQs
NVD API 2.0 Python API
We found that nvd-api 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.