Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
verkle-cryptography-wasm
Advanced tools
Note: This library is in the process of moving over from https://github.com/crate-crypto/rust-verkle-wasm. Package and build structure are in the process of being reworked and documentation/instructions are not yet fully updated.
This library provides a WASM build bundled with a TypeScript API of the Rust rust-verkle implementation and exposes core Verkle Tree related crypto and arithmetic primitives to be consumed and used by higher level packages.
The library has been initially developed by kevaundray (a thousand ❤️s for all the great work!) and is now maintained and further developed by Kev and the Ethereum Foundation JavaScript team.
A higher level Verkle Tree TypeScript library using this package is in the works at https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/verkle.
npm i verkle-cryptography-wasm
The Rust code and the necessary tooling for the WASM build and a low level TypeScript API exposure can be found in ./src.rs. The associated README contains the main documentation describing the WASM build process.
The main high level API exposed in a final published package can be found in ./src.ts. Usage instructions can be found here
The root folder of this package holds a Node.js package.json file referencing the final package exports and the necessary build scripts.
Build scripts can be found in the scripts folder and the build process can be triggered with:
npm run build
See the comments in the build scripts for a more detailed explanation of what occurs in each step.
Note that this requires all Rust/WASM tooling to be installed, so a first look into the dedicated RUST/WASM documentation is recommended.
There are a few high level JavaScript API respectively unit tests available which can be run with:
npm run test
0.4.8 - 2024-09-12
commitToScalars
in public API. #60FAQs
Verkle Trie Crytography WASM/TypeScript Bindings
The npm package verkle-cryptography-wasm receives a total of 67 weekly downloads. As such, verkle-cryptography-wasm popularity was classified as not popular.
We found that verkle-cryptography-wasm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.