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.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-04 14:52:25 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.
AI disclosure
Parts of this plugin were written with the help of Claude (Anthropic). A human maintainer reviewed, corrected and accepted everything before it was committed. The design decisions and the final code are the maintainer's own.
MuTMS is an independent open-source project, not affiliated with Moodle HQ.