volcano-sh / volcano-sh/agentcube

CodeInterpreter authMode default is skipped in non-warm sandbox creation

Open
#397 1 comment 0 reactions 1 assignee View on GitHub

@avinxshKD is already working on this.

Since Jun 22, 2026.

Dominant language
Go
Stars
167
Forks
88
Avg merge
44m
Merged PRs (30d)
1

Description

authMode is documented/defaulted as picod, but the non-warm-pool CodeInterpreter path only enables auth when the field is exactly "picod".

That means an empty authMode can skip the public key check and skip PICOD_AUTH_PUBLIC_KEY injection. The warm-pool path handles this differently: anything except "none" gets the key.

Steps:

  1. Create/build a CodeInterpreter object with authMode omitted/empty.
  2. Use the normal non-warm-pool sandbox path.
  3. Check generated pod env.

Expected:
Empty authMode behaves like picod, and PICOD_AUTH_PUBLIC_KEY is injected.

Actual:
The direct sandbox path treats empty authMode as not picod and does not inject the key.

Fix should probably normalize authMode in one helper and use it in both warm-pool and direct sandbox paths.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.