We currently allow upload/download on/from absolut...
# proj-sdk
c
We currently allow upload/download on/from absolute paths on the agent-server, which reflexively looks scary. Why would we allow them outside of
workspace
? There may be some caveat, because TBH I think of the agent-server as the agent's box, which is kind of like "the LLM's playground", and that's not what one normally considers safe. Still, I think maybe we could confine these to wherever
workspace/
points to 😓 https://github.com/OpenHands/software-agent-sdk/blob/21c4d2777381ebd3322e94cb67126[…]51/openhands-agent-server/openhands/agent_server/file_router.py
w
seems useful to be able to access e.g. /tmp? And I think we use this for trajectories
It's a good thought but I'm not sure what else might be there that could be scary...
c
Maybe a client uses it to upload a new fancy
curl
for the agent to use next time? 🫣 I think the client would need a session_api_key though, which makes me wonder, are we sending the session_api_key to the FE?
😱 1
w
yeah we must be