← Lab /AI/ML

Evolved prompts raise LLM password cracking from 2% to 8% success

Evolving prompts with an LLM-driven evolutionary algorithm increases password cracking rates to 8.48% on a RockYou-derived test set

AI/ML arXiv 14 Apr 2026 Attack Prototype evidence

Published as “LLM-Guided Prompt Evolution for Password Guessing”

Why it matters

Automated prompt evolution can markedly boost LLM-based password auditing, suggesting defenders should anticipate more effective offline guessing tools and consider adaptive policies.

Summary

Evolved prompts raise PassLLM's cracking rate from 2.02% to up to 8.48% (≈4× improvement) across local, cloud, and ensemble configurations, and improve per-symbol character-distribution AUC from 0.059 to 0.074. The evidence comes from a single RockYou test split and shows high variance, so the gains may not be stable or generalize beyond this dataset; the paper’s threat model section is not provided.

What they found 5

  1. Baseline cracking rate is 2.02% and all evolved configurations achieve substantially higher peak rates.

    “The baseline cracked rate remains at 2.02% on the hold-out set, whereas all three evolved configurations achieve substantially higher peak rates (Table 2)”

  2. Local 8B model reaches 8.28% cracking rate, only 0.20 points below the cloud ensemble.

    “The local configuration reaches 8.28% best CR versus 8.48% for the ensemble-a gap of 0.20 percentage points”

  3. Ensemble prompt improves per-symbol AUC from 0.059 to 0.074 (≈26% gain).

    “The ensemble prompt achieves the best AUC (0.074), while the baseline (0.059) has a flat profile indicating poor character-level coverage.”

  4. AUC-F improvement from 0.059 to 0.074 represents a 26% gain, confirming genuine distribution improvement.

    “The AUC-F improvement from 0.059 (baseline) to 0.074 (ensemble) represents a 26% gain, confirming that the higher cracked rate of evolved prompts is not merely due to over-generating highly common passwords, but reflects a genuine improvement in character-distribution coverage.”

  5. Evolved runs exhibit high variance, with standard deviation ≥1.4 percentage points.

    “The high standard deviation in all evolved runs (≥1.4 percentage points) reflects the stochastic nature of both LLM-driven mutation and PassLLM inference.”

Caveats 6

  • The high standard deviation (≥1.4 pp) indicates that the improvements are unstable across iterations.
  • Results are based on a single RockYou-derived split, limiting confidence in generalisation to other password corpora.
  • Attack scenario. In this evaluation, the focus is on the trawling setting from PassLLM [29]. It does not include targeted modes where a person uses PII to guess a password.
  • Evolutionary stack and models. There is a reliance on OpenEvolve [19] for all evolutionary runs while the set of mutator and evaluator models is constant.
  • Generalisation and robustness. For this data, the results come from a single RockYou-derived split. There is a high variance in the CR for each iteration because the mutations from the LLM happen by chance.
  • Stable gains. To show that the improvements are reliable, a person needs to use broader hyperparameter grids. For the MAP-Elites, the feature maps are also limited. Due to the current computational budgets, the stability of those gains is a topic for future work.

What’s new here 4

  • Automated evolutionary optimization of prompts for PassLLM, demonstrating that prompt content strongly affects cracking performance.
  • Shows that a modest 8B local model can achieve near-ensemble cracking rates (8.28% vs 8.48%).
  • Introduces per-symbol F-score AUC analysis to assess realism of generated password distributions.
  • Provides an open-source integration of PassLLM with the OpenEvolve MAP-Elites framework.