
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
This package automatically configures Python to use system certificates from the OS certificate store instead of the bundled certificates via the truststore
library.
This allows pip and Python applications to verify TLS/SSL connections to servers whose certificates are trusted by your system.
Simply install with::
pip install pip_system_certs
and Python will automatically use your system's certificate store for all SSL verification.
This works for pip, requests, urllib3, and any other Python library that uses the standard SSL context.
pip-system-certs
uses pip's built-in truststore
library to inject system certificate
verification into Python's SSL context. This provides native OS integration using:
This approach leverages the same truststore technology that pip uses internally, ensuring compatibility and reliability. It automatically works with any Python library that uses SSL (requests, urllib3, httpx, etc.).
If you encounter issues, please report them at https://gitlab.com/alelec/pip-system-certs/-/issues
conda
virtual environments on Linux may install a separate SSL certificate store which
takes precedence over the system store, potentially preventing this package from accessing
system-installed certificates.The automatic certificate configuration relies on a .pth
file that Python loads at startup.
This method does not work when bundling applications with PyInstaller or similar tools.
For PyInstaller applications, manually enable system certificates by adding this line early in your main script::
import pip_system_certs.wrapt_requests; pip_system_certs.wrapt_requests.inject_truststore()
This must be called before any SSL connections are made.
This package uses a bootstrap system to automatically inject system certificate support:
.pth
file triggers the bootstrap when Python startstruststore
library (pip 24.2+) for compatibilitytruststore.inject_into_ssl()
to globally configure system certificatesThis package leverages pip's vendored truststore
library by Seth Michael Larson for system
certificate integration. This ensures compatibility with modern pip versions while avoiding
dependency conflicts.
The bootstrap system was originally inspired by the autowrapt module.
FAQs
Automatically configures Python to use system certificates via truststore
We found that pip-system-certs 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.