Give every sandbox registry credentials with account variables and secret files. --no-environment sandboxes get none.
| Registry | Set up |
|---|---|
| npm, pnpm | .npmrc secret file with //npm.pkg.github.com/:_authToken=${NPM_TOKEN}, plus soulsand env set NPM_TOKEN |
| pip, uv | soulsand env set PIP_INDEX_URL / UV_DEFAULT_INDEX as https://user:token@host/simple, or a .config/pip/pip.conf secret file |
| Docker | In the setup script: echo "$GHCR_TOKEN" | docker login ghcr.io -u you --password-stdin, or a .docker/config.json secret file |
| Cargo | .cargo/config.toml secret file, plus soulsand env set CARGO_REGISTRIES_NAME_TOKEN |
| Go modules | soulsand env set GOPRIVATE and GH_TOKEN; other hosts: .git-credentials secret file |
| Maven, Gradle | .m2/settings.xml or .gradle/gradle.properties secret file |
The registry must be publicly reachable (see Network). Sandbox outbound IPs aren't fixed, so use tokens, not IP allowlists.