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.
gdpr-consent
Advanced tools
GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.
Comply to the european cookie law. Inspired by AmauriC/tarteaucitron.js
The european cookie law regulates the management of cookies and you should ask your visitors their consent before exposing them to third party services.
Clearly this script will:
<link rel="stylesheet" href="gdpr-consent.css" />
<script type="text/javascript" src="gdpr-consent.js"></script>
<script type="text/javascript">
GDPRConsent.init({
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */
"timeExpire": 31536000000, /* Cookie expiration time */
"websiteName": "Les Jours", /* The name of the Website */
"AcceptAllCta" : true, /* Show the accept all button*/
"moreInfoLink": true, /* Show more info link */
"mandatory": false /* Show a message about mandatory cookies */
});
</script>
<script type="text/javascript">
/* Initialize gdprconsent.js job array */
GDPRConsent.job = GDPRConsent.job || [];
/* Add Google Tag Manager */
GDPRConsent.user.googletagmanagerId = 'GTMID';
GDPRConsent.job.push('googletagmanager');
/* Add Google Analytics (gtag.js) */
GDPRConsent.user.gtagUa = 'GAID';
GDPRConsent.user.gtagInitOptions = {};
GDPRConsent.job.push('gtag');
/* Add Socials Sharing Services : Twitter & Facebook */
GDPRConsent.job.push('twitter');
window.fbAsyncInit = function() { FB.init({}); };
GDPRConsent.job.push('facebook');
/* Add Vidéos */
GDPRConsent.job.push('vimeo');
GDPRConsent.job.push('youtube');
</script>
FAQs
GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.
The npm package gdpr-consent receives a total of 103 weekly downloads. As such, gdpr-consent popularity was classified as not popular.
We found that gdpr-consent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.