Scan Trace Data
Use the telemetry scan to check an agent’s trace data for PII and leaked credentials before you reuse those traces. Agent traces are the input to evaluation and optimization, so sensitive data captured in a trace spreads into every dataset built from it.
The scan samples recent files from the nemo-agent-telemetry fileset, runs a
pattern match over them, and writes findings with masked previews, file
locations and follow-up actions to nemo-agent-security.
What the Scan Looks For
Matching is pattern-based, so it’s most reliable on credentials, which have fixed published formats. For broader entity coverage, including names and locations, run a deep scan or use Anonymizer.
Rotate or revoke leaked credentials promptly to block further use. Rotation does not prove the credential went unused or that no data was accessed before it happened, so preserve the trace as evidence and investigate prior access before cleaning it up.
Prerequisites
Before scanning telemetry, make sure you have:
- Local services running (
nemo services run). - At least one deployed platform-managed agent.
- Telemetry in the
nemo-agent-telemetryfileset. The agent must use thenemo_filestelemetry exporter and have completed recent invocations. See Observe Agents.
Run the Scan
CLI
Skill
Python SDK
Inspect the most recent trace files, or use the security skill to do it for you. Cap the data you download, because telemetry can be large.
Review Findings
Findings are written to the nemo-agent-security fileset:
security_snapshot.jsonsecurity_suggestions.jsonl
Use the Files service to inspect them:
Troubleshooting
No findings were written. Confirm the nemo-agent-security fileset exists with nemo files list nemo-agent-security. If it is empty, the scan has not run yet.
The fileset is empty even after scanning. Scans require telemetry. Confirm the nemo-agent-telemetry fileset exists with nemo files list nemo-agent-telemetry. If it is empty, the agent is not exporting traces. Verify the agent uses the nemo_files telemetry exporter and that recent invocations have completed.
The agents-secure skill is not available. Run nemo skills list to confirm the skill is installed. If it is missing, install it with nemo skills install --agent <claude|codex|cursor|opencode>.
Related Topics
- Observe Agents: ingest and query the telemetry this scan reads.
- Anonymizer: detect and replace sensitive entities across a dataset.