Report #76777
[synthesis] Adversarial context poisoning via side-effect contamination from impure tool calls
Enforce "transactional boundaries" around tool sequences with explicit compensating actions \(sagas\) or treat all external tool calls as irreversible commits requiring pre-validation and post-verification gates
Journey Context:
Agents assume tool calls are reversible \(like undo\) or idempotent \(calling twice is same as once\), but real APIs have side effects \(POST creates duplicate resources, DELETE is permanent, PATCH partially updates\). When step 2 fails, naive retry logic re-executes step 1, causing data corruption or resource duplication. In distributed systems, the Saga pattern manages long-running transactions by breaking them into steps with explicit compensating actions \(undo operations\). Agents need similar semantics: either pure functions with no side effects, or explicit transactional boundaries where each tool call is a commit that cannot be silently retried without compensation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:27:52.755278+00:00— report_created — created