
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Helps getting your Middleman website GDPR compliant
Add this line to your Gemfile:
gem 'middleman-gdpr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install middleman-gdpr
# config.rb
activate :sprockets
activate :i18n
Add this to the layout:
<%= gdpr :cookie_consent %>
Add this to javascripts:
//= require gdpr/cookie_consent
Add this to stylesheets:
@import 'gdpr/cookie_consent'
If your site isn't localized but you want gdpr messages to be in a given language (default: English), just add the corresponding option when activating I18n:
# config.rb
activate :i18n, langs: [:fr]
Set the privacy policy url in the locales.
Inspired by cookies_eu (https://github.com/infinum/cookies_eu), thank you :)
Feel free to pull request!
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that middleman-gdpr demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.