
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
RealTimeRails gem to enable seamless websocket integration with rails.
Implement a gem that will add a new render method that sets up a connection to a websocket server and notifies the server it's waiting for updates to content related to the specific partial.
During an update to an active record object, the websocket server gets a notice from the server to send updates to the connected clients for the content they are listening for.
All source code at this point is to portray ideas to further cooperative design. It is not ready for production use nor tested for validity.
The gem is now loading and running correctly in the project. Still some bugs to iron out.
To start the websocket server just run the "real_time_rails" executable. There is not any configuration options yet, but they should be added soon.
Add to your Gemfile
gem "real_time_rails"
in your models that you want real time updates
include RealTimeRails:AR
then in your view that you want a real time update. At this point partial paths must be full view paths.
render_real_time partial: '/test/test', locals: {chats: @chats}
0.0.6 Firefox changed socket name to MozWebSocket, added code to handle this.
0.0.5 Added delete updates
0.0.4 Adding RealTimeRails server executable. start it with "real_time_rails"
FAQs
Unknown package
We found that real_time_rails 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.