Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
randomx.js
Advanced tools
RandomX.js is a zero-dependency implementation of the ubiquitous Monero POW algorithm RandomX in JavaScript.
RandomX.js (NPM) | RandomWOW.js (NPM)
RandomX.js is an implementation of the ubiquitous Monero POW algorithm RandomX in JavaScript. This package is part of a monorepo, containing NPM packages RandomX.js and RandomWOW.js.
// npm i randomx.js
import { randomx_create_vm, randomx_init_cache } from 'randomx.js'
const cache = randomx_init_cache('optional key')
const randomx = randomx_create_vm(cache)
console.log(randomx.calculate_hash('hello world')) // Uint8Array
RandomX is a proof-of-work (PoW) algorithm that is optimized for general-purpose CPUs. RandomX uses random code execution (hence the name) together with several memory-hard techniques to minimize the efficiency advantage of specialized hardware.
Appreciate the undertaking? Consider a donation.
Crypto | Donation Address |
---|---|
XMR | 85vt1KvVz82Dd7AoVWXxnPCubutVT9NRNTAoxKFnXNpzcUfLFZ7rBtjbxonPTD5roE998XczLAoCrUD7tPS84AUQ8cZXHRM |
WOW | WW3asfacxETEgtUFVXGBfnJUqmMgNrVdWJTDouT63Ly4B1B9xiqj2g6bDPS8jZNn6pXY5pj4dnmTtL1gLRTAxXwz1LQhsua1R |
FAQs
RandomX.js is a zero-dependency implementation of the ubiquitous Monero POW algorithm RandomX in JavaScript.
We found that randomx.js 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.