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 library is used to gain direct access to the functions exposed by Daniel J. Bernstein's nacl library via libsodium. It has been constructed to maintain extensive documentation on how to use nacl as well as being completely portable. The file in libnacl/init.py can be pulled out and placed directly in any project to give a single file binding to all of nacl.
The libnacl code also ships with many high level classes which make nacl cryptography easy and safe, for documentation please see: http://libnacl.readthedocs.org/
There are a number of libraries out there binding to libsodium, so why make libnacl?
This makes libnacl very portable, very easy to use and easy to distribute.
The libnacl code is easiy installed via a setup.py from the source or via pip.
From Source:
.. code-block:: bash
tar xvf libnacl-1.5.2.tar.gz
cd libnacl-1.5.2
python setup.py install
Via Pip:
.. code-block:: bash
pip install libnacl
Remember that libnacl can be installed for python 2 and 3.
Libnacl is shiped with many linux distributions, check your distribution
package manager for the package python-libnacl
, python2-libnacl
and/or python3-libnacl
.
FAQs
Python bindings for libsodium based on ctypes
We found that libnacl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.