Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
|Build Status| |PyPI Version| |PyPI License| |Python Versions| |Django Versions| |Read the Docs|
Django-CRUM (Current Request User Middleware) captures the current request and user in thread local storage.
It enables apps to check permissions, capture audit trails or otherwise access the current request and user without requiring the request object to be passed directly. It also offers a context manager to allow for temporarily impersonating another user.
It provides a signal to extend the built-in function for getting the current user, which could be helpful when using custom authentication methods or user models.
Documentation can be found at RTFD <http://django-crum.readthedocs.io/>
_.
It is tested against:
.. |Build Status| image:: https://img.shields.io/github/workflow/status/ninemoreminutes/django-crum/test :target: https://github.com/ninemoreminutes/django-crum/actions?query=workflow%3Atest .. |PyPI Version| image:: https://img.shields.io/pypi/v/django-crum.svg :target: https://pypi.python.org/pypi/django-crum/ .. |PyPI License| image:: https://img.shields.io/pypi/l/django-crum.svg :target: https://pypi.python.org/pypi/django-crum/ .. |Python Versions| image:: https://img.shields.io/pypi/pyversions/django-crum.svg :target: https://pypi.python.org/pypi/django-crum/ .. |Django Versions| image:: https://img.shields.io/pypi/djversions/django-crum.svg :target: https://pypi.org/project/django-crum/ .. |Read the Docs| image:: https://img.shields.io/readthedocs/django-crum.svg :target: http://django-crum.readthedocs.io/
FAQs
Django middleware to capture current request and user.
We found that django-crum 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.