ArmorCopilot

Intent-based security enforcement for GitHub Copilot CLI

ArmorCopilot

ArmorCopilot adds security enforcement to the GitHub Copilot CLI. Every tool call Copilot makes is checked against a declared intent plan and policy rules before execution.

One Command Setup

curl -fsSL https://armoriq.ai/install_armorcopilot.sh | bash

Installs the plugin, sets up the ArmorIQ CLI, and connects your ArmorIQ account.

What It Does

When you prompt Copilot to do something, ArmorCopilot:

  1. Makes Copilot declare its plan before any tool runs, Copilot registers what tools it intends to use
  2. Checks every tool call unplanned tools are blocked (intent drift)
  3. Enforces policy rules set allow/deny rules from any prompt
  4. Logs everything audit logs flow to the ArmorIQ dashboard with signed JWT intent tokens

How It Hooks Into Copilot

ArmorCopilot is a first-class GitHub Copilot CLI plugin. It registers on 8 hook events:

EventWhat ArmorCopilot does
sessionStartInitializes session state, prepares enforcement context
userPromptSubmittedInjects directive telling Copilot to register its plan via MCP first
preToolUseChecks tool + arguments against the plan and policy. Blocks via {"permissionDecision":"deny",...} if denied.
permissionRequestHonors policy decisions before user is prompted
postToolUseAsync audit row enqueued to local WAL
postToolUseFailureAudit failed tool calls
agentStopSession cleanup
sessionEndFinal cleanup, flush pending audit rows

Works Everywhere

ArmorCopilot is a user-scoped plugin. Once installed, it is active in every GitHub Copilot CLI session:

  • GitHub Copilot CLI (copilot command in terminal)

Same enforcement in any project directory. No per-repo setup needed.

See It Working

1. Install with one curl command

ArmorCopilot Install

2. Login to ArmorIQ from the terminal

ArmorIQ Login

3. Copilot registers its intent plan before every tool call

Intent Plan Registered

4. Set a policy rule from the prompt

Set a Policy Rule

5. Policy blocks unauthorized tool calls

Policy Block

6. Intent plans visible in the ArmorIQ dashboard

Dashboard

Sections

On this page