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.
A Celluloid::IO-based connection backend for the redis-rb gem, providing "evented" connection support that can multiplex long-lived blocking calls like pub/sub and blpop(rpush) with the Celluloid message protocol.
Unlike EventMachine, Celluloid::IO ideally does not need to provide separate
"Celluloid-enabled" versions of each and every library that ever does any kind
of I/O, but can instead leverage dependency injection APIs that tell libraries
to use Celluloid::IO::TCPSocket
instead of TCPSocket
.
Unfortunately, the redis-rb
gem is a bit gnarly and does a lot of strange
things like monkeypatching its own subclasses of TCPSocket
and UNIXSocket
in attempts to add better timeout handling.
Rather than trying to inject itself into that mess, this gem provides
Redis::Connection::Celluloid
which seeks to be a drop-in replacement for
Redis::Connection::Ruby
.
Add this line to your application's Gemfile:
gem 'celluloid-redis'
And then execute:
$ bundle
Or install it yourself as:
$ gem install celluloid-redis
Require it in your Ruby application with:
require 'celluloid/redis'
When instantiating the client object, specify :celluloid
:
redis = Redis.new(:driver => :celluloid)
Copyright (c) 2013 Tony Arcieri. Distributed under the MIT License. See LICENSE.txt for further details.
FAQs
Unknown package
We found that celluloid-redis 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.