Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
kombu-fernet-serializers
Advanced tools
This library registers a set of Kombu
_ serializers which take those built into
Kombu and symmetrically encrypts them using Fernet
_.
The encryption key is accessed via the KOMBU_FERNET_KEY
environment variable.
To set the encryption key::
import os
from cryptography.fernet import Fernet
key = Fernet.generate_key()
os.environ['KOMBU_FERNET_KEY'] = key
To try it out, start a redis server and from the example
directory, run::
pip install celery redis
celery -A tasks worker
Then from another shell::
python -c "from tasks import add; add.delay(1, 2)"
.. _Kombu
: http://kombu.readthedocs.org/en/latest/
.. _Fernet
: http://cryptography.readthedocs.org/en/latest/fernet/
.. _Celery
: http://celery.readthedocs.org/en/latest/
FAQs
Symmetrically encrypted serializers for Kombu
We found that kombu-fernet-serializers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.