Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
This is a Ruby and Sinatra based application. Dependencies are managed with Bundler.
Make sure you have installed ruby (check .tool-versions
for the required version, check asdf for managing the versions)
gem install sinatra
gem install bundler
./run.sh
./run-pry.sh
will not reload the code on change but you can add binding.pry
in the ruby code to debug something
gem build raketa_admin.gemspec
gem install ./raketa_admin-0.0.0.gem
Make sure to point the gem
bundle config set local.raketa_admin /Users/zi/raketa/raketa-admin-ruby
require "raketa_admin"
bundle exec rspec
bundle exec rake rubocop
Make sure you run rake
locally and everything passes before commiting so you don't have to go back and fix stuff later!
There is a truster publishing setup in RubyGems
In the github flow we are using rubygems/release-gem@v1
which expects rake build and rake release tasks to be setup for the gem, check the docs here
rake release
This will create tag vX.X.X (with the version from the gemspec), build and push raketa_admin-X.X.X.gem to Rubygems
FAQs
Unknown package
We found that raketa_admin demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.