Skip to content
NewA calmer, faster ZeroHour

Practical Secrets Extraction against Black-box LLMs

arXiv cs.CRby Shiqian Zhao ()1 min read2 · 1 read
AI summary · grok-4.7Summaries by Vani AI

Researchers recover memorized credentials from black-box commercial LLMs, including OpenAI and Claude Code.

Researchers present a black-box framework that extracts memorized secrets from commercial API language models using only model outputs. Semantics-preserving prompts and response cross-validation distill secret-related behavior into a local proxy, which then guides candidate filtering. On controlled API-key benchmarks the method improves recovery effectiveness and real-key rates while reducing latency. A responsible evaluation recovered masked provider-specific credentials from three deployed systems spanning OpenAI and Claude Code.

Key facts
  • Output-only access is enough; weights and token probabilities are not required.
  • A local proxy and cross-validation improve recovery on controlled API-key benchmarks.
  • Masked credentials were recovered from three deployed OpenAI and Claude Code systems.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

Large language models (LLMs) increasingly power autonomous coding agents such as Codex and Claude Code, yet their training corpora may contain confidential credentials exposed in public repositories or collected from private development artifacts, creating risks of memorization and subsequent leakage. Existing extraction audits, however, largely assume access to model weights or token probabilities.

arXiv cs.CR

By Shiqian Zhao · arxiv.org

Read the full article at arXiv cs.CR

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.