Skip to content

fix: fail closed for service sandbox isolation - #51

Open
jack-yang-apodex wants to merge 1 commit into
ApodexAI:mainfrom
jack-yang-apodex:codex/service-sandbox-fail-closed
Open

jack-yang-apodex wants to merge 1 commit into
ApodexAI:mainfrom
jack-yang-apodex:codex/service-sandbox-fail-closed

Conversation

@jack-yang-apodex

Copy link
Copy Markdown

Service deployments can currently degrade to model-authored commands sharing the harness UID when the agent-tool account is missing, leaving /proc/<harness-pid>/environ readable. Multi-task eval containers also inherit the local sandbox profile, which binds the outer /proc rather than requiring a private PID namespace and fresh procfs.

This change makes the supported Compose service fail before model commands when the tool account is unavailable and selects the service profile for the eval runner. A runtime that cannot mount the private procfs will now reject the eval instead of weakening process isolation.

Validation: uv run --frozen --extra dev python -m pytest apodex/tests/test_deployment_config.py -q (17 passed).

Governance task: https://infra-homepage.app.apodex.cc/board/vsdadwqr
Baseline and target-runtime probe: https://github.com/ApodexAI/apodex-cloud-iam/pull/323

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant