
Research
Malicious NuGet Packages Typosquat Nethereum to Exfiltrate Wallet Keys
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
guard-minitest-decisiv
Advanced tools
= Guard::Minitest
Minitest guard allows to automatically & intelligently launch tests with {minitest framework}[http://github.com/seattlerb/minitest] when files are modified.
== Install
Please be sure to have {guard}[http://github.com/guard/guard] installed before continue.
Install the gem:
gem install guard-minitest
Add it to your Gemfile (inside test group):
gem 'guard-minitest'
Add guard definition to your Guardfile by running this command:
guard init minitest
== Usage
Please read {guard usage doc}[http://github.com/guard/guard#readme]
== Guardfile
Minitest guard can be really be adapated to all kind of projects. Please read {guard doc}[http://github.com/guard/guard#readme] for more info about Guardfile DSL.
=== Standard ruby gems with Minitest::Unit
guard 'minitest' do
watch(%r|^test/test_(.*)\.rb|)
watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
watch(%r|^test/test_helper\.rb|) { "test" }
end
=== Standard ruby gems with Minitest::Spec
guard 'minitest' do
watch(%r|^spec/(.*)_spec\.rb|)
watch(%r|^lib/(.*)\.rb|) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r|^spec/spec_helper\.rb|) { "spec" }
end
== Options
You can specify the paths for "test all", perhaps to skip slow/remote/profiling tests:
guard 'minitest', :all => %w{test/unit test/functional test/integration test/lib}
...
end
You can force minitest seed with:
guard 'minitest', :seed => 12345 do
...
end
You can set minitest verbose mode with:
guard 'minitest', :verbose => true do
...
end
You can colour the test output (via minitest/pride) with:
guard 'minitest', :colour => true do
...
end
or guard 'minitest', :color => true, :rubygems => true do ... end
(Remark : the "minitest" gem must be installed -> unless you have a Gemfile, you must also specify either :bundler or :rubygems)
You can disable desktop notification with:
guard 'minitest', :notify => false do
...
end
You can disable bundler usage to run minitest with:
guard 'minitest', :bundler => false do
...
end
You can enable rubygems usage to run minitest (only if bundler is not present or disabale) with:
guard 'minitest', :rubygems => true do
...
end
If you use {spork-testunit}[https://github.com/timcharper/spork-testunit] you can enable it with (you'll have to load it before):
guard 'minitest', :drb => true do
...
end
== Development
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.
== Authors
{Yann Lugrin}[http://github.com/yannlugrin]
FAQs
Unknown package
We found that guard-minitest-decisiv 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
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.