Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This is a work in progress - and subject to additions and changes.
Install the plugin:
$ vagrant plugin install vagrant-logs
Do not use this command in a directory with a Vagrantfile which requires the plugin. Vagrant does always include the Vagrantfile, and therefore will fail before installation because of the missing plugin. Just cd
somewhere else and retry the command, maybe from your homedir?
Upload to Gist can be activated by setting environment variable GIST_UPLOAD
, e.g.:
GIST_UPLOAD=true vagrant logs
GITHUB_TOKEN
must also be set as an environment variable.
In your Vagrantfile
:
Vagrant.require_plugin 'vagrant-logs'
Vagrant.configure("2") do |config|
# list of log files
config.vagrant_logs.log_files = ['/var/log/*log']
# number of lines to log
config.vagrant_logs.lines = 5
# list of locally checked out repositories for which the current revision should be logged
config.vagrant_logs.repositories_to_check = ['~/Sites/easybib/cookbooks', '~/projects/ies/vagrant-logs']
# list of locally available clients to check for their versions
config.vagrant_logs.clients_to_check = ['vagrant', 'VBoxManage']
end
Make sure you are using a Bundler version which is compatible with Vagrant which comes from GitHub like defined here:
group :development do
gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git'
end
Bundler version 1.10.6 works fine and can be installed like this:
gem install bundler -v '~> 1.10.6'
Then, when you want to test Bib Vagrant use:
bundle _1.10.6_ exec vagrant
Happy developing and testing.
See Contributing
FAQs
Unknown package
We found that vagrant-logs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.