Run a security review
Short answer: airgap_audit_repo runs a defensive, static security review of a repository snapshot across six structured phases using a disposable GMI AgentBox microVM and GMI MaaS. Every reported finding must quote an exact file path and line from your snapshot; unmatched quotes are automatically downgraded to rejected hypotheses.
use airgap to do a security audit of this reporun a defensive security review on src/auth and src/api with airgapThe six defensive phases
- Reconnaissance: Builds a fixed, non-executing file and stack inventory inside the sandbox.
- Control inventory: Maps existing authentication, authorization, input validation, and boundary checks.
- Candidate identification: Flags potential vulnerability candidates grounded in the source files.
- Skeptical verification: Cross-checks each candidate against the actual code and verifies exact file/line quotes against the uploaded snapshot.
- Consolidation: Deduplicates findings, separates verified quotes from rejected hypotheses, and assigns severity.
- Reporting: Returns a Markdown report, structured findings, rejected hypotheses, and an unsigned SHA-256 receipt directly over MCP (never writes a local
REPORT.md).
Direct MCP tool call
{
"tool": "airgap_audit_repo",
"arguments": {
"files": {
"src/server.ts": "// pass the source files you want reviewed",
"src/auth.ts": "// up to 2000 files / 8 MiB snapshot; inference envelope <= 2 MiB"
}
}
}Safety boundaries and limits
| Property | Behavior |
|---|---|
| Exploitation | Never runs generated exploits, never generates attack scripts, never probes external targets |
| Pre-upload scrubbing | Audit source is heuristically scrubbed for secrets before upload and inference |
| Quote verification | confirmed_vulnerabilities means the exact file/line quote matched — not runtime exploitability |
| Credentials required | Both GMI_AGENTBOX_API_KEY and GMI_MAAS_API_KEY |
| Size budget | Snapshot up to 2000 files / 8 MiB; serialized inference envelope must fit 2 MiB |
For large repositories, pass only the security-critical directories (auth, API handlers, parsers, file I/O) so the serialized inference envelope stays under 2 MiB. Read the security model for the complete threat model and residual risks.