
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Have you ever been annoyed that Ruby prevents you from accessing out of bounds elements from Strings or Arrays?
unsafe
unlocks the full potential of your Ruby programs by allowing accessing and modifying out of bounds memory!
$ gem i unsafe
$ irb
>> require "unsafe"
>> arr = [1,2,3]
=> [1, 2, 3]
>> unsafe { arr[1] }
=> 2
>> unsafe { arr[2] }
=> 3
>> unsafe { arr[3] }
=> 2.000000000000003
>> unsafe { arr[-1] }
=> Array
>> unsafe { arr[1000000000] }
[BUG] Segmentation fault at 0x00000002f89824d0
-- Crash Report log information --------------------------------------------
See Crash Report log file in one of the following locations:
>> str = "hello, world"
=> "hello, world"
>> unsafe { str[-8, 8] }.unpack1("Q")
=> 12
>> str.length
=> 12
FAQs
Unknown package
We found that unsafe 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.