Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@kraftvaerk/cookieconsent
Advanced tools
Cookie Consent is a lightweight JavaScript plugin for alerting users about the use of cookies on your website.
Cookie Consent is a lightweight JavaScript plugin for alerting users about the use of cookies on your website. It is designed to help you comply with the hideous EU Cookie Law.
npm install @kraftvaerk/cookieconsent
import CookieConsent from '@kraftvaerk/cookieconsent';
const cookieConsent = new CookieConsent({
cookieName: 'cookieConsent',
btn: {
accept: 'js-cookie-accept',
close: 'js-cookie-close'
}
toggleClass: 'is-shown'
});
cookieConsent.onCheck(()=>{});
cookieConsent.onAccept(()=>{});
cookieConsent.onShow(()=>{});
cookieConsent.onHide(()=>{});
cookieConsent.init('#cookieContent');
Version 2.0.0 has moved to scoped npm packages.
Version 1.0.0 is a complete rewrite. The most substantial new features are:
FAQs
Cookie Consent is a lightweight JavaScript plugin for alerting users about the use of cookies on your website.
The npm package @kraftvaerk/cookieconsent receives a total of 6 weekly downloads. As such, @kraftvaerk/cookieconsent popularity was classified as not popular.
We found that @kraftvaerk/cookieconsent demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.