
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.
@rhcp/heading_hash_wasm_web
Advanced tools
A WebAssembly build of the Mimir heading_hash transform, suitable for use in Nodejs and browsers.
heading_hash
transformThis is a WebAssembly build of the heading_hash
transform, suitable for use in Nodejs and browsers.
Install wasm-pack.
The wasm-pack site recommends curling into your shell to install, but I prefer using cargo:
cargo install wasm-pack
Once wasm-pack is installed, you can build, test, and publish this package.js
Build for nodejs:
make build_node
Build for web:
make build_web
Default is a release build with optimizations and no debug info. Add --dev
for a debug build.
Add the dependency:
npm i @rhcp/heading_hash_wasm
Import & use it:
import * as headingHash from "@rhcp/heading_hash_wasm";
console.log(headingHash.transform(#hello"));
npm i @rhcp/heading_hash_wasm_web
Import the package, initialize it, and log a transformed string.
import { default as init, transform } from "@rhcp/heading_hash_wasm_web";
await init();
console.log(transform("#hello"))
Please note that this example assumes you have a bundler which will resolve the name @rhcp/heading_hash_wasm_web
.
wasm-pack test
wasm-pack test --headless --firefox
FAQs
A WebAssembly build of the Mimir heading_hash transform, suitable for use in Nodejs and browsers.
We found that @rhcp/heading_hash_wasm_web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.