XWatch

v0.2.0
io.github.xtarwall/xwatch Checked 2 hours ago Published 2 hours ago

Free local security checks for coding agents: scans git changes, alerts only on proven findings.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

xtarwall_scan_changes

Scan what changed in a LOCAL git repo (working tree + untracked, against HEAD or the merge-base of baseRef) before a push or deploy. Only an absolute local path is accepted; remote URLs are refused. Passive by default: nothing is executed unless the user enabled active tests for their target. Returns changed files, which configured candidates the change reaches, four-state findings (confirmed / suspected / no_issue / not_assessed, redacted) and the signed-ledger check.

ParameterTypeDescription
repoPath *stringAbsolute path of the local repo (or a folder inside it) to scan.
activebooleanAsk for an active test. Only honoured if the user enabled it for the target in the server's env.
baseRefstringOptional branch, tag or commit to diff against (merge-base with HEAD), e.g. origin/main.
pathsarrayOptional repo-relative paths to narrow the scan to.

xtarwall_get_findings

The last scan's findings in this session, redacted (no PoC, target or evidence).

xtarwall_explain_finding

Explain one finding from the last scan (what its state means, the CWE, what to do next).

ParameterTypeDescription
id *stringA finding id from the last scan, like f1.

xtarwall_status

Server status: model mode and whether a model key is set (never its value), the run budget, candidates, grants, whether active tests are allowed, and the ledger.