mutms / moodle-tool_mupwned
Compromised passwords blocking plugin for Moodle LMS
Package info
github.com/mutms/moodle-tool_mupwned
Type:moodle-tool
pkg:composer/mutms/moodle-tool_mupwned
Requires
- moodle/composer-installer: *
- moodle/moodle: 5.1.*||5.2.*
This package is auto-updated.
Last update: 2026-03-29 17:51:28 UTC
README
Blocks compromised passwords in standard Moodle™ LMS installations — fully open source under GPL 3.0, with no restrictions on commercial use. Part of the MuTMS suite.
Checks passwords against the Have I Been Pwned database of known breaches when passwords are created, updated, or optionally on every login. Uses the k-Anonymity API — the full password is never sent outside Moodle. Users with a compromised password are blocked until they reset it.
Features
- Checks passwords on creation and update
- Optional check on every login
- k-Anonymity API — no full password ever leaves Moodle
- Blocks access until a compromised password is replaced
Configuration
- Install the plugin
- Log in as admin — ensure you can reset your administrator password via email if needed
- Enable the Password policy setting and review password requirements
- Enable the Check password on login setting
- Go to Site administration / Plugins / Authentication / Compromised password blocking
- Enable Detect compromised passwords
If anything goes wrong, passwords can be reset from the CLI via /admin/cli/reset_password.php.
Requirements
This plugin is included in the MuTMS distribution — no manual installation needed if you use the distribution.
No other plugins are required.
Documentation
See online documentation for more information.
MuTMS is an independent open-source project, not affiliated with Moodle HQ.