Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.
Security Policy
Supported Versions
Security fixes are applied to the latest release and the main branch:
| Version | Supported |
|---|---|
main / latest 0.3.x |
:white_check_mark: |
< 0.3.0 |
:x: |
Security Model
agy-fast is designed to be auditable, reproducible, and minimally privileged:
- Zero runtime dependencies — pre-built, unminified single-file ESM bundles in
dist/(package.jsonhas zerodependencies, eliminating transitivenode_modulessupply-chain risk). - 100% local execution — the MCP server runs over local Stdio (
node dist/mcp-server.mjs) and never sends source code, transcripts, or prompts to any third-party endpoint. - Workspace write boundary &
.gitguard —apply_editsdefaults to refusing file writes andverify.cwdtargets outside workspacecwd(including../, out-of-workspace absolute paths, symlink/directory-symlink escapes, and.gitinternal metadata; opt out explicitly viaAGY_FAST_ALLOW_OUTSIDE_CWD=1), andrules/AGENTS.mdprohibits write tools in read-only Plan Mode. - Read-only Git allowlist & least-privilege mode —
batch_searchstrictly restrictsgitqueries to an allowlist of read-only subcommands and blocks flag injection (-c,--git-dir,--ext-diff, etc.). Users who want a strictly read-only MCP process can expose only--tools batch_search,quick_outline,read_slices. - Notify-by-default updater with anti-tag-hijacking & SHA-256 verification — background update checks default to
notify-only (never silently overwriting localdist/*.mjsor rules unless you runupdateor explicitly opt in viaconfig --auto-update auto; disable all network checks withconfig --auto-update off/AGY_FAST_AUTO_UPDATE=off). Checks only contactgithub.com/api.github.com/objects.githubusercontent.com/release-assets.githubusercontent.comover HTTPS, pin observed release tag → commit SHAs (knownTagCommits) to hard-refuse force re-tagged / hijacked tags, verify clonedHEADmatches the peeled commit SHA, verify GitHub ReleaseSHA256SUMS.txtdigests (strictly required whenAGY_FAST_REQUIRE_CHECKSUMS=1), and run a live MCP smoke test in an isolated staging dir before atomic swap. - Immutable release pipeline & build provenance —
v*tags are protected against deletion/updates, GitHub Actions workflows pin third-party actions to full 40-char commit SHAs, and releases publishSHA256SUMS.txtplus SLSA build provenance attestations (actions/attest-build-provenance).
2-Minute Independent Supply-Chain Audit
Any developer can independently verify agy-fast locally without trusting pre-built binaries:
- Confirm zero runtime dependencies: Inspect
package.json— only 3 build-timedevDependencies(esbuild,typescript,@types/node), zerodependencies. - Verify reproducible bundles (
dist/==src/):
Exit codegit clone --branch v0.3.4 --depth 1 https://github.com/INK-Q/agy-fast.git cd agy-fast && npm ci && npm run build && git diff --exit-code -- dist/0proves every line ofdist/*.mjsmatches the readable TypeScript source byte-for-byte. - Audit outbound network & process sinks:
Confirm the only outbound network calls are optional GitHub Release checks insiderg "fetch\(|https?://|http\.request|net\.connect|child_process" src/src/utils/updater-core.ts. - Verify Release checksums & SLSA provenance attestation (releases
>= v0.3.4):# Linux (filter the 3 leading '#' metadata comment lines for --strict cleanliness) grep -v '^#' SHA256SUMS.txt | sha256sum -c - # macOS grep -v '^#' SHA256SUMS.txt | shasum -a 256 -c - gh attestation verify dist/mcp-server.mjs --repo INK-Q/agy-fast - Lock down runtime surface (optional):
- Air-gapped / 0 network:
node ~/.gemini/config/plugins/agy-fast/scripts/install.mjs config --auto-update off - Strict checksum enforcement on updates:
AGY_FAST_REQUIRE_CHECKSUMS=1 - Read-only MCP:
--tools batch_search,quick_outline,read_slices(orAGY_FAST_TOOLS) - Pinned install: clone a specific tag (
git checkout v0.3.4 && ./install.sh) or runnpx [email protected]instead of trackingmain.
- Air-gapped / 0 network:
Reporting a Vulnerability
Please do not open a public GitHub issue for suspected security vulnerabilities.
Instead, report vulnerabilities privately via GitHub Security Advisories:
Include reproduction steps, affected file paths or commit SHA, and potential impact. You can expect an initial acknowledgment within 72 hours and a coordinated disclosure once a fix is verified and released.