feat(foreign): verify pinned environment directories (B-12)
- add environment_dir to KernelDescriptor and verify its deterministic file-set digest at registration and immediately before every spawn - reject missing digests, relative/missing dirs, symlinks, special files and oversized environments; tampering fails with EnvironmentIntegrity - inject MARQDO_FOREIGN_ENV and prepend <env>/bin to PATH for the child - add a real provider test covering success and post-registration tampering - document that uv/npm environment generation and lock-v3 integration remain open
This commit is contained in:
1 parent
f69c563afd
commit
1099ed6160
7 files changed
+251
-21
No files matched your search
Generated
+1
@@ -370,6 +370,7 @@ dependencies = [
|
||||
"sha2",
|
||||
"tempfile",
|
||||
"thiserror",
|
||||
"walkdir",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Reference in new issue
Block a user