CodeGuard for VS Code
Deep Audits of your code on your own machine, with your own Claude Code or Codex, linked to your CodeGuard
organisation. A compact sidebar for this workspace's findings, and the full CodeGuard app in an editor tab. The extension runs on
Mac (Apple silicon) and Windows (64-bit).
What it does
- Deep Audit: your own Claude Code or Codex reads your project, the way an experienced reviewer would, and reports
the weaknesses it finds. Every finding is checked against your files: a finding whose quoted code is not at the line
it names is dropped.
- Scanners: code rules, secrets and structural rules run on your machine in seconds, with the rules CodeGuard
signs and keeps up to date.
- Findings where you work: the sidebar lists this workspace's open findings by severity and file, the status bar
counts the critical and high ones, and the Problems panel shows them too. A click puts the cursor on the line.
- Apply fix: your agent fixes one finding in a VS Code terminal you work in. You review exactly what changed, keep
it or undo it, and can run your project's own tests on the change first. Nothing is committed. The first time in a
project, Claude Code may ask whether you trust the folder: choose "Yes, I trust this folder" in its terminal.
- Fix selected: tick several findings in the scan tab, or select them in the sidebar's Findings view (a severity or
file row means all its findings), and choose Fix selected. One agent session fixes them one at a time in the same
terminal, most severe first, at most 10 per batch unless you choose otherwise. Each finding's change has its own diff,
Keep and Undo; Undo the whole batch puts every file back exactly; Recheck kept fixes confirms them at the end. When the
agent judges a finding not real, it says why, and Mark as false positive opens the decision with its reason filled in:
nothing is recorded until you confirm it.
- Recheck and decide: ask your agent whether a finding is still there, then record it as fixed or as an exception.
A linked project's decisions are recorded in CodeGuard, alongside its cloud scans.
- Everything included: the CodeGuard command line and the scanning engines come inside the extension. You install
nothing else.
Requirements
- A CodeGuard account. Organisations join CodeGuard by invitation.
- Claude Code or Codex, installed and signed in on this machine, for Deep Audits and fixes. The scanners need
neither.
Getting started
- Open CodeGuard in the activity bar and choose Connect to CodeGuard.
- CodeGuard shows a short code. Approve it in CodeGuard, signed in as yourself, under My account → Authorised
machines. A code lasts ten minutes and works once.
- Add a project folder, link it to one of your organisation's repositories, and run a Deep Audit.
One sign-in per machine: the CodeGuard desktop app and the command line on the same machine share it.
Privacy
- Your code is read by your own Claude Code or Codex, running on your machine under your own sign-in, so your agent's
provider terms apply to what it reads. CodeGuard does not run the audit and does not receive your files.
- CodeGuard makes a key for this machine, and it never leaves it. Every upload is signed with that key, and CodeGuard
refuses one whose signature does not match.
- A linked project's scans are recorded in CodeGuard: the findings, each with its few lines of quoted code (you can
switch the quoted code off). Whole files are never sent, and a secret's line never is. Your organisation can choose
to keep these scans on each machine instead.
- Each upload records the machine's name and the member it belongs to. You, or an admin of your organisation, can
revoke the machine at any time under My account → Authorised machines; it stops at once.
Links
| |