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.
rack-html5-rails_helper
Advanced tools
= rack-html5-rails_helper
Rack::Html5 adds a HTTP header for each HTML5 feature the browser supports. This code provides convenient rails helper methods wrapping those headers.
== Usage
Provides the following methods you can use in controllers and views:
== Installation
gem install rack-html5 gem install rack-html5-rails_helper
=== Configuration for Rails 2
Add the following lines to the config block in your environment.rb file: config.gem "rack-html5" config.middleware.use "Rack::Html5"
Include module in ApplicationController: include RackHtml5RailsHelper
=== Configuration for Rails 3
Add the gem dependency to Gemfile: gem 'rack-html5'
Install the gem with bundler: sudo bundler install
Add the Rack middleware to config.ru: use Rack::Html5
Include module in ApplicationController: include RackHtml5RailsHelper
FAQs
Unknown package
We found that rack-html5-rails_helper 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
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.