Finding / pi-coding-agent
2026-10-24-pi-coding-agent-new-compaction-research-reaches-pi-whose-stable-summary-input-still-flattens-role-provenan
New compaction research reaches Pi, whose stable summary input still flattens role provenance. Pixee published research on untrusted content gaining apparent authority after conversation compaction. The Pi serializer turns typed messages into text labels such as [User]: and [Tool result]:, with raw content, and sends that flattened conversation in one user message to the summarizer. A tool result can therefore contain role-looking text; the summary no longer carries the original typed provenance. The research reports a small live Pi experiment on v0.79.0, with 3/6 poisoned cases versus 0/5 clean controls. Its disclosure’s older affected-version range and the paper’s larger cross-harness success rates are not measurements of Pi 1.4.0. Current source retains the relevant flattening mechanism, but no current-version exploit was executed here.
Channel: docs-only. Half: defect. Date: 2026-10-21.
Operator consequence: Treat a compacted assertion of approval as something to verify against the original user instruction before consequential effects. Keep whole-process containment and narrowly scoped credentials. Watch for a tagged provenance-preserving or escaping repair and current-version tests, not a generic claim that better summaries solve injection. The finding cuts against the assumption that a thinner harness automatically reduces security work: context transformation itself can move authority. It does not justify claiming every 1.4 session is exploitable at the paper’s historical rate.
Receipt
- https://arxiv.org/abs/2610.29869v1
- https://github.com/pixee/compaction-laundering/blob/9ce87b71301c628dfcd9232b01f1ccbdb0e67b16/disclosure/pi.md
- https://github.com/earendil-works/pi/blob/v1.4.0/packages/coding-agent/src/core/compaction/utils.ts#L120-L155
- https://github.com/earendil-works/pi/blob/v1.4.0/packages/coding-agent/src/core/compaction/compaction.ts#L681-L722
Finding metadata
Run: 2026-10-24-weekly-digest-2026-10-13_2026-10-24-frontier-v0
Finding ID: 2026-10-24-pi-coding-agent-new-compaction-research-reaches-pi-whose-stable-summary-input-still-flattens-role-provenan
Profile citations
- Pi Coding Agent / claim / compaction-provenance
- Pi Coding Agent / posture / governance
Source links
Primary links, including exact changelog lines when available.
- official docs2026-10-24-pi-coding-agent-new-compaction-research-reaches-pi-whose-stable-summary-input-still-flattens-role-provenanarxiv.org/abs/2610.29869v1tagged commit file2026-10-24-pi-coding-agent-new-compaction-research-reaches-pi-whose-stable-summary-input-still-flattens-role-provenanpixee/compaction-laundering / disclosure/pi.mdtagged commit file2026-10-24-pi-coding-agent-new-compaction-research-reaches-pi-whose-stable-summary-input-still-flattens-role-provenanearendil-works/pi / packages/coding-agent/src/core/compaction/utils.ts#L120-L155tagged commit file2026-10-24-pi-coding-agent-new-compaction-research-reaches-pi-whose-stable-summary-input-still-flattens-role-provenanearendil-works/pi / packages/coding-agent/src/core/compaction/compaction.ts#L681-L722