ECE 202C · local semantic security research
llm-password: semantic password audit
A local experiment for passwords that look complex while still following an obvious human rule. Rather than stopping at surface patterns, it asks whether ordinary cultural knowledge or pattern completion makes the string easy to continue or reconstruct.
What I built
I combined a patched zxcvbn baseline, a cheap structural check, and continuation-probability estimates from local language models. The more expensive stages run only when the earlier checks leave a meaningful gap.
Why it is a semantic audit
Instead of asking a model for one opaque strength score, the estimator uses token-level dynamic programming over plausible continuations. That makes it useful for phrases, associations, and construction rules that a conventional pattern matcher may never name.
One result worth showing
A long numeric sequence scored around 10^23.57 guesses
under the zxcvbn baseline, while a continuation estimate assigned it
roughly 10^3.34. That contrast shows how an obvious human
rule can survive a length-based meter.
Method and limits
A small language model is not a complete attacker model. I treat this as a second opinion for human-generated sequences, phrases, associations, and rules that surface matching misses. It does not replace breach checks, rate limits, MFA, or proper password storage.
The whole pipeline runs locally and exposes its stages, so password-derived text does not have to be sent to an unrelated scoring service.