Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
obfuscated_identifier
Advanced tools
Hide your Rails primary key without the need for token generation and additional index space.
Obfuscate Identifier uses an obfuscation algorithm to generate a unique identifier for your existing primary key. As long as you have the key that was used to create the identifier then you can get back to the original primary key.
This removes the need for tricks like generating a random number and storing indexing it as the primary key is still used to retrieve the object.
There are a huge number of options when creating a system like this here are some of the considerations whilst creating this gem:
Obfuscation is not encryption. It's important to note that this isn't really hiding anything, if someone really wants to work out your primary key they probably can. This favors simplicity over the quality of the identifier generated.
This was a very quick stab at an implementation. Pull requests and comments are hugely appreciated!
Add this line to your application's Gemfile:
gem 'obfusicated_identifier'
And then execute:
$ bundle
Or install it yourself as:
$ gem install obfusicated_identifier
TODO: Write usage instructions here
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that obfuscated_identifier 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.