
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
SimpleEncryptable is based on Rails encryption mechanisms, it is streamline without all the bells and whistles, only the esentials. Heavilly inspired by Pawel Urbanek.
Add SimpleEncryptable application's Gemfile:
gem 'simple_encryptable'
or
gem 'simple_encryptable', '~> 0.1.0'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simple_encryptable
With ActiveRecord
objects, the database must have encrypted_[attribute]
column(s). With PORO
objects, attr_accessor [attribute]
must be provided.
You must include SimpleEncryptable
, it is not dynamically loaded into all ActiveRecord
objects. Providing secret
and salt
tokens is crutial. Ideally store them in an .env file or using Rails credentials mechanism.
class User
include SimpleEncryptable
attr_encryptable :secret_attribute, :another_secret_attribute, secret: 'foo', salt: 'bar'
end
git clone git@github.com:[YOUR GITHUB USERNAME]/simple_encryptable.git
cd simple_encryptable
bundle install
git checkout -b my-new-feature
rake test
, all must be greengit commit -am 'Added some feature'
git push origin my-new-feature
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that simple_encryptable 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
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.