01See
Scan. Know what your agents can do.
Every permission your agents hold, in one report. Scan reads agent, MCP and CI workflow configuration in repositories and on developer machines, flags the risky settings and gives the fix.
It reads agent configuration.
Scan reads agent, MCP and workflow configuration, and only reads it. Everything it finds stays inert.
- Agent configuration
- The settings, hooks and permission rules of Claude Code, Cursor, Codex and GitHub Copilot, in repositories, in the user's home directory and in system-wide settings, in one run.
- MCP servers
- Every MCP server connected to an agent, with how it is started or reached and whether its version is pinned.
- CI workflows
- Workflows that run an agent: who can trigger them, what untrusted text reaches the agent, and which secrets and token permissions are in scope.
- Instruction files
- Agent instruction files, project agents and skills, checked for hidden characters and for permissions they grant themselves.
Discovery uses a fixed table of locations for each tool and operating system. Scan reads those locations only. In a repository it skips .git, dependency and build directories, binary files and files over 5 MB. A file that fails to parse is reported as a diagnostic and the run continues.
It finds what agents can reach.
The catalogue holds about 50 rules. Each finding names the file and the rule, explains the risk, lists known false positives and gives the fix.
- Hooks and settings committed to a repository that run commands on the machine of whoever opens the project with an agent.
- Permission prompts switched off, and allow rules broader than they need to be.
- MCP servers that run an unpinned version, start a shell or repository code, or that match a signed list of public advisories. The list ships with the tool and is updated only on request.
- Passwords and keys written into agent and MCP configuration. Scan reports the pattern name, the first four characters and the length. The value itself stays hidden and untested.
- CI workflows in which untrusted text, such as an issue title, can reach an agent that holds secrets or write access.
- Agent configuration that sits outside code-owner review.
Severity runs from critical to info. A critical finding is code execution or credential disclosure that a person with read-only access to the repository or the machine can reach, or a secret already exposed in version control. Every rule and its rationale can be printed offline with secruna rules show.
Example output
The exit code carries the result: 0 when every finding is below the threshold, 1 when one reaches it, 2 for a usage or configuration error. The threshold defaults to high.
$ secruna scan Scanned ./ (1 repository, 2,314 files, 0.8 s) · no network used Found Claude Code (project), Cursor (project), 3 MCP servers CRITICAL SCN-501 Hard-coded secret in MCP server configuration .mcp.json:9 server "tracker" · env.TRACKER_API_KEY Fix: rotate this credential; replace the literal with ${TRACKER_API_KEY}. HIGH SCN-101 Repository-committed Claude Code hooks .claude/settings.json:14 PreToolUse hook runs "node .claude/hooks/check.js" (tracked script) Fix: review the handler; protect .claude/ with code-owner review. HIGH SCN-502 MCP server not pinned to a version .mcp.json:4 server "docs" · npx -y @acme/docs-mcp Fix: pin to an exact version, e.g. @acme/docs-mcp@1.4.2. Summary 1 critical · 2 high · 0 suppressed ASI07, ASI08, ASI10: not assessed Exit 1 (findings at or above: high)
{
"rule_id": "SCN-501",
"severity": "critical",
"confidence": "high",
"title": "Hard-coded secret in MCP server configuration",
"asi": ["ASI03"],
"location": { "path": ".mcp.json", "start_line": 9,
"key": "/mcpServers/tracker/env/TRACKER_API_KEY" },
"evidence": { "pattern": "bearer_literal", "secret_prefix4": "trk_",
"secret_length": 48, "secret_sha256_8": "a41f09c2" },
"fingerprint": "sha256:5d0b…"
}
Reports and formats
Several outputs can be written in one run.
- Terminal table
- The default. Readable in plain text and in colour.
- Markdown
- A full report: summary, inventory, findings, suppressed findings, unreadable files, the categories outside the scan and its limits.
- JSON
- Schema
secruna.scan/v1, published as JSON Schema. A deterministic mode gives byte-identical output for the same tree. - SARIF 2.1.0
- For code scanning tools. Each alert links to the file and line.
- An assessment report rendered offline from the JSON result.
Standards mapping
Every rule maps to at least one category of the OWASP Top 10 for Agentic Applications, and every report carries a table of all ten categories. Scan inspects configuration at rest. ASI07, ASI08 and ASI10 are run-time properties, so the report marks them "not assessed".
Suppressions and baselines
An accepted finding is suppressed with a written reason, which stays visible in every report. A suppression needs a reason, otherwise the configuration is rejected, and one with an expiry date stops applying on that date. A baseline shows only new findings, and two scans can be compared.
It runs offline by default.
One binary, ready to run, account-free. A first result takes about five minutes from installation.
- A local scan is read-only and offline, and leaves MCP servers stopped. It stays inside the scan root, including for symbolic links.
- The same inputs produce the same findings.
- In CI, Scan writes a job summary and fails the job at a threshold you set. It needs read access to repository contents, and permission to upload results only if you send SARIF to code scanning.
- A whole organisation on the code host can be scanned through the API with a read-only token, directly from the host. Fetched files stay in memory.
- A lock file records each MCP server and the fingerprint of its tool descriptions, so a changed server fails the next check.
- Scan can generate a first Guard policy in observe mode from what it found. Teams can add their own rules in the repository, in the same format as the built-in ones.
The network is used only by commands that say so: updating the advisory list, organisation mode, and asking named MCP servers for their tool lists, which is off by default. Scan runs on macOS and Linux. Windows is supported with documented gaps at first.
Limits
Each report ends with the limits of the scan that produced it.
- Scan inspects configuration at rest. Run-time behaviour is Guard's job.
- It reports a credential by shape and location only.
- It complements your secrets, vulnerability and dependency scanners. It reads agent, MCP and workflow configuration only.
- Prompt injection in content is outside its scope.
- It reads settings stored in files. Settings kept in an application database are outside its scope.
Next step
Bring every agent under one policy.
Tell us the agents your developers use and roughly how many people are on the team. We will reply to arrange a short call and, if it fits, send a proposal for an assessment.
Early access is open to a small number of engineering teams in the UK and EU.