
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
= attr_encryption
This gem enhances ActiveRecord models with the ability to quickly and easily define which attributes of the model are to be encrypted. Once the attributes have been identified, the gem takes care of all the details.
For example, if you want to encrypt the card number of a CreditCard model, you would simply code the following:
class CreditCard < ActiveRecord::Base attr_encrypted :card_number end
All that is required at this point is a column on the 'credit_cards' table named 'card_number_enc'.
There are a variety of options that can be applied to the attr_encrypted call to customize how the encryption proceeds, but more on that later.
== Contributing to attr_encryption
== Copyright
Copyright (c) 2013 Providigm. See LICENSE.txt for further details.
FAQs
Unknown package
We found that attr_encryption demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.