
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.
@greenlabs/ppx-spice
Advanced tools
A ReScript PPX which generates the (polymorphic) variant (de)serializer.
This ppx is highly influenced by Decco and developed with forking the source codes of Decco.
Example
@spice
type t = | @spice.as(`하나`) One | @spice.as(`second`) Two
// automatically generated
let t_encode = ...
// automatically generated
let t_decode = ...
let encoded = One->t_encode // `하나`
let decoded = `second`->t_decode // Belt.Result.Ok(Two)
// bsconfig.json
"bs-dependencies": [
...,
"@greenlabs/ppx-spice"
],
"ppx-flags": [
...,
"@greenlabs/ppx-spice/ppx"
],
cd src
esy install
(make sure in /src directory)
esy build
cd test
(install dependencies)
yarn
(build --watch)
yarn res:clean && yarn res:watch
(run test --watch)
yarn test:watch
FAQs
ReScript PPX which generate JSON (de)serializer
The npm package @greenlabs/ppx-spice receives a total of 765 weekly downloads. As such, @greenlabs/ppx-spice popularity was classified as not popular.
We found that @greenlabs/ppx-spice demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.