Skip to content

ateapi should pass resolved sandbox assets to atelet.RestoreRequest #1835

Closed

Description

@zoez7

Motivation

  • Today, when restoring an existing snapshot, atelet takes the sandbox binaries and pause image from manifest.json in object storage and fetches them. This is a privilege escalation risk: a malicious snapshot can make atelet download attacker-controlled binaries and run them as the gVisor runtime on the worker.
  • To upgrade the sandbox assets of an existing actor, we need to cold boot it from different assets than the ones in its snapshot.

Changes needed

  1. Add to RestoreRequest a sandbox_assets field. Same message the existing RunRequest.
  2. ateapi populates the RestoreRequest by resolving the SandboxAssets from the ActorTemplate.
  3. atelet should use the SandboxAssets from the RestoreRequest instead of the one in manifest.json.

Activity

  1. BenTheElder commented on Sep 23, 2026

    @BenTheElder
    Collaborator

    We should actually move everything from the manifest into the ate-api, now that we have a snapshot API.

  2. added this to the M3 milestone on Sep 23, 2026
  3. bradib0y commented on Sep 23, 2026

    @bradib0y

    I started working on this. I'm a senior devops eng, but new to open source

  4. shrutiyam-glitch commented on Sep 24, 2026

    @shrutiyam-glitch
    Collaborator

    Hi bradib0y ! Welcome, and thanks for offering to help out! Since this is required for our next milestone, I'll be taking this one on myself as the assignee.
    We'd be thrilled to have your contributions on other issues! Feel free to check out our open issues without an assignee.

    cc: Aditya Shantanu (@aditya-shantanu)

  5. added a commit that references this issue on Sep 25, 2026
    54cba01
  6. bradib0y commented on Sep 26, 2026

    @bradib0y

    Thank you for the info Shrutiya Mohan (@shrutiyam-glitch) , you are very welcoming and encouraging.

    Past few days I've been learning about the project, I built my own lab env with some agents living-and-dying, dashboard ...etc. I think I'm gonna start shipping soon 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions