
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
= Sort By Field
This plugin provides sorting by fields to arrays and enumerable objects. By default it is applied to arrays. It can be included in any enumerable class.
It automatically handles nil values and sorting strings without case sensitivity.
== Usage
Sort the +values+ array by the value returned by the name attribute on each entry without case sentivity:
values.sort_by_field(:name)
Sort the +values+ array by the +name+ attribute on each entry with case sentivity:
values.sort_by_field(:name, :case_sensitive => true)
Sort the +values+ array by the +name+ attribute putting nil values last instead of first:
values.sort_by_field(:name, :nil_last => true)
Sort the +values+ array by the +name+ attribute and then by the +count+ attribute:
values.sort_by_field(:name, :count)
Sort the +values+ array by the +name+ attribute in descending order:
values.sort_by_field("name desc")
Sort the +values+ array by the name of the class of each entry:
values.sort_by_field("class.name")
or
values.sort_by_field([:class, :name])
FAQs
Unknown package
We found that sort_by_field 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.