DashboardopencodePermission save resources

Permission save resources

Category: gotcha
Confidence: 1.00
ID: 01a07f25-91b7-77d3-a2b0-1ef92f551bff
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 1T1N67i8cJrqiFqh6
Created: 2026-09-08 03:52:43
Updated: 2026-09-08 03:52:43

Content

Trap: passing an arbitrary command resource through PermissionAssertInput.save looks convenient because approval can be reused, but it persists model-controlled command grants beyond the current invocation. Fix: authorize the canonical shell resource immediately before the side effect and never place arbitrary command resources in save.

Move to: