Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
This package provides easy access to the Root Certificate Authorities present in
the Microsoft Trusted Root Program. It is a fork of Kenneth Reitz's
certifi <https://pypi.org/project/certifi/>
_ project, which provides access
to Mozilla's collection of Root Certificates.
Warning: Microsoft's CA Program allows granular CA deprecation, which is not properly supported by certificate bundle files. This means that using this bundle may result in improper trust being applied, e.g. trusting certificates that are not actually trusted in their current use.
It is therefore highly recommended to use certifi
instead for almost all
needs, except in cases where the Microsoft store is specifically required, such
as in the signify <https://pypi.org/project/signify/>
_ project.
mscerts
is available on PyPI. Simply install it with pip
::
$ pip install mscerts
To reference the installed certificate authority (CA) bundle, you can use the built-in function::
>>> import mscerts
>>> mscerts.where()
'/usr/local/lib/python3.7/site-packages/mscerts/cacert.pem'
Or from the command line::
$ python -m mscerts
/usr/local/lib/python3.7/site-packages/mscerts/cacert.pem
This package is simply a mirror of the Microsoft store, and does not support any addition/removal or other modification of the CA trust store content. The sole provider of certificates in this store is Microsoft. See https://aka.ms/RootCert for more information.
FAQs
Python package for providing Microsoft's CA Bundle.
We found that mscerts 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.