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 repo is a template for building a Ruby Vagrant guest plugin. Follow the steps to setup your own guest plugin!
$ gh repo create vagrant-guest-myspecialguest --template hashicorp/vagrant-guest-plugin-ruby-template --public
Update the gemspec. Choose a good, descriptive name for your project. Rename my-vagrant-guest-plugin-ruby-template.gemspec
to reflect this, and fill out the required information.
Rename all the references of my-vagrant-guest-plugin-ruby-template.gemspec
to your new name.
Rename vagrant-guest.rb
to match the name of your plugin and update the contents of the file. This includes updating the module name MyVagrantGuestPlugin
, the name and description fields and the guest(:myguestplugin) do
line.
Rename all the references of MyVagrantGuestPlugin
to your new name.
Update the guest detection method in lib/guest/guest.rb
. This method will be run by Vagrant to determine if the guest is running the OS assumed by the plugin.
guest/cap
module. Be sure to register the capabilities.$ git add -A
$ git commit -m "My Vagrant guest plugin"
$ gem build my-vagrant-guest-plugin-ruby-template.gemspec
Successfully built RubyGem
Name: my-vagrant-guest-plugin
Version: 0.0.1
File: my-vagrant-guest-plugin-0.0.1.gem
$ gem push my-vagrant-guest-plugin-0.0.1.gem
# Install from the locally built gem
$ vagrant plugin install my-vagrant-guest-plugin-0.0.1.gem
# If you pushed the gem to RubyGems, install from RubyGems
$ vagrant plugin install my-vagrant-guest-plugin
FAQs
Unknown package
We found that vagrant-routeros 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.