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.
TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'chattyproc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install chattyproc
Right now ChattyProc only includes a single process communication method - a pipe server. The idea behind the pipe server is that a process can communicate back and forth with processes that it forks. Here's a quick example:
require "chattyproc"
# Set up the pipe server
ps = ChattyProc::PipeServer.new
# Fork a new process
fork do
# Mark this process as the callee
ps.callee!
message = ps.read
ps.write("Hello #{message}")
end
# Mark this process as the caller
ps.caller!
# Send a message over to the other process
ps.write("Alan")
# Print the response
response = ps.read
# Wait for the child process to exit
Process.waitall
This style of pipe server is in use in tconsole and has worked amazingly well. It's faster than DRb for communication between forked processes, and has shown itself to be less error prone.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that chattyproc 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.