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.
django-gdpr-solution
Advanced tools
CookieConsent integration for Django Web Framework.
Install the package
pip install django-gdpr-solution
Add gdpr_solution
on INSTALLED_APPS
INSTALLED_APPS = [
...
'gdpr_solution',
...
]
Include the urls
urlpatterns = [
...
path('django-gdpr-solution/', include('gdpr_solution.urls')),
...
]
--> [OPTIONAL] Remember that you can change the name path of the url
Complete the installation with migrations
python manage.py makemigrations
python manage.py migrate
Last step: load gdpr_solution and add templatetag on top of head tag on template
{% load gdpr_solution %}
<head>
...
{% gdpr_cookie_banner %}
...
</head>
CookieConsentJs repository (orestbida/cookieconsent) for gdpr compliant cookie consent. For customize the cookie banner and all its functionality, go to the official repo.
FAQs
Add GDPR compliant cookie consent to your website.
We found that django-gdpr-solution 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.