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.
One of the features that Rake lacks are reasonable methods to pass arguments into a task. The most common
method for doing so is using environment variable, for example: $ rake namespace:task VAR1=value VAR2=value
Then, the variable can be referred to using ENV['VAR1']
. However, this is somewhat clumsy for users. This
gem presents a more elegant solution. With this gem, can do this: $ rake namespace:task option1 option2
Simply do this in your Rakefile:
require 'rake_args'
task :hello_world do
args = task_args :hello, :world # {:hello=>"hi", :world=>"planet"}
args.each { |k,v| puts "#{k} => #{v}" }
end
The result:
$ rake hello_world hi planet
:hello => hi
:world => planet
FAQs
Unknown package
We found that rake_args 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.
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.