What is actually at risk
In the AI era, your code carries more of your business than ever: the prompts, agent instructions, model settings, evaluation data and business rules that took years to get right. That is the intellectual property an outside team can see when you hand over a repository. The risks come in five forms:
- Code copied and reused. Your product's logic turning up in another client's product, or in a competitor's.
- Keys and passwords taken. From the code, from
.envfiles, or from old commits where they were deleted but never removed from history. - Customer data exposed. Real data in test databases, sample files or logs that came with the code.
- Something slipped into a change. A new library you did not ask for, a script that runs on install, or a build setting that sends data somewhere.
- Access that outlives the contract. Accounts, tokens and copies that are still there months after the last invoice.
Before work starts: settle it in the contract
Most outsourcing problems are cheaper to prevent on paper than to fix later. Make sure the agreement covers:
- Who owns the work. Everything written for you belongs to you, including code written by anyone the agency brings in.
- Confidentiality. What counts as confidential, and that it covers code, data and anything learned about your product.
- Who will see the code. Named people, and your approval before anyone new is added, including subcontractors.
- How they work. Two-step sign-in on every account, no copies on personal devices, no pasting your code into outside tools you have not approved.
- The end. Return or deletion of every copy when the work ends, confirmed in writing.
Have a lawyer draft or review these terms for your situation.
Scope access per person and per task, not per vendor
Agencies rotate people. The developer who starts your project is often not the one who finishes it, and "the agency has access" quickly becomes "anyone at the agency has access". Two rules keep this under control:
- Every person signs in as themselves. No shared accounts and no shared passwords, so you always know who did what.
- Every task gets only what it needs. Git hosts such as GitHub grant access to a whole repository at once, so scoping by task means giving the outside developer a workspace with the task's folders instead of the repository itself.
Keep keys and real data out of reach
- Give outside developers test keys and sample data that are safe to lose.
- Keep
.envfiles and production settings out of anything you share. - If real keys were ever committed to the repository, assume anyone with the repository has them, and change them.
- Keep production systems, databases and customer data on your side. Outside developers rarely need them to build a feature.
Check what comes back
Review is where you catch both honest mistakes and anything worse. For every change from an outside developer, look for:
- New libraries. Every new dependency is someone else's code running in your product. Ask why it is needed.
- Files that run on their own. Build and deploy workflows (such as GitHub Actions files), install scripts, and scheduled jobs can run with your secrets the moment they are merged.
- Changes outside the task. A login fix should not touch billing.
- Addresses and keys written into the code. Anything that sends data to a server you do not recognize.
- Tests changed to pass. A test edited to match broken code instead of the other way round.
When the engagement ends
- Remove every account the same day: Git host, build tools, cloud, chat.
- Change any key or password they could have seen.
- Get written confirmation that copies were deleted, as the contract requires.
Removing someone from a repository does not remove the copies they already made. The surest way to limit what leaves with them is to never hand over the whole repository in the first place. Our offboarding checklist covers the details.
How the Sealed Room fits outsourced work
- One room per person, per task, with only the folders that task needs, copied from one exact commit, with no history and no keys.
- Each person signs in as themselves, with a code sent to their email. No GitHub account and nothing to install, which suits offshore teams on their own laptops.
- Only the internet you allow. Package sites for reading by default; GitHub, GitLab and Bitbucket are never reachable from a room.
- Review built in. You see every changed line. Files that could run automatically are flagged, and new files are accepted only inside the folders you gave the room.
- Access ends on time. Each room closes at the time you set, and removing a person signs them out at once.
- A record of everything, every change and connection, which cannot be edited.
See how the Sealed Room works.
Questions teams ask
Do offshore developers need a VPN or a company laptop?
Not for a Sealed Room. It runs in the browser, and the code stays in the room rather than on their machine.
Can they install the libraries they need?
Yes, from the package sites you allow, such as npm and PyPI, for reading. Everything else on the internet is closed unless you open it.
How long can a room stay open?
You set the time when you open it, up to 8 hours. The developer gets an email 15 minutes before the end so they can hand in their work.