Skip to content

Insecure Password Catalog

Arthu Santiago edited this page Nov 30, 2026 · 1 revision

Insecure Password Catalog

KeyAnyWhere ships with a catalog of almost a million passwords that appeared in data leaks and are used by many people. Because they are so common, they are the first ones an attacker tries. When someone saves an entry with one of them, KeyAnyWhere warns that the password is insecure. This page loads the catalog into the database.

Source of the data: SecLists, Common Credentials.

Before you start

The tables must exist, as in Database Setup. Loading the catalog is the heaviest task of the installation: on a very small server, give it 2 CPUs and 1 GB of RAM just for this step (see Requirements).

1. Load the catalog

The catalog is split into four seed files in config/Seeds/. This single command loads all four, in order; it takes a few minutes.

sudo -u www-data kaw-cake seeds run PasswordsInsecurePt1Seed,PasswordsInsecurePt2Seed,PasswordsInsecurePt3Seed,PasswordsInsecurePt4Seed

KeyAnyWhere records which seeds already ran, so running the command again skips them. Never add --force: it would insert the same passwords a second time.

2. Check that it worked

Count the rows in the catalog:

psql "host=127.0.0.1 dbname=keyanywhere user=kaw" -c 'SELECT count(*) FROM insecure_passwords;'

The count is close to one million.

Next step

Web Server and HTTPS

Clone this wiki locally