Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions architecture/security-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ For the field-by-field YAML reference, use
Filesystem and process policy are startup-time controls. Network policy is
dynamic and can be hot-reloaded when the new policy validates successfully.

The sandbox supervisor also injects runtime baseline filesystem paths before
the child process starts. Proxy mode adds the standard read-only system paths
and writable work paths needed by the proxy and shell environment. GPU runtimes
add the NVIDIA or WSL2 device nodes exposed inside the sandbox and promote
`/proc` to read-write for default-like policies because CUDA initialization
Comment on lines +26 to +28
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this sentence still accurate?

promote /proc to read-write for default-like policies because CUDA initialization

Right now, the write access comes from the allow_cuda_procfs_writes patch, right? But the policy doesn't get /proc as read-write?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. This should have been removed. Let me rework this again for accuracy.

writes `/proc/<pid>/task/<tid>/comm`. Custom policies that explicitly keep a
GPU-required path read-only fail at startup with an actionable diagnostic
instead of being silently widened.

## Network Decisions

Ordinary network traffic follows this order:
Expand Down
Loading
Loading