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.
A common interface for Ruby's HTTP libraries. This project is now in maintenance mode. For new projects, we recommend faraday.
HTTPI is available through Rubygems and can be installed via:
$ gem install httpi
or add it to your Gemfile like this:
gem 'httpi', '~> 4.0.0'
require "httpi"
# create a request object
request = HTTPI::Request.new
request.url = "http://example.com"
# and pass it to a request method
HTTPI.get(request)
# use a specific adapter per request
HTTPI.get(request, :curb)
# or specify a global adapter to use
HTTPI.adapter = :httpclient
# and execute arbitary requests
HTTPI.request(:custom, request)
# add a client setup block that will be called before each request
HTTPI.adapter = :httpclient
HTTPI.adapter_client_setup = proc do |x|
x.ssl_config.set_default_paths
x.force_basic_auth = true
end
# ...
HTTPI.get(request) do |x|
x.force_basic_auth = false
end
To use the the SOCKS proxy support, please add the socksify
gem to your gemfile, and add the following code:
require 'socksify'
require 'socksify/http'
to your project.
Continue reading at https://www.rubydoc.info/gems/httpi
FAQs
Unknown package
We found that httpi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.