🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

pwned-pass-pow

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pwned-pass-pow

A Cuckoo filter that stores the top 1,000,000 most compromised passwords from https://haveibeenpwned.com/Passwords.

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Password Filter

A Cuckoo filter that stores the top 1,000,000 most compromised passwords from https://haveibeenpwned.com/Passwords.

Runs in WASM environments to allow quickly testing that your password is not compromised.

Build your xorfilter.bin

  • Put your pwned-passwords dataset into the dataset folder named pwned-passwords-sha1-ordered-by-count.txt
  • Run cargo run --example build_filter --release

Test querying your xorfilter.bin

  • cargo run --example query_filter --release

Install in NodeJS

I couldn't get the password-filter npm library so I'm using pwned-pass instead NodeJS:
npm install pwned-pass

Webpack:
npm install pwned-pass-bundler

Deno

import init, {isCompromisedPassword} from 'https://deno.land/x/password_filter@1.1.0/password_filter.js';

FAQs

Package last updated on 19 Jan 2022

Did you know?

Socket

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.

Install

Related posts