Thank you for purchasing StackGuard Pro. Your Polar.sh license key (STKG-...) has been sent by email and is available in your Polar Customer Portal. Run StackGuard: Activate Pro License Key in VS Code, Cursor, or Windsurf.
VS Code · Cursor · Windsurf · Headless CI CLI

Audit mcp.json, n8n workflows & Docker Compose before secrets or RCE hit production.

StackGuard is a 100% local, zero-telemetry static analyzer built for engineering teams shipping AI agents and automation stacks. It catches supply-chain npx -y risks, unauthenticated webhooks, exposed database ports, and hardcoded tokens in real time—with zero code egress.

Buy Pro Solo — $29 one-time Buy Pro Team (10 seats) — $49 one-time Inspect all 56 rules
56 rules
18 MCP · 20 n8n · 18 Docker
0 bytes
Code egress & zero telemetry
SARIF 2.1.0
GitHub Code Scanning ready
14 days
Offline license grace period

What StackGuard catches locally (56 rules)

Standard linters ignore AI agent configs and workflow exports. StackGuard parses JSONC and YAML ASTs directly in your editor with exact line/column squiggles and CWE / SOC 2 / ISO 27001 / DORA control mappings.

MCP Configs (18 rules · MCP001–MCP018)

mcp.json, .cursor/mcp.json, .vscode/mcp.json, claude_desktop_config.json

  • Hardcoded API keys & tokens in env / headers
  • Unpinned npx / uvx / docker supply-chain RCE
  • curl | sh pipes, inline eval, and sudo wrappers
  • --allow-all, --dangerously-skip-permissions, wildcard allowedTools
  • 0.0.0.0 bindings, cleartext http://, ~/.ssh / ~/.aws / / mounts
  • Prompt-injection & tool-poisoning instructions in config metadata

n8n Workflows (20 rules · N8N001–N8N020)

*.n8n.json, *workflow*.json

  • Webhooks with authentication: "none" or wildcard CORS *
  • Execute Command OS injection & Code node eval / child_process
  • allowUnauthorizedCerts: true TLS bypass & cleartext HTTP
  • Hardcoded Bearer / API keys & $env secrets leaked in query strings
  • Missing errorWorkflow, retryOnFail, timeout, executionTimeout
  • SQL injection, runaway LLM loops, meta.instanceId & pinData leaks

Docker Compose (18 rules · DKR001–DKR018)

docker-compose*.yml, compose*.yml

  • Postgres, Redis, MongoDB, n8n & admin ports exposed on 0.0.0.0
  • privileged: true, /var/run/docker.sock, sensitive host bind mounts
  • Unpinned :latest tags, network_mode: host, pid/ipc: host
  • Dangerous cap_add (ALL, SYS_ADMIN, NET_ADMIN)
  • Plaintext secrets in environment & missing N8N_ENCRYPTION_KEY
  • Missing healthcheck, restart, mem_limit, user, no-new-privileges

1-Click Quick Fixes, SARIF 2.1.0 & Compliance Evidence

Fix common exposure bugs directly from VS Code Quick Fix (Cmd+. / Ctrl+.), or export auditor-ready artifacts straight from your repo.

ERROR DKR001 [docker-compose.yml:6:9] Service 'db' exposes sensitive port '5432:5432' on 0.0.0.0.
  Quick Fix -> Bind port to 127.0.0.1 ("127.0.0.1:5432:5432")

ERROR MCP001 [.cursor/mcp.json:9:24] MCP server 'ai' exposes OpenAI API key in 'OPENAI_API_KEY'.
  Quick Fix -> Replace secret with "${input:OPENAI_API_KEY}"

ERROR N8N004 [workflows/sync.n8n.json:41:37] Node 'HTTP Request' disables TLS validation (allowUnauthorizedCerts: true).
  Quick Fix -> Set allowUnauthorizedCerts to false
Zero-backend licensing via Polar.sh: When you activate a Pro key, StackGuard validates it directly against Polar's public Customer Portal endpoint (POST https://api.polar.sh/v1/customer-portal/license-keys/validate) and caches the activation in VS Code SecretStorage with a 14-day offline grace period. Your code never leaves your machine.

Simple One-Time Pricing (No Recurring Subscription)

Free (MIT)

$0
Free forever · No account required
  • 19 critical rules across MCP, n8n & Docker Compose
  • Real-time Problems panel & Status Bar score
  • 1-click Quick Fixes on free rules
  • 100% offline & zero telemetry
Install Free (.vsix / Marketplace)

Pro — Team License

$49
One-time payment · Up to 10 machine activations
  • Everything in Pro Solo
  • 10 activations for dev workstations & CI runners
  • Self-service seat management via Polar Customer Portal
  • VAT / Sales Tax invoice automatically issued by Polar (MoR)
Buy Team License ($49)