Docs
Privacy and security
What nono captures, what it redacts, what never leaves your machine and how the hosted service is protected.
Runtime verification sees your application at its most revealing: requests, responses, form inputs and screenshots. nono is designed so that sensitive data is redacted when it is captured, nothing leaves your machine without an explicit command, and agents only ever see redacted, bounded evidence.
What is captured#
| Captured | Notes |
|---|---|
| HTTP request metadata | For document, xhr and fetch requests (capture.resourceTypes) not matching capture.excludePaths: method, redacted URL, path, status, timing, request body size and allowlisted headers. |
| Selected response fields | Only JSON fields named by http_response_field assertions or capture.responseFields, from same-origin responses up to capture.maxResponseBytes. |
| Console errors and warnings, uncaught exceptions | Redacted message text, location and the first lines of the stack. |
| Checkpoint screenshots | Viewport only, with masked selectors painted over. |
| DOM snapshots | At checkpoints: tag names, a small set of semantic attributes (id, role, data-testid, aria-* state, name, type, href, disabled, alt, placeholder) and redacted, normalized text. Input values are not included. |
| Execution timings | Per step and per run. |
What is not captured by default#
- Response bodies. Arbitrary response bodies are not recorded. Only fields that are explicitly named are extracted.
- Request bodies. Only their size is recorded.
- Most headers. Headers are deny-by-default: only
content-type,content-length,accept,cache-control,location,x-request-id,etagandvaryare kept verbatim.Authorization,Cookie,Set-Cookie, API-key and CSRF headers, and any header whose name containstoken,secret,session,auth,keyorpassword, are stored as[REDACTED]. All other headers are dropped. - Sensitive form values while recording. Password inputs, fields with
cc-*,one-time-code,current-passwordornew-passwordautocomplete, fields whose name matches the sensitive-field pattern and fields markeddata-nono-sensitiveare written to the journey as{ env: NAME }references, never as literal values.
Default redaction#
Before anything is written to disk:
- Sensitive field names — names matching password, secret, token, API key, authorization, cookie, session, SSN, card number, CVV/CVC, IBAN, OTP, PIN, private key or credential — have their values replaced with
[REDACTED]in extracted response fields and URL query parameters. - Token-shaped values are replaced with
[REDACTED]wherever they appear in captured text (URLs, console messages, exceptions, DOM text, response field strings): bearer tokens, JWTs, common API-key prefixes such assk_,pk_,ghp_andxoxb_, and 13–19 digit card-number-like runs. - URL credentials (
user:password@) are stripped. - Long text is truncated to 4000 characters.
Configuring redaction and masking#
Add to the defaults in .nono/config.yaml:
redaction:
headers: [x-tenant-key] # extra header names stored as [REDACTED]
fields: [email, "customer_*"] # extra field names; * is a wildcard, case-insensitive
patterns: ["ACCT-[0-9]{8}"] # extra regular expressions redacted from captured text
maskSelectors: ["[data-testid=address]"] # CSS selectors masked in screenshots
maskSelectors apply to screenshots only. Masked regions are painted over at capture time, so the original pixels are never stored, and because they are masked in the baseline too, they never cause a screenshot difference. Elements with data-nono-mask or data-nono-volatile are always masked. To keep text out of DOM snapshots, use normalization.volatileSelectors or data-nono-volatile, which replace an element's text with <volatile>. See the configuration reference.
Use non-secret test data in journeys. If a journey needs credentials, reference them with value: { env: NAME } and supply them through environment variables in your test environment rather than writing them into YAML.
Local storage#
- Evidence is stored under the project's
.nono/directory. File access by the CLI, MCP server and dashboard goes through a store that refuses paths outside.nono/. - Raw runs, artifacts, reports and proposals are git-ignored by the
.nono/.gitignorenono creates; only journeys, config and approved baselines are meant to be committed. - Artifact sizes are limited (
storage.maxArtifactBytes,storage.maxRunBytes), andnono pruneremoves old runs. - HTML reports embed screenshots. Treat them like the screenshots themselves when sharing.
Local dashboard#
nono dashboard binds to 127.0.0.1:4319 by default and rejects requests whose Host header is not loopback or the bound host, which blocks DNS-rebinding attacks. Reads are GET. The few actions the dashboard offers — run a check, record a check, mark a passing run as "working" (approve a baseline), connect an agent — are POST requests that must carry a random per-process token embedded in the served page, use application/json, and come from the same origin; anything else gets 403. Approving from the dashboard is a human action; the MCP server still cannot approve baselines, and the dashboard refuses to approve runs with failing required checks. Passing --host 0.0.0.0 or another interface exposes your evidence to that network; do this only on a network you trust.
The MCP boundary#
- Tool inputs are validated against explicit schemas.
- Evidence returned to agents is redacted and bounded;
nono_get_evidencepaginates (at most 100 items per call) and filters instead of dumping logs. - Captured DOM, console output and HTTP data are treated as untrusted, and results carry a notice saying so. A page that prints "ignore previous instructions" is data, not a command.
- Verification is restricted to loopback addresses, the configured
target.baseUrlhost andtarget.allowedHosts. - There is no MCP tool for approving baselines.
Nothing is uploaded automatically#
nono works fully offline and requires no account. The only command that sends run data anywhere is:
nono sync [runId] [--latest] [--yes]
It runs only when you invoke it, requires credentials stored by nono login, shows what will be uploaded and asks for confirmation unless --yes is passed. It uploads a sanitized manifest only — verdict, check results, regression summaries, unverified items and environment metadata. Screenshots, DOM, network data, console output and URLs are not uploaded. See Evidence format for the exact fields.
nono login itself only calls the API's /health endpoint, then stores the API URL and token in $XDG_CONFIG_HOME/nono/credentials.json (default ~/.config/nono/credentials.json) with mode 600. It requires https unless the API host is localhost or 127.0.0.1.
Integrity, not proof of correctness#
Artifact SHA-256 hashes show that evidence files have not changed since they were written. They do not prove the application is correct or that the machine producing them was trustworthy. A VERIFIED verdict means the declared assertions passed in the tested environment — not that the application is bug-free.
Hosted service#
If you use a hosted nono API (yours or ours):
- Sign-in sets a
nono_sessioncookie (HttpOnly) and anono_csrfcookie, bothSameSite=LaxandSecureby default. The API refuses to start in production withCOOKIE_SECURE=false. - Cookie-authenticated mutations require a CSRF double-submit token in the
x-csrf-tokenheader, which must match thenono_csrfcookie and be bound to the session. - Session tokens are stored only as HMACs keyed by
SESSION_SECRET; CSRF tokens are derived withAUTH_SECRET. Passwords are hashed with scrypt. - Project tokens (
nono_…) are shown once, stored as SHA-256 hashes and can be revoked at any time. - Uploads (
POST /v1/reports) must carry a project token, are validated against the manifest schema and are limited byMAX_UPLOAD_SIZE(default5mb, i.e. 5 MiB); other request bodies are limited to 64 KiB. - Requests are rate limited in memory per process: by default 300 per minute per IP, 20 per minute per IP on sign-up and login, and 60 uploads per minute per project token.
- Share links expose a reduced, read-only view of a report and can be revoked.
- Uploaded reports are deleted after
ARTIFACT_RETENTION_DAYS(default 30). - The hosted service never executes your code, launches browsers against your application, or fetches URLs on your behalf. Verification runs on your machine or in your own CI.
Reporting a vulnerability#
Report security issues privately to the maintainers rather than in a public issue. See SECURITY.md in the repository for the disclosure process.