Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@entropyxyz/x25519-chacha20poly1305-nodejs
Advanced tools
WARNING: This code has not been audited and is not yet suitable for production. Use at your own risk.
NOTE: make sure you have your C archiver and compiler env vars set, or
secp256k1-sys
will fail to builde.g.
AR=/opt/homebrew/opt/llvm/bin/llvm-ar
CC=/opt/homebrew/opt/llvm/bin/clang
Nodejs package for x25519 key exchange and chacha20poly1305 encryption, written in Rust compiled to WASM.
See example/ci-test.sh
for example of how to install both rust and javascript dependencies.
Compile a nodejs/wasm library from the Rust source.
make
Link the nodejs/wasm library locally.
make link
After compiling and linking, run:
ts-node example/test.ts
links to packages on npm:
make build-nodejs
./pkg/package.json
for the desired platform -nodejs
and add the @entropyxyz
org name, eg: "name": "@entropyxyz/x25519-chacha20poly1305-nodejs"
npm publish
web
and bundler
with eg: make build-web
and then change the package names again in package.json before re-publishing.FAQs
x25519 & chacha20poly1305
The npm package @entropyxyz/x25519-chacha20poly1305-nodejs receives a total of 2 weekly downloads. As such, @entropyxyz/x25519-chacha20poly1305-nodejs popularity was classified as not popular.
We found that @entropyxyz/x25519-chacha20poly1305-nodejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.