
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
red_socket
Advanced tools

Send notification for clients listening on HTML5 websockets. See more details on http://red-socket.com .
Add to your Gemfile and run the bundle command to install it.
gem "red_socket"
Create config/initializers/red_socket.rb file wit following config:
RedSocket::Base.configure do |config|
config.account_id = "account_name" # within host name
config.api_key = "some_api_key"
config.api_secret = "some_secret_key"
end
Sign up for an account on http://red-socket.com/signup to get your key pair.
Requires Ruby 1.9 or later.
Call RedSocket.notify('my_channel') to send message to listening clients. By default it will send a 'notification' event which can be passed as the second argument.
RedSocket::Base.notify('my_channel', 'my_custom_event')
Additional message can be send within third parameter
RedSocket::Base.notify('my_channel', 'my_custom_event', 'it can be for example a json message, so it can be parsed by the browser')
Questions or problems? Please post them on the issue tracker. You can contribute changes by forking the project and submitting a pull request. Feel free to do it.
This gem is created by Mariusz Wyrozebski and is under the MIT License.
FAQs
Unknown package
We found that red_socket 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.