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-methodoverride-with-params
Advanced tools
Rack MethodOverride With Params solves the issue where POST requests with _method
as a query param do not use _method
's value as the HTTP method in Rails etc that use Rack MethodOverride.
It does this by extending Rack::MethodOverride
and overriding it so it looks at both query params and form params. So you can use it anywhere you were using Rack::MethodOverride
To use it with Rack Builder
require 'rack-methodoverride-with-params'
#...
use Rack::MethodOverrideWithParams
to use it with Rails
add it to the Gemfile
gem 'rack-methodoverride-with-params'
swap Rack::MethodOverride in config/environment.rb
config.middleware.swap Rack::MethodOverride, Rack::MethodOverrideWithParams
There is not much here, but if you want to play around, clone the project, run the specs and hack away.
I probably won't be actively working on this much as it is really simple, but if you ping me about it on github or twitter(I'm baroquebobcat), I'll help you out.
FAQs
Unknown package
We found that rack-methodoverride-with-params 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.