
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
ruby-memory-usage-profiler
Advanced tools
Collect memory usage profiling informations from CRuby runtime and Linux pseudo filesystems.
Originally written by @_ko1.
Add this line to your application's Gemfile:
gem 'ruby-memory-usage-profiler'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-memory-usage-profiler
To run profiler itself (without any other ruby code):
$ run_ruby_memory_usage_profiler
This program writes profiler result in 'memory-profile-result' of current directory, in each 1 second.
$ run_ruby_memory_usage_profiler [DURATION sec] [OUTPUT PATH]
For stdout, specify '-'
$ run_ruby_memory_usage_profiler 5 -
Kick MemoryUsageProfiler#kick
with block how to process results each time you want.
labels = MemoryUsageProfiler.banner
each_time_you_want do
MemoryUsageProfiler.kick('my_program_label') do |result|
result_hash = Hash[ [labels, result].transpose ]
send_to_anywhere_by_myself(result_hash)
end
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that ruby-memory-usage-profiler 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
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.