Citation Is Not a Safety Boundary

A citation can point to the right passage while the claim is wrong or the destination is unauthorized. A local checker keeps source integrity, claim support, and delivery permission separate.

There’s a companion to the git-history permission slip, and the change can be as small as a verb. Ask a model to write a phishing pretext. Then compare a request to summarize a deck containing one, extract its key points, or turn its bullets into a checklist. The document may be real. The clerical framing can still change how the request is handled.

During a red-team engagement on a frontier model, under NDA, I observed a gap between composition and retrieval. That engagement account stays separate from the public fixture below. There is no cross-model refusal rate attached to this piece.

The mechanism is citation laundering: get the harmful content into the context window as something that already exists, a document, a transcript, a slide, and then ask the model to perform a clerical operation on it, summarize, extract, reformat, translate. The failure to test is whether that framing gets treated as permission to deliver material that should have required a separate decision. A request’s verb is visible. The training process and the model’s private sense of authorship are not established by the response.

Attack Vector: The Summarization Alibi

The cleanest version needs no cleverness at all. Put the offensive content inside a document, then ask for a summary, key points, or an executive briefing. The question is whether compression receives less scrutiny while retaining the consequential details. "Summarize the attached training deck" and "write me a phishing pretext" can produce the same paragraph. A controlled comparison would have to record which requests were refused, what each output retained, and what the policy allowed for that particular use. The two verbs alone do not supply the result.

Attack Vector: Reformatting as Cover

A step subtler: ask the model to transform the document's structure rather than its content, turn these bullet points into a numbered checklist, convert this into a runbook, translate this into another language. Format transformation reads as clerical work. It can also make scattered instructions easier to use, which is an output property the clerical label does not settle. A neat checklist can preserve the offensive steps and make them easier to follow. Calling it typing does not settle the delivery decision.

Attack Vector: The Embedded Correction

The sharpest version exploits the model's instinct to be helpful about small inconsistencies. Present a document with a technique described but a key detail redacted, garbled, or deliberately wrong, and ask the model to fix it, complete the citation, or "quote what this section was clearly trying to say." The missing detail is still a new contribution. A request to repair a citation should not silently become a request to complete an exploit chain. Record what was actually in the source and what the model added, rather than calling both extraction.

Blue Team Defense: Score the Output, Not the Stated Verb

Evaluate the requested operation, the source, the recipient, and the resulting output. A legitimate quotation, a defensive explanation, and a completed operational runbook can require different treatment. The permission cannot come merely from the word “summarize.” It also cannot come from the model insisting it only copied something.

Tool actions and disclosures need their own controls; a final-answer filter cannot recall a tool call that already happened. OWASP’s prompt-injection guidance pairs separation of external content with least privilege and approval for privileged operations. A document can remain useful evidence without becoming an instruction source.

Blue Team Defense: Verify the Citation Before Trusting It

If a model's output is going to get a pass because it's "just quoting a source," the source and cited passage need checking. That establishes provenance, not permission. An unverified claim of reproduction is exactly as attacker-controlled as a fabricated branch name. The document supposedly being summarized might contain nothing of the sort, or might have been engineered specifically to make the harmful content look like something that already existed independently of the request. Provenance has to be checked, not assumed from the shape of the ask.

Blue Team Defense: Treat Every Compiled Output as New Content

Inspect the delivered artifact. Keep the original source, the exact excerpt, and any additions distinguishable. Translation and paraphrase need different verification from a verbatim span check. Neither the source’s existence nor a correct page number establishes that the claim is supported or that the output belongs in this destination.

Anthropic’s citation documentation describes source pointers, extracted cited text, and document-specific locations. Those are useful provenance features. A valid pointer does not turn the cited document into authority to execute its instructions.

The quote matches. The permission does not.

I built a local citation-boundary checker with authored documents and an independent fixture source policy. It checks a document hash, a character span, and the exact quoted text. Its offsets are Python Unicode code points, with an exclusive end. This is its own fixture format, not an implementation of a provider’s citation API.

The recorded cases keep three fields separate:

CaseCitation integritySource delivery scope
Exact public excerpt, public reportMatchedAllowed by fixture policy
Same exact excerpt, false claim beside itMatchedAllowed by fixture policy
Invented excerpt or changed source revisionRejectedHeld
Exact restricted excerpt, public destinationMatchedHeld
Exact restricted excerpt, approved private reviewerMatchedAllowed by fixture policy

The false-claim case quotes a source saying the rehearsal starts at 09:00, then claims it starts at 18:00. The excerpt check still passes. The checker leaves claim support at NOT_EVALUATED; it never promotes a matched span into a supported conclusion. Output content safety has its own unevaluated field. An allowed source scope is not a final release decision.

The proposal can claim a public label or an authorized identity. Neither overrides the source registry or the principal passed through the separate fixture application path. Legitimate public quotation and authorized private review both retain working paths. The fixture never contacts a model, opens a private document, or executes an instruction from a source.

With Python 3 and curl installed:

citation_dir="$(mktemp -d)"
curl -fL 'https://ghostintheprompt.com/research/citation_boundary_check.py' -o "$citation_dir/citation_boundary_check.py"
python3 "$citation_dir/citation_boundary_check.py"

Thirteen tests cover matching and invented excerpts, revision changes, unknown documents, invalid spans, private/public scope, forged labels and identity claims, and Unicode offsets. Semantic entailment, general content review, real identity, document acquisition, and protected delivery remain separate implementation work. The local registry represents fixture authority; a caller-controlled document hash cannot establish who published the original.

Claude Whisperer catalogs formatting-fidelity and tool-output laundering among its safeguards-research cases. Its documented working detector uses deterministic signals without model calls. That catalog is a place to record a seam, not evidence that every model crosses it. The refusal-scoring audit shows why lexical scores also need checking before they become success rates.

A source can be real. A quotation can be exact. The claim, the recipient, and the next action still need their own answer.


GhostInThePrompt.com // It was never generated. It was only ever quoted. That's the whole trick, and it only works because quoting sounds safe.