microvm-tools

Microvm Audit — Security skill for Claude Code

Security community

Run a pinned security-audit skill against one commit of a repository in a sealed claude-microvm VM: no network but the model API, target code in a per-process sandbox, and evidence of how contained th.

How to install Microvm Audit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open microvm-tools/microvm-audit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Microvm Audit does

Run a pinned security-audit skill against one commit of a repository in a sealed claude-microvm VM: no network but the model API, target code in a per-process sandbox, and evidence of how contained the run was.

Alternatives in Security

  • Review Artifact — Creates one polished, self-contained HTML artifact from review findings, audit notes, PR feedback, code review 652 ★
  • Cybersecurity Roadmap — Skills and career roadmap for various security roles like application security, cloud security, DevSecOps, sec 509 ★
  • Migration Agent — Plans a token migration (format, tool, naming or tier): chains token-audit and naming-audit, builds the transf 194 ★

README

microvm-audit

One command runs a pinned security-audit skill against one commit of a repository, in a sealed [claude-microvm](https://github.com/systemstart/claude-microvm) VM. It hands back the report and the evidence of how contained the run was.

export ANTHROPIC_API_KEY=…
make audit.run TARGET=~/work/domain-backend AUDIT_OUT=~/audits/domain-backend
# or: nix run .#default -- --target ~/work/domain-backend --out ~/audits/domain-backend

The skill is Cloudflare's [security-audit-skill](https://github.com/cloudflare/security-audit-skill), pinned in `flake.nix`. It executes target code (builds, tests, fuzzers) only inside a sandbox with networking off, a sanitized environment, resource limits and writes confined to scratch paths. Without one, every finding that needs execution stays unproven. This repo provides that sandbox, and the VM around it.

A run

`microvm-audit --target --out [--rev ] [--prompt ] [--evidence ]`

  1. The target is one commit. git archive exports the commit (--rev, default HEAD) to a temporary directory: tracked files only, without history. Uncommitted changes, untracked files and .git stay behind.
  2. Each run gets a new directory, /run-. Earlier runs of the same target sit beside it; the skill reads their coverage-ledger.json and findings.json and adds to them.
  3. The VM boots with the profile's settings and nothing else. The launcher gets an empty environment. It holds the profile below, the run's own values, and a short list of host variables: who you are, your XDG directories, DBUS_SESSION_BUS_ADDRESS, ANTHROPIC_API_KEY, and an upstream HTTPS_PROXY / NO_PROXY for the host-side proxy. EXTRA_ENV, EGRESS_ALLOW, DIRENV_ALLOW, other agents' keys and the rest of your environment never reach it.
  4. The agent runs the skill (claude -p "/security-audit …") against /work, the exported commit. It writes the report to `/