Add UID/GID isolation for evaluated agents - #87
Draft
dmorosanu wants to merge 5 commits into
Draft
Conversation
This was referenced Aug 6, 2026
…isolation wrapper execs it
…served-path assertion
…e isolation default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
no_new_privsmockdidentity behind a group-gated Unix socket[docsai, ask], with no shell, bounded execution/output, and in-memory response cachingWhy
Encryption or runtime sealing does not protect fixtures when the evaluated agent can invoke the decryptor. The boundary must prevent the agent identity from reading grading material and mock fixture bytes while retaining a narrow, observable CLI behavior channel.
Impact and compatibility
Protected Docker isolation is enabled by default. Images must declare
org.coder-eval.agent-isolation=uid-gid-v1.docker.working_dir,extra_mounts, and dynamic privileged criteria (run_command,uipath_eval,agent_judge) fail closed until their audiences or grader sandbox are implemented.protected_mocksis opt-in; UiPath/skills#2503 is the dependent migration. Runtimesealis not part of the protected interface.Native-Linux container validation is still pending because the supplied test VM was unreachable from the implementation environment.
Validation