All Projects → mathiscode → Password Leak

mathiscode / Password Leak

Licence: mit
A library to check for compromised passwords

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Password Leak

Fugacious
OSSSM (awesome). Open source short-term secure messaging
Stars: ✭ 100 (+8.7%)
Mutual labels:  security-tools, password-safety
Lil Pwny
Fast, offline auditing of Active Directory passwords using Python.
Stars: ✭ 117 (+27.17%)
Mutual labels:  haveibeenpwned, password-safety
Passpwn
See if your passwords in pass has been breached.
Stars: ✭ 130 (+41.3%)
Mutual labels:  haveibeenpwned, password-safety
Netpwn
Tool made to automate tasks of pentesting.
Stars: ✭ 152 (+65.22%)
Mutual labels:  security-tools, password-safety
laravel-pwned-passwords
Simple Laravel validation rule that allows you to prevent or limit the re-use of passwords that are known to be pwned (unsafe). Based on TroyHunt's Have I Been Pwned (https://haveibeenpwned.com)
Stars: ✭ 67 (-27.17%)
Mutual labels:  password-safety, haveibeenpwned
Spicypass
A light-weight password manager with a focus on simplicity and security
Stars: ✭ 367 (+298.91%)
Mutual labels:  security-tools, password-safety
haveibeenpwned4j
The ultimate Java library for Troy Hunt's ';-- Have I Been Pwned (v3).
Stars: ✭ 13 (-85.87%)
Mutual labels:  password-safety, haveibeenpwned
Firepwned
🙏 Checks Firefox saved passwords against known data leaks using the Have I Been Pwned API.
Stars: ✭ 69 (-25%)
Mutual labels:  haveibeenpwned, password-safety
Dumb Passwords
Don't let your user be a victim of their own action
Stars: ✭ 77 (-16.3%)
Mutual labels:  password-safety
Pentesting Cookbook
A set of recipes useful in pentesting and red teaming scenarios
Stars: ✭ 82 (-10.87%)
Mutual labels:  security-tools
Easygrid
EasyGrid - VanillaJS Responsive Grid
Stars: ✭ 77 (-16.3%)
Mutual labels:  javascript-library
Ditherjs
A javascript library which dithers an <img> using a fixed palette
Stars: ✭ 76 (-17.39%)
Mutual labels:  javascript-library
Redcanary Response Utils
Tools to automate and/or expedite response.
Stars: ✭ 82 (-10.87%)
Mutual labels:  security-tools
Iroha Javascript
JavaScript library for Iroha, a Distributed Ledger Technology (blockchain) platform.
Stars: ✭ 77 (-16.3%)
Mutual labels:  javascript-library
Docker Ssllabs Scan
Qualys sslabs-scan utility in a tiny docker image
Stars: ✭ 85 (-7.61%)
Mutual labels:  security-tools
Tag Handler
Tag Handler is a jQuery plugin used for managing tag-type metadata.
Stars: ✭ 76 (-17.39%)
Mutual labels:  javascript-library
Ac D3
Javascript Library for building Audiovisual Charts in D3
Stars: ✭ 76 (-17.39%)
Mutual labels:  javascript-library
Patton
The clever vulnerability dependency finder
Stars: ✭ 87 (-5.43%)
Mutual labels:  security-tools
Ssim
🖼🔬 JavaScript Image Comparison
Stars: ✭ 83 (-9.78%)
Mutual labels:  javascript-library
Sysmon Modular
A repository of sysmon configuration modules
Stars: ✭ 1,229 (+1235.87%)
Mutual labels:  security-tools

password-leak

Version Downloads Standardjs PRs Welcome GitHub license

Build Status Known Vulnerabilities

Also check out the password-leak-monitor browser extension!



Introduction

password-leak is a JavaScript module that can be used to determine if a password is compromised by checking with the Have I Been Pwned API.

How is this safe?

Your passwords are NEVER transmitted to any other system. This library makes use of the Have I Been Pwned API, which implements a k-Anonymity Model so your password can be checked without ever having to give it to any other party.

Installation

npm install @mathiscode/password-leak

Usage in Browser

<script src="https://cdn.jsdelivr.net/npm/@mathiscode/[email protected]"></script>

<script>
  isPasswordCompromised('myPassword').then(isCompromised => {
    console.log('Is compromised?', isCompromised)
  })
</script>

Usage in Node.js

With import/await

import isPasswordCompromised from '@mathiscode/password-leak'

const isCompromised = await isPasswordCompromised('myPassword')
console.log('Is compromised?', isCompromised)

With require/promises

const isPasswordCompromised = require('@mathiscode/password-leak').default

isPasswordCompromised('myPassword').then(isCompromised => {
  console.log('Is compromised?', isCompromised)
})

Usage in Command Line

Install globally, or use npx @mathiscode/password-leak

npm install -g @mathiscode/password-leak

You can then run password-leak to interactively enter the masked password, or provide the password as an argument, eg. password-leak myPassword

The exit status will be 0 (not compromised) or 1 (compromised).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].