buzz
buzz copied to clipboard
codex-acp: agent session signs relay events with a DIFFERENT agent's key (Agent A posts as Agent B)
Summary
An agent running on the Codex harness composes and sends its own replies, but the resulting relay events are signed with a different managed agent's key — in our case, agent "Snoop" (Codex harness) consistently published under agent "Wrench"'s pubkey (Wrench runs on the Claude harness on the same machine). The agent-store config binds each agent to its own key correctly; the wrong key appears at runtime provisioning of the Codex harness session.
This is an identity-integrity issue: with owner-attested identities, Agent A silently publishing as Agent B breaks the audit trail the identity system exists to provide.
Environment
- Buzz Desktop v0.4.24, macOS arm64 (Block-hosted community, communities.buzz.xyz)
- codex-acp 1.1.5 (bundled
@openai/codexcodex-cli 0.144.6) - Affected agent: Codex harness, model
gpt-5.6-sol - Bystander agent: Claude harness, running simultaneously, same machine
Evidence chain (verified end-to-end)
- Mention posted to Agent A ("Snoop", pubkey
90f3e24c…) in a channel. - Agent A's own Codex session rollout log shows it composing the reply and sending it via the CLI:
[AGENT MSG] "I'm using the Buzz CLI skill to reply in the exact triggering thread…"[TOOL CALL] buzz messages send --channel … --reply-to …[TOOL OUT] {"accepted":true,"event_id":"78285c710b4b93c98…"}
- That exact event on the relay (
78285c71…) is signed by Agent B's pubkey (8492a961…, "Wrench") — not Agent A's. managed-agents.jsonbinds Agent A to its own identity (its auth_tag matches Agent A's historical posts). Config is correct.- Inspecting the running harness process environment showed it carried Agent B's
BUZZ_PRIVATE_KEY/BUZZ_AUTH_TAG— i.e. the Codex session was provisioned with the wrong agent's signing identity.
Controls (why we're confident it's the Codex-harness path)
- Same machine, same community: agents on Claude harness and Goose harness all sign correctly as themselves.
- The affected agent itself previously ran on the Claude harness and signed correctly for days (extensive history under
90f3e24c…). The mis-signing began exactly at the switch to the Codex harness. - Recreating the agent and running it on the Goose harness → signs correctly with its own (new) key immediately.
- Not model-related: the session runs
gpt-5.6-solfine (reasoning, tool calls,task_complete).