Skip to content

DOCS

Sample report

Both samples are demo data. They are not a customer machine or a customer incident.

Scan output

This printout is the sample in the public scanner README. The directory contained a Cursor .cursor/mcp.json with an unpinned npx package and an http:// MCP URL. The machine name is replaced with workstation. Default info logs on stderr are omitted. The process exited 1 because of the high finding. The risk label is MEDIUM because a high finding remains, even though the score is 14.

╔═════════════════════════════════════════════════════════════════════╗
║                  Balerx Gate Security Scan Results                  ║
╚═════════════════════════════════════════════════════════════════════╝

Device: workstation
Platform: linux Ubuntu 24.04.5 LTS
Scanned: 2026-10-21 02:02:20 +00:00

╭─────────────────────────────────────────────────────────────────────╮
│ RISK SCORE: 14/100 [MEDIUM]                                         │
├─────────────────────────────────────────────────────────────────────┤
│ Agents Found:    1                                                  │
│ Total Findings:  2                                                  │
│ Critical:        0                                                  │
│ High:            1                                                  │
│ Medium:          1                                                  │
│ Low:             0                                                  │
╰─────────────────────────────────────────────────────────────────────╯

DISCOVERED AGENTS:
  ✓ Cursor (cursor)
      Config: .cursor/mcp.json

FINDINGS:

┌─ [HIGH    ] MCP server 'remote' uses plain HTTP URL: http://example.com/mcp (MCP-REMOTE-001)
│
│  MCP server 'remote' in .cursor/mcp.json (http://example.com/mcp)
│  Agent: Cursor
│  Resource: .cursor/mcp.json
│
│  💡 Suggested Fix:
│     Use HTTPS instead of plain HTTP for remote connections
└─────────────────────────────────────────────────────────────────────┘

┌─ [MEDIUM  ] MCP server 'filesystem' uses unpinned package: some-mcp-server (MCP-SUPPLY-001)
│
│  MCP server 'filesystem' in .cursor/mcp.json
│  Agent: Cursor
│  Resource: .cursor/mcp.json
│
│  💡 Suggested Fix:
│     Pin the package to a specific version, e.g., npx -y package@1.2.3
└─────────────────────────────────────────────────────────────────────┘

That printout is one Cursor config, so it has no Guard coverage line. A scan that also finds VS Code with GitHub Copilot or Codex CLI adds a line under that agent:

Guard hooks are not available for VS Code with GitHub Copilot yet, so its tool calls aren't intercepted. The scan still checks its config.

The line is not a finding. The finding count and the risk score stay the same.

When ~/.balerx/policy.yaml is missing, stderr includes this line. --quiet hides it. The sample above omitted stderr:

No policy set yet. Run: balerx setup

HOOK-GAP-001, when it fires, suggests the exact command. For Claude Code that is Run: balerx guard install claude-code. For Cursor it is Run: balerx guard install cursor. Both add More: https://balerxgate.com/docs/guard. An empty config is a separate info finding, Configuration file is empty. The suggested contents follow the file: { "servers": {} } for VS Code mcp.json, { "mcpServers": {} } for Cursor, Claude, Windsurf, Cline, Roo, and Gemini JSON, and [mcp_servers] for Codex TOML. It does not change this sample's risk score.

Uploaded scans look like this in the app:

Demo endpoint scan history with risk scores
Demo data. Uploaded scans in the Balerx Demo organization.

Incident report

This is the markdown a download uses. It was produced for a Guard deny on the demo endpoint in the product test: machine laptop-demo, user demo, path /Users/demo/acme/notes.txt. Content capture is off, so no command is stored.

The on-screen report for a different demo incident, a hosted token spike, is below the export. The downloaded file starts with a level-1 heading, Guard deny on deny_curl_pipe.

Guard deny on deny_curl_pipe

  • Severity: high
  • Status: open
  • Agent: cursor
  • Incident ID: inc-guard
  • First seen (UTC): 2026-10-20T18:04:00.000Z
  • Last seen (UTC): 2026-10-21T01:00:00.000Z
  • Findings: 1
  • Content capture currently enabled: no

What happened

Balerx Guard returned deny for cursor (rule deny_curl_pipe).

Where

  • Machine: laptop-demo
  • OS: darwin
  • User: demo
  • Working directory: /Users/demo/acme

When

Event time (UTC): 2026-10-20T18:04:00.000Z

Received (UTC): 2026-10-21T01:00:00.000Z

Why this fired

  • Rule: GRD-HOOK
  • Logic: Fires when Balerx Guard on an endpoint records a hook decision of ask or deny. Allow decisions are stored as activity and do not open an incident.

Threshold vs actual

{
  "decision": "deny",
  "matchedRule": "deny_curl_pipe",
  "eventType": "before_shell_execution"
}

Offending spans

No hosted span. This incident came from an endpoint Guard decision.

Endpoint

{
  "machine": "laptop-demo",
  "os": "darwin",
  "user": "demo",
  "agent": "cursor",
  "workingDirectory": "/Users/demo/acme",
  "command": null,
  "path": "/Users/demo/acme/notes.txt",
  "decision": "deny",
  "matchedRule": "deny_curl_pipe",
  "contentCaptured": false,
  "argumentSummary": null,
  "captureMessage": null,
  "occurredAt": "2026-10-20T18:04:00.000Z",
  "receivedAt": "2026-10-21T01:00:00.000Z"
}

Trace

  • Trace ID:
  • Run ID:

Suggested fix

An endpoint hook asked or denied an agent action. Use the machine, user, working directory, and matched policy rule to confirm the block was correct.

  • Read the matched policy rule and the decision. Deny means the hook blocked the action. Ask means a person had to approve it.
  • If capture is off, enable content capture and retry the path to store the redacted command.
  • If the deny was correct, leave the rule in place. If it was a false positive, narrow the rule instead of removing it.
  • Check the same agent and rule over the last 7 days before closing the incident.

Related incidents (same agent, same rule, 7 days)

None.

Activity

No status changes recorded.

The list and the hosted token-spike screen:

Demo incident list with severity, status, and filters
Demo data. The incident list in the Balerx Demo organization.
Demo token-spike incident with the flag reason, finding details, context, and checklist
Demo data. One token-spike incident in the Balerx Demo organization. It is not the Guard export above.