Skip to content

[terra-bench]: sandbox proxy, redaction, and CI security - #2

Merged
skrishnan22 merged 5 commits into
mainfrom
terra-prod-hardening
Jul 18, 2026
Merged

skrishnan22 merged 5 commits into
mainfrom
terra-prod-hardening

Conversation

@skrishnan22

Copy link
Copy Markdown
Owner

No description provided.

Co-authored-by: Cursor <cursoragent@cursor.com>
@greptile-apps

greptile-apps Bot commented Jul 10, 2026

Copy link
Copy Markdown

Greptile Summary

This PR hardens sandbox proxying, provider handling, and CI security. The main changes are:

  • Adds short-lived sandbox proxy capabilities for LLM, Git, and WebSocket access.
  • Routes sandbox Git operations through a credential helper and session proxy.
  • Updates provider validation, model catalogs, and provider configuration handling.
  • Adds redaction, telemetry, event-log, and sandbox image hardening changes.
  • Pins CI actions, updates Node and package versions, and adds sandbox image smoke checks.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
packages/sandbox-image/src/git-driver.ts Adds the Git proxy credential helper, rotating capability file, GitHub URL rewriting, and proxy-backed clone, refresh, and push behavior.
packages/worker/src/sandbox-proxy.ts Adds Git proxy route handling for bare and .git repository paths with read/write smart HTTP checks.
packages/sandbox-image/src/entrypoint.ts Adds sandbox proxy token parsing, WebSocket token handling, and a separate capability refresh path.
packages/sandbox-image/src/runtime.ts Applies refreshed proxy capabilities to the sandbox runtime, Git driver, and live agent.

Reviews (2): Last reviewed commit: "Harden sandbox proxy from review: shared..." | Re-trigger Greptile

Comment thread packages/sandbox-image/src/git-driver.ts Outdated
skrishnan22 and others added 2 commits July 12, 2026 00:26
…r, telemetry

Unify LLM/Git/WS capabilities on one audience-bound token format, keep git
credentials out of argv via a helper, rotate capabilities off the agent queue,
and drop private-repo CodeQL/dependency-review until scanning is enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
skrishnan22 and others added 2 commits July 18, 2026 17:06
Resolve CI, worker entrypoint, orchestrator, and Slack logging conflicts so
sandbox hardening and Slack integrations coexist with redaction-aware APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep sandbox capability-token auth with orphan reconnect counting, and
route Slack notification logging through redaction-aware helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
@skrishnan22
skrishnan22 merged commit 5d89c2c into main Jul 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant