Conversation

Jarkko Sakkinen

full pass :-)
1
0
1
@tris i don't know. i don't use landlock because of landlock but because it fits to the goals, which are readable from landstrip's man page. it also use seccomp.
1
0
0
@tris so i don't really spend my time looking at tools. i have an idea and then i try see what fits to implement that idea
1
0
1
@tris for this project and many other i actually just browsed https://elixir.bootlin.com/linux/v7.0.12/source to look for what would fit and then browsed what landlock does and this how things connect.
1
0
1

@jarkko That's a really neat approach. I usually spend some time looking for existing tools solutions before building something myself because I'd rather avoid creating unnecessary tech debt. In this case, your approach makes a lot of sense. Since the kernel is ultimately the source of truth, it's unlikely that an external abstraction or wrapper would provide a better solution. I think it's a pragmatic way to handle a problem like this

1
0
1
@tris In the case of blocking agents tackling that outside of paths is the context here. All the bad stuff is always related to paths in security. Landlock does not work in that space so it can brickwall where agen process can move. Thus, it just ended up being the right block.
1
0
0
@tris It addresses whole vector of race condition, which always exist for example in container creation. That small time window is unforgivable in the case of LLM.
1
0
0

Jarkko Sakkinen

Edited yesterday
@tris not because it is "smart" but because aget can brutforce the whole catalog exploit techniques in fast iterations. caging it into a space of file system objects puts it into a closure where it cannot escape easily.
1
0
0
@tris So if you want to tackle such security problem it's not piling chainsaw, hammer and screwdriver into a hill and put fingers crossed because there's a lot of tools in good use. it's about using right tools right because the adversary in this case is most diffcult to tackle so far.
1
0
0
@tris Paths are major gain for LLM with tool commands. So making that unuseful attack vector makes them quite paralyzed and stupid entities that do weird things. It has no tracks and it cannot move because it's just a stupid file.
0
0
0