
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
tlsn-js-zkp2p
Advanced tools
NPM Modules for proving and verifying using TLS Notary in the browser.
The prover requires a notary-server and websockify proxy
import { prove, verify } from '../src';
// To create a proof
const proof = await prove('https://swapi.dev/api/people/1', {
method: 'GET',
headers: {
Connection: 'close',
Accept: 'application/json',
'Accept-Encoding': 'identity',
},
body: '',
maxTranscriptSize: 20000,
notaryUrl: 'https://127.0.0.1:7047',
websocketProxyUrl: 'ws://127.0.0.1:55688',
});
// To verify a proof
const result = await verify(proof);
console.log(result);
https://swapi.dev
git clone https://github.com/novnc/websockify && cd websockify
./docker/build.sh
docker run -it --rm -p 55688:80 novnc/websockify 80 swapi.dev:443
npm install tlsn-js
[!IMPORTANT] Note on Rust-to-WASM Compilation: This project requires compiling Rust into WASM, which needs
clang
version 16.0.0 or newer. MacOS users, be aware that Xcode's defaultclang
might be older. If you encounter the errorNo available targets are compatible with triple "wasm32-unknown-unknown"
, it's likely due to an outdatedclang
. Updatingclang
to a newer version should resolve this issue.
# make sure you have rust installed
# https://www.rust-lang.org/tools/install
npm install
# this serve a page that will execute the example code at http://localhost:3001
npm run dev
npm install
npm run build
FAQs
NPM Modules for proving and verifying using TLSNotary in the browser.
We found that tlsn-js-zkp2p demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.