● Security architecture

Your repo never leaves your control.

Every ticket runs somewhere disposable, holding only what it needs for that one ticket and nothing else. Here's the actual architecture, not a reassurance — what runs where, what it can reach, and how a change gets checked before you merge it.

01 — Isolation

Each ticket gets its own disposable machine.

A ticket's work happens in a fresh Azure Container Instance, created the moment it's picked up and destroyed the moment it's done. Nothing about it is shared with any other ticket — not the ticket before it, not another client's work running at the same time.

per-ticket, not per-client

A new sandbox, every time

No warm instance reused between tickets, no leftover state from a previous run — every ticket starts from a clean slate and is torn down after, whether it succeeds or fails.

the real boundary

Hardware-level isolation

The boundary between one ticket's sandbox and another's isn't a process or a permission — it's a separate, hardware-isolated virtual machine for each one, the same isolation model cloud providers use to separate different customers' workloads from each other entirely.

no standing infrastructure

Nothing left running

There's no persistent server holding your code between tickets. When there's no active ticket, there's no sandbox — and therefore nothing to compromise.

02 — Credentials

The sandbox holds almost nothing.

Codegalactica's own control plane — the part that holds our long-lived credentials — never runs untrusted code. The sandbox that runs your code holds only what one ticket needs: a short-lived token for that one repo, and two tokens that work for that ticket alone — one to report its result, one to reach the AI model through our own service. Our AI provider key never enters the sandbox.

scoped to one repo

Never your whole installation

On GitHub, each ticket's sandbox is handed a fresh access token scoped to that ticket's one repo, with access to its code only — even if you've connected several repos, a compromised session couldn't reach any of the others. Within that repo the token can write to branches; our pipeline only pushes to its own ticket branch, and we recommend branch protection on your main branch so nothing can.

On Bitbucket, the token Atlassian issues our app covers the workspace the app is installed on, not one repo: Bitbucket doesn't offer narrower app tokens. A compromised session could reach your other repos in that workspace — never another customer's. If that matters to you, install the app on a workspace holding only the repos you want worked on, and protect your main branches.

short-lived, by design

Expires on its own

That token expires on its own within hours — on GitHub it's minted fresh for the one ticket and lasts an hour; on Bitbucket it's the app's current token, which Atlassian replaces every few hours. It isn't a long-lived secret sitting anywhere waiting to be found later.

no database access

No path to your account data

The sandbox never touches billing, account records, or any other client's data — it has no credentials for any of that, only what it needs to read and write the one repo it's working on.

03 — Network

Outbound access is locked down by default.

A sandbox's outbound connections are restricted to the handful of services the work actually requires, enforced below the application layer rather than as a convention the code inside could choose to ignore. This narrows where anything could be sent; it doesn't make it impossible — your code host (GitHub or Bitbucket) is one of the allowed services — which is why each sandbox also holds so little and is destroyed when its ticket is done.

default-deny

Everything blocked unless allowed

The sandbox starts with all outbound network access denied, then explicitly allows only your repo's own host — GitHub or Bitbucket, never both — and Codegalactica's own service — where it reports its result, and where its calls to the AI model go, so the sandbox has no direct line to the AI provider. Name lookups (DNS) stay open, since each allowed service has to be found. Your project's dependencies install through one further, narrow path: a proxy that connects only to the public package registries (npm, PyPI, Maven Central, Gradle, NuGet, the Go module proxy), and only when the encrypted connection itself names that registry.

enforced at the network layer

Not an app-level setting

The lockdown is enforced at the kernel/network level inside the sandbox, not a setting a compromised process could simply route around — the registry proxy runs as its own user, and it is the only user the firewall lets out. Installing those rules needs elevated privileges inside the sandbox's own virtual machine; the sandbox drops to an ordinary user before the agent or any of your code runs.

the hosts' own published ranges

Verified destinations, not just names

GitHub and Atlassian each publish their official IP ranges for exactly this purpose; the allowlist uses those directly, rather than trusting a hostname alone.

04 — Human accountability

Checks on every change. A person when it counts.

None of the above is a substitute for judgment — it's what makes the judgment trustworthy. Isolation and credential scoping limit what a session could do; your own tests, our automated scans, and — whenever you ask — a senior engineer's review help decide whether it should ship. You make the final call.

review on request, access logged

Senior review, and only when you ask

Request a review from a senior engineer on any pull request. It's posted on the PR, pinned to the exact commit reviewed, and can publish a status on the commit you can make required — a GitHub check, or a Bitbucket build status. Our staff open your code only for a review you requested — every access appears in your account's Activity log.

you decide, always

You hold final merge control

Nothing merges itself. The PR sits on your repo, under your review process, until you (or whoever you designate) choose to merge it.

checked before you see it

Tested and scanned first

Before a pull request reaches you it has been run against your repo's own tests and scanned for security, dependency and accessibility problems. What the scans found is on the ticket's page in your dashboard.

Questions a page can't answer?

If you're doing real security diligence and want more detail than this page goes into, we're glad to talk it through directly.

Email us