FAQ: privacy and security
What leaves my computer?
A short list:
- your sign-in;
- the licence check;
- the engine download;
- masked snippets from the coverage audit;
- a record of which tools your agent used;
- while "Share redacted code" is on: the files Niro indexes, masked, sent by the background watcher;
- a whole repository, only if you send one yourself.
Is my code sent to an AI model?
Not in this release. It has no LLM documentation, and your agent's questions are answered on your computer. Niro's Data Processing Agreement also says Niro does not train AI models on your code.
What is the coverage audit, and can I turn it off?
It sends small masked snippets of code the build could not read, so Niro can add support for it. It is sent on every plan, and niro has no switch for it. For what Niro may keep and do with what it receives, read Niro's Data Processing Agreement, summarised in What leaves your machine. See Coverage audit.
What exactly is in an audit snippet? Can I see it first?
For each flagged line, the snippet holds the method around it, plus one line per name that method uses. Every other line is blank, and secrets are masked. Each item also carries the file's path inside the repository, masked. To see what is waiting, run niro audit. To write it to a folder, run niro audit --export DIR.
How are secrets masked?
Each secret value is replaced with a placeholder, and the name is kept. The rules are the ones Niro's own service uses before anything reaches an AI model. See Secrets and masking.
Why were names in my code replaced with <author> or <company>?
In audit snippets and in shared code, the names of copyright holders, your email's company and the git remote's owner are replaced, so they do not leave your computer.
"N item(s) not sent: the local engine is too old to mask secrets. Run niro upgrade."
Niro sends nothing that has not been masked. Upgrade, and the waiting items go out masked.
What is in the tool-usage record?
It holds:
- the tools your agent used, how long each took, and any failures;
- a short summary of the task;
- the names, paths and search text your agent asked about.
Free text is masked first and cut to about 1,000 characters. It never holds the contents of your files. A search pattern your agent typed can, though, be a short piece of code.
What does "Share redacted code" send?
The code Niro indexes on your computer, by itself. While it is on, the background watcher sends, every 5 minutes, the files Niro indexes in each folder: the source files it parses and the config, build and text files it reads. It never sends a gitignored file, a real .env, a key or key store, or node_modules. Secrets are masked and author and company names removed first. The first time, a folder's whole indexed set goes; after that, only changed files. Niro deletes it after processing and never uses it to train AI. It also removes the Free line limit.
How do I send my repository to Niro for support?
Run niro audit-push-repo in the folder. It sends that folder's indexed files, with secrets masked and author and company names removed first. It shows how many files and how large, and asks before it sends; your yes is the consent. It works with "Share redacted code" on or off, on every plan.
Can I keep one folder out while sharing stays on?
Yes. Run niro share exclude <folder>. The watcher never sends that folder, or any folder inside it. If you later run niro audit-push-repo in it, it asks "You excluded this folder from sharing. Send it anyway?" and sends only if you say yes. niro share lists the folders kept out, and niro share include <folder> shares one again. niro plan lists them too. Another checkout of the same repository in a different folder is not kept out by this.
How do I stop sharing?
Turn "Share redacted code" off in the console, under Settings, Privacy. The watcher checks before each round and before each batch of files, so nothing more is sent after that check.
"the Niro service cannot yet promise to delete this code when sharing is switched off, so nothing was sent"
Niro refuses to send a whole repository, or share code in the background, until its service can promise to delete the copy when you turn sharing off.
Does uninstalling Niro turn off code sharing?
No. It is a setting on your account. Turn it off in the console, under Settings, Privacy.
Which files does Niro never open?
Real .env files, private keys and key stores, and tool credential files (such as .npmrc and .netrc). Config and text files named as secrets (such as secrets.yaml), and config and text files that .gitignore covers, are not read either. Source code is read whatever its name. See Secrets and masking.
Does Niro keep a copy of my source code?
No full copy. The graph keeps names, places and links. The tools read your files from disk when asked. The build state can hold short values written in the code, such as a default value. It stays on your computer, readable by you only.
Who can read the files Niro keeps?
Only your user account. Niro's folders are readable by their owner only.
Can someone on my network reach my graph?
No. Your agent talks to Niro through its own standard input and output, not the network. niro ui listens only at 127.0.0.1, which is this computer.
"Passwords and tokens are refused and never stored"
niro env stores addresses only. It refuses a value that looks like a password or token.
"That is not a form of this command, and it is not repeated here in case it holds a secret."
You typed a form of a command the engine does not know. It does not print what you typed back, in case it held a secret.
Why does code_grep show <MASK_...> in my config file?
Config values are masked in answers by default. To see real values on your own computer, see Secrets and masking.
Does Niro send telemetry?
Everything niro sends is listed in What leaves your machine, including the account calls niro whoami and niro logout make. The tool-usage record is the record of use.
Is the downloaded engine checked?
Yes. Niro checks its fingerprint (SHA-256) against the published one. It refuses an engine that does not match.
Is there a Data Processing Agreement? How do I delete my account?
Yes, there is a Data Processing Agreement (version 3.0). It is summarised in What leaves your machine. To delete your account, email help@niro.ai.