
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@rhcp/heading_hash_wasm
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 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.