What to do with your report.
Six steps, in order. The first five are free and need nothing from us. The sixth is for when you want every step decided before it runs.
No finding without a next step. No step that needs NoData until step 6.
Did the report miss something, or get something wrong? Report it → Every report gets a number and a status, and is answered in the open.
- STEP 1 / 6
See exactly where
The report counts. The events say where: one line per finding, with the file and the line, printed on your screen and written nowhere. Look first at every line with
"exposed":"yes".npx @nodatachat/protect@3 agent-check --eventsPowerShell: add
| Select-String '"exposed":"yes"'. macOS and Linux: add| grep '"exposed":"yes"'. - STEP 2 / 6
Rotate every real key your agent was exposed to
A key that reached your agent's context is in the conversation. Nothing takes it back. Replace it at its provider. A line marked
"sample":truecame from a test or an example: check it, it is usually fake, but real keys end up in fixtures too. - STEP 3 / 6
Move secrets out of reach
Keep
.envfiles and keys out of the folders your agent works in. Inject secrets when a command runs, from a secrets manager or the environment, instead of storing them next to the code. Prefer tokens that are scoped and short-lived. - STEP 4 / 6
Tell your agent what it may not read
Agents have their own permission settings. In Claude Code, deny rules in
.claude/settings.jsonstop reads of the paths you name. In Codex, use its sandbox and approval settings. Do not run an agent in auto-approve on a project that holds secrets.// .claude/settings.json in your project (adapt the paths) { "permissions": { "deny": ["Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)"] } } - STEP 5 / 6
Check again next week
Run the check again and compare. A number that drops is a fix that worked. A number that rises is a habit to look at. The report is a floor: it only sees what the agent kept in its history.
npx @nodatachat/protect@3 agent-check - STEP 6 / 6
Decide before the step: NoData
Steps 1 to 5 look back, and a deny list never changes its mind. When you want each read decided before it happens, by a rule you set, with a person approving and a record of every decision, that is NoData. You do not need it to finish steps 1 to 5.
npx -y @nodatachat/mcp@latest install-gateWhat it adds- Reads of files with findings (keys, personal data) are held for your approval, or refused in block mode.
- Commands that print a credential, and searches for secret names, are held the same way.
- A command that needs a secret can run with it and return the output with every value blanked.
- A file can be sealed, so it stays encrypted at rest.
- After a session reads content from outside, a step that sends data out gets a warning by default, and is held where your rule says so.
What it does not do- A path a program computes at run time is not seen.
- A key that already reached the output is in the conversation: the gate says to replace it, it cannot take it back.
- Defaults are hold-and-ask and warn. Refusing is block mode or a rule you set.
Its own record of what it decided:
npx -y @nodatachat/mcp@latest agent-card
One row per line of your report.
| IN YOUR REPORT | WHAT IT MEANS | WHAT YOU CAN DO TODAY | WHAT NODATA ADDS |
|---|---|---|---|
Credential files (.env, keys, tokens)secret_file | Your agent read a file that holds logins. If a value came back, your agent was exposed to it: it is in the agent's context. | Rotate what came back. Move the file out of the working folder. Deny it in the agent's settings. | The file is scanned before the read and held for your approval. |
Commands that print a credentialcredential_command | A command printed a credential into the conversation, and on to the model. | Run such commands yourself, in a terminal, not through the agent. | The command is held for your approval; a blanked-output way to run it is offered. |
Searches for passwords and keyssecret_search | The agent searched for secret names. Often routine in code, but matches can carry values. | Look at the matches that returned a key, and rotate those keys. | The search is held for your approval. |
Data files (tables, databases, dumps)data_file | The agent read a table, a database or a dump. The free check does not read the content. | Keep real exports out of the working folder. Work on sample data. | The file is scanned, personal data included, and held. A clean copy can be made instead. |
Commands that send data outoutbound_data | A command tried to send data off the machine. A failed attempt is still a finding. | Read these commands in the events. Run the agent where its network is limited. | After outside content, a warning by default; held where your rule says so. |