Remix.run Logo
KingOfCoders 6 hours ago

And if it needs to install packages, have a 5 line Go proxy that talks to Artifactory and exposes only what is needed as a surface.

gizajob 6 hours ago | parent [-]

it just escaped your sandbox.

KingOfCoders 6 hours ago | parent [-]

How can it escape an "install package <x>" proxy?

   reducePrivs()
   serve get(package) { 
     secPackage = secure(package)
     getBinaryFromArtifactory(secPackage)
   }
I would think the code is very small and easier to verify, it doesn't especially have the ability to write files and act as a message board as Artifactory did.

And even if the agent tries to hack that, the attack surface is 1000x smaller and the possibility also much smaller.

But I'm not a security researcher, would love to see your hack to learn something (because that is what I do to sandbox agents that need services).

hoten 5 hours ago | parent [-]

I mean, it's just the same problem. The machine still has Internet access. It doesn't need to.

The entire package manager repository could just be in an offline cache. They don't need Internet to give their agents access to tons of software.

KingOfCoders 5 hours ago | parent | next [-]

"They don't need Internet to give their agents access to tons of software."

I think that was the requirement, but yes, the cache could have been offline.

Still then they could have hacked it to create the message boards - but not use it to access the internet.

piker 5 hours ago | parent | prev [-]

Why do these super agents need package managers anyway? Can’t they basically instantiate most OSS projects from scratch anyway? Spin up a sub agent to write me an OS interface in C. Done

simonw 5 hours ago | parent [-]

This is part of the training process for a model. They're trying to train it to effectively use existing software to solve problems.

piker 4 hours ago | parent [-]

I see that now. I've been confused about that to this point, I guess. I understood this to be a specific infosec exercise.

[Edit: eh, a bit of both. They were doing RL on a hacking exercise. It hacked the harness which was plugged into the phone line. Same question.]