Evidence record / pi-coding-agent
A dated record of one change, kept so the writing that cites it can be checked. Compiled from the sources listed below by the research run, not written for reading. The judgment lives in the signals and issues that cite it, below.
OAuth browser launch URI validation and shell-safe spawning
What Changed
Hardened OAuth verification URI handling by adding URI parsing validation to reject non-HTTP(S) protocols before browser launch, and replaced shell exec() with process spawn() to prevent command injection from attacker-controlled URLs.
Operator Implication
Eliminates command injection risk in OAuth flows where malicious OAuth servers could inject shell commands like ‘$(id>/tmp/pwned)’ via verification URIs. Uses process spawning without shell interpretation.
Receipt
Finding metadata
Run: 2026-06-03-weekly-digest-2026-05-28_2026-06-03-frontier-v0
Finding ID: 2026-06-02-pi-coding-agent-oauth-hardening
Accepted signals
Profile citations
- Pi Coding Agent / claim / security-hardening-cluster
Source links
Primary links, including exact changelog lines when available.
Versioned source: run artifact