You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement working directory scope locking for ADF agents #690
ADF agents currently have unrestricted filesystem access on bigbox. There is no mechanism to prevent an agent from reading or writing files outside its assigned working directory. Piwork (ferologics/Piwork) implements a robust scope locking model: one-time bind of working folder per task, traversal/symlink escape blocking, and a dedicated scope-negative test suite.
Proposal
Scope Locking
One-time bind: once an agent is assigned a working_dir, it is locked for the session
Record scope_locked: bool in ManagedAgent
Reject any attempt to change working directory after binding
Escape Prevention
Block .. path traversal in file operation arguments
Activity