Skip to content
AlbertCode SWE

Module 09 · 12 min

Safety and privacy

What reaches the model and what never does, what the isolated copy is and isn't, and the little AlbertCode SWE sends.

By the end of this module you can

  • Say exactly which secrets are kept from the model, and which are not
  • Explain what the isolated copy protects, and why it isn't a sandbox
  • Check, and turn off, the anonymous usage counts

AlbertCode SWE runs on your computer, with no account. To work on your code, it sends your chosen model the parts of the repository a task needs, and your messages. This module covers exactly what that includes, and what it doesn't (Security).

The guarantees

  • Only AlbertCode SWE itself can use its service. The service runs on your computer at 127.0.0.1 and checks who is asking. Other programs, and other people with an account on the same computer, are refused.
  • In governed mode, nothing reaches your files until you approve it.
  • A key goes only to the provider it belongs to. The commands AlbertCode SWE runs never get your keys. That covers your tests, your build, your project's Git hooks and MCP servers.
  • Nothing is written inside .git, by the agent or by applying a change.
  • No account, and your code never comes to us. AlbertCode SWE sends only an anonymous usage count, which you can turn off.

What the model can see

Be precise about secrets:

  • Your saved keys are masked, by exact value. If one turns up in a file the agent reads, or in a command's output, it's masked before anything goes to the model provider.
  • Common secret files are left out of the isolated copy in governed mode, so the agent never sees them. These are .env files, private keys, credential files, and secrets/ and .ssh/ folders. Public halves such as deploy/id_rsa.pub are still read.
  • Any other secret in your code, such as a password written into a source file, can be read and sent to the model like the rest of the code.

Outside sites, and hidden instructions

AlbertCode SWE reads a page without asking only in three cases:

  • the page is on its list of documentation sites;
  • the page came back from a search it ran;
  • it is a link you pasted yourself.

For any other site, it depends on the mode:

Mode What happens
Direct Asks you first, once
Ask only Asks in its reply, with the full address
Governed The task does not read it

Pages are checked in AlbertCode SWE's own headless browser, never in your own browser profile.

Instructions hidden in content the agent reads may try to steer it. That content can be a file, a web page, an issue or an MCP server's answer. Your two approvals are the safeguard. That is why these protections assume you read the plan and the diff before you approve them.

What isn't protected

  • Task history isn't encrypted. Plans, diffs and conversations are protected by folder permissions, not encryption.
  • Without a keyring, keys aren't encrypted.
  • The browser sign-in lasts a year in the browser profile you opened it in.
  • The browser's terminal runs what you type as you, outside the limits AlbertCode SWE puts on the agent's commands. It is off until you turn it on.

Usage counts

AlbertCode SWE sends an anonymous usage count once when you first run a new version, and at most once a day when you use it. The count holds the version, your system, your computer's chip and the interface. It has no ID and nothing about you or your code. The counts are kept private and never published, shared or sold.

  • albertcode telemetry shows whether counting is on.
  • albertcode telemetry off stops it.
  • ALBERTCODE_TELEMETRY=off or DO_NOT_TRACK=1 also turns it off.

Practise

Which secrets does the model see?

Masking and secret files have exact limits. Match each case to what happens to it.

Audit your own setup

Five minutes, on your own computer.

  1. 1

    See whether usage counts are on, and why:

    albertcode telemetry
  2. 2

    If you'd rather not send them, turn them off. That is kept when you update:

    albertcode telemetry off
  3. 3

    If you downloaded an installer by hand, check it before you run it (on macOS, shasum -a 256 -c SHA256SUMS --ignore-missing):

    sha256sum -c SHA256SUMS --ignore-missing
  4. 4

    In the browser workspace's Files tab, notice that a file that looks like it holds secrets is shown with a lock, and can't be opened.

  5. 5

    Before you ever uninstall, decide whether to remove your saved keys first:

    /disconnect all

Check your understanding

6 questions. Answer 5 correctly to complete the module. Checked here, in your browser.

  1. 01Which statement about the isolated copy is correct?
  2. 02A database password is written into one of your source files. Is it hidden from the model?
  3. 03During a governed task, Albert wants a page that is not on its documentation list, did not come from a search it ran, and was not a link you pasted. What happens?
  4. 04Another program on your computer tries to send commands to AlbertCode SWE's service. What happens?
  5. 05What does an anonymous usage count contain?
  6. 06Instructions hidden in a file or a web page that Albert reads try to steer it. What is the safeguard?