AG-010
Production Write Access
critical
Page text and source link for your AI assistant. Nothing is sent automatically.
What Foo Guard detects
One or more permissions grant write or admin access to production resources.
When this rule triggers
a permission combines production: true with accessLevel: "write" or "admin".
Foo Guard evaluates the normalized configuration supplied to the scanner. A finding describes configuration risk; it does not establish that an attack occurred. An absent finding does not prove that an undeclared capability is safe.
How to fix
Prefer read-only production access. If writes are required, restrict the target resources and place consequential changes behind approval.
Verify the change
Update the actual agent configuration and the underlying permissions or controls, then run the scanner again. Inspect the finding’s evidence path to confirm the intended setting changed. Do not clear a finding by changing a declaration that no longer reflects the deployed agent.