Conversation

Jarkko Sakkinen

pi, opencode: Attach supplementary policy to executables

Replace file-based executable policy search paths (sandbox.<tool>.json) with metadata attributes attached directly to binary inodes:

- Unix: user.landstrip.policy xattr (extended attribute).
- Windows: landstrip.policy ADS (alternate data stream).

Closes: #41

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>

I think this is quite elegant way to solve application specific problem :-) And it does possess any security issues coming from using paths, given that the coding agent policy can be part of the executable.
0
0
0