
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Simple encryption relying on convention and designed to be used inline as string replacements.
PLEASE upgrade to version 2.0 - previous versions lend themselves to making human errors which could lead to exploitation.
Imagine you have a file named database.yml
that contains passwords.
Before:
password: '123456'
After:
password: <%= InlineEncryption.decrypt(encrypted stuff goes here) %>
To set up:
InlineEncryption.config[:key] = '/some/rsa_key'
An example of different keys per environment:
InlineEncryption.config[:key] = ENV['INLINE_ENCRYPTION_KEY']
If you've configured with a private key, you can both encrypt and decrypt. If you've configured with a public key, you can only encrypt.
FAQs
Unknown package
We found that inline_encryption 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.