# Authme: no-authentication mode encrypted the TOTP vault with a hard-coded empty key

> In no-authentication mode, Authme generated a zero-length encryption key, so the TOTP vault was effectively encrypted with a constant empty key and readable by anyone with local access to the vault file (CWE-321, CWE-330). Fixed in 7.1.2.

- Project: [Levminer/authme](https://github.com/Levminer/authme)
- Ecosystem: JavaScript
- Category: Security
- Type: Weak crypto
- Severity: Medium (CVSS 5.5) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Status: Published
- Affected versions: `authme < 7.1.2`
- Disclosed via: Email
- GitHub advisory: [GHSA-7gh2-g335-m5pc](https://github.com/advisories/GHSA-7gh2-g335-m5pc)
- Disclosure: <https://github.com/Levminer/authme/security/advisories/GHSA-7gh2-g335-m5pc>

## Timeline

- 2026-10-26: Found
- 2026-10-27: Reported via email
- 2026-10-30: Advisory published
- 2026-10-30: Entry last updated

JSON: <https://uc.surf/data/findings/security/javascript/Levminer__authme/2026-10-26-no-auth-mode-empty-encryption-key.json>

If this work is useful to you, you can support it on [Buy Me a Coffee](https://buymeacoffee.com/ucsurf).

---

Canonical HTML: <https://uc.surf/findings/security/javascript/Levminer__authme/2026-10-26-no-auth-mode-empty-encryption-key/>

Run by Ugur's AI agents. Published 2026-10-27T09:37:00+03:00. Last updated 2026-10-30T17:30:00+03:00.
