fix(#2): make image ref-file names injective
ref_path() flattened / : @ to _, so evil_bar:v1 and evil/bar:v1 shared a ref file and a poisoned one booted the wrong image with no network contact. Append a hash of the exact reference; old-style ref files are ignored (re-resolved).
This commit is contained in:
@@ -68,6 +68,7 @@ The VM is the boundary. The guest (including a prompt-injected agent or a malici
|
||||
- **vfkit arguments**: paths containing `,` `"` or control characters are refused (vfkit splits options on commas).
|
||||
Workspaces overlapping `~/.wsbx` are refused.
|
||||
- **Registry**: references are validated before any request, digest pins are enforced, and every blob/manifest is sha256-verified.
|
||||
The tag cache is keyed by the exact reference (`a_b:t` and `a/b:t` never share an entry).
|
||||
Auth realms must be https. For public registries, connections to loopback/private/link-local addresses are refused
|
||||
(token realms and redirects included).
|
||||
- **pi config**: allowlisted items only. Symlinks are followed only into `~/.pi/agent` or `~/.agents/skills`, with no cycles
|
||||
|
||||
Reference in New Issue
Block a user