caelum0x 7a8d0aa68a fix(policy): enforce defaultFileEffect deny-by-default (recoder-u2zj)
permissions.defaultFileEffect was validated + set to 'deny' on locked-down agents
but consulted NOWHERE — evaluateFileAccess returned null (→ allow) for any path
matching no pathRule, so a deny-by-default agent could read/write arbitrary
non-forbidden paths outside its whitelist. Deny an unlisted path under deny-default
unless an allow rule matches or it's within the task's targetPaths (in-scope).
2026-08-08 14:43:55 +03:00
..