COPS
Copilot Operations Plugins for Security: an open-source, universal catalog of 25 defensive cybersecurity plugins, 27 specialist agent profiles, and offline verification tools for AI coding assistants.
Why COPS?
Whether your engineering and security teams operate in GitHub Copilot, Claude Code, or Codex / ChatGPT, COPS provides bounded, evidence-aware cybersecurity workflows without vendor lock-in.
- Offline-First by Default: Explore tools, run demos, and validate detection logic straight from your local terminal with standard Python. No cloud credentials, assistant installations, or live tenant connections required.
- Deterministic Script-First Tooling: Offloads calculations, graph traversals, and schema validations to standard-library Python scripts. Fast, deterministic, and preserves model tokens.
- Universal Multi-Assistant Portability: A single catalog in
catalog/plugins.jsonpowers GitHub Copilot, Claude Code, and Codex with zero configuration drift. - 27 Specialist Agent Profiles: Security personas spanning detection engineering, threat hunting, DFIR, cloud IAM, Active Directory, AppSec, Kubernetes context, host assessment, API security, cloud posture, network segmentation, secrets remediation, supply-chain security, and TLS/cryptography. Deterministic routing proposes specialists and Triad handoffs; it does not start agents or authorize execution.
- Truth-in-Advertising & Evidence Standard: Every capability is categorized into five explicit operational readiness modes (
planned,guidance,import,laboratory,live-validated), with evidence required for its stated mode. - MITRE ATT&CK & Attack Flow Coverage: Formally mapped against the pinned ATT&CK Enterprise Matrix (v18.0) and MITRE Attack Flow standards.
5-Minute Quickstart
Run these standard Python commands in your terminal to explore the catalog:
# 1. Clone the repository
git clone https://github.com/sodejm/copilot-operation-plugin-for-security.git
cd copilot-operation-plugin-for-security
# 2. Check local environment health and catalog synchronization
python3 -m cops doctor
# 3. List all 25 plugins and their validation status
python3 -m cops list
# 4. Route a natural language security task to the optimal specialist
python3 -m cops route "Optimize Sentinel KQL query for high-volume sign-in events"
# 5. Run a safe, offline demonstration with synthetic data
python3 -m cops demo sentinel-hunt-workbench
# 6. Run the plugin's deterministic verification suite
python3 -m cops check sentinel-hunt-workbench
Read the full Getting Started Guide for detailed step-by-step instructions.
Cybersecurity Capability Domains
COPS organizes 25 dedicated security plugins across seven cybersecurity disciplines:
📡 Logging & Telemetry
Audit codebases for security logging gaps, flag sensitive data leaks, and verify end-to-end pipeline routes from Cribl to Splunk and Sentinel.
Plugins:
- Security Logging Advisor Stable
- Telemetry Proof Pack Beta
🔍 Detection & Hunting
Guide SOC alert triage with rival hypotheses, stress-test 12 Microsoft Sentinel KQL hunts, trace cloud lateral movement paths, and enrich indicators.
Plugins:
- SOC Investigation Beta
- Sentinel Hunt Beta
- Attack Path Experimental
- Detection Quality Beta
- Threat Intelligence Experimental
🔑 Identity & Access
Audit Microsoft Entra ID exports, map scoped Active Directory relationships, and plan secrets remediation from redacted imported evidence.
Plugins:
- Entra Identity Workbench Beta
- AD Assessment Workbench Experimental
- Secrets Remediation Workbench Experimental
🛡️ Vulnerability Management
Correlate advisory CVEs with SBOM and call-graph evidence, inspect pull request diffs, and assess imported cloud, supply-chain, segmentation, and TLS artifacts offline.
Plugins:
- Exposure Triage Beta
- Exploit Validation Workbench Experimental
- Patch Security Review Beta
- Cloud Posture Workbench Experimental
- Supply Chain and CI/CD Workbench Experimental
- Network Segmentation Workbench Experimental
- TLS and Cryptography Workbench Experimental
⚔️ Offensive Security
Plan bounded reviews, reconcile approved Kubernetes context, classify imported host observations, validate engagement scope, evaluate prompt-injection resistance, and assess imported web/API artifacts.
Plugins:
- Attack Surface Planner Experimental
- Kubernetes Assessment Workbench Experimental
- Host Assessment Workbench Experimental
- Offensive Engagement Workbench Experimental
- Foundry Agent Harness Beta
- Web and API Assessment Workbench Experimental
🚨 Incident Response
Rehearse containment playbooks, calculate cloud resource blast radius, and generate cryptographic execution receipts under interactive operator approval.
Plugins:
- Incident Response Sandbox Experimental
📋 Governance & Compliance
Map dated imported evidence to control frameworks and preserve supported, missing, stale, and unknown states. Fixture results do not establish operating effectiveness.
Plugins:
- Compliance Posture Workbench Experimental
For a side-by-side comparison of problem statements and operational playbooks, see When to Use Each Plugin.
Run a checked example from the plugin workflow index, or follow Investigate possible malicious access through malicious, benign, and insufficient-evidence cases.
27 Specialist Agent Profiles & Dynamic Routing
COPS centralizes 27 callable specialist profiles housed in agents/ across offensive, defensive, forensics, identity, and governance domains. The additions are cops-api-security-specialist, cops-cloud-posture-specialist, cops-network-segmentation-specialist, cops-secrets-remediation-specialist, cops-supply-chain-specialist, and cops-tls-crypto-specialist.
flowchart LR
TASK["Incoming Security Task"] --> ROUTER["Deterministic Router<br/>cops route"]
ROUTER --> SPEC["27 Specialist Profiles"]
SPEC --> OFF["Offensive Security<br/>Pentest, Red Team, AI Red Team"]
SPEC --> DEF["Defensive & Detection<br/>Sentinel KQL, Threat Hunter, SOC"]
SPEC --> DFIR["Incident Response & Forensics<br/>Blast Radius, Collector, Malware"]
SPEC --> IAM["Identity & AppSec<br/>Entra ID, AD, Exposure, Code Review"]
SPEC --> GOV["Governance & Efficacy<br/>Purple Team, Logging Architect"]
For high-risk requests, the router proposes a Triad Orchestration plan with a Primary Specialist, Domain Skeptic, and Evidence Auditor. The proposal does not start agents. Execution requires separately validated concrete actions, scope, and authorization.
Learn more in the Specialist Agents Guide.
Documentation Quick Links
- 5-Minute Quickstart Guide: Installation, diagnostics, and running your first demo.
- Plugin Selection Guide: Clear criteria on when to reach for each plugin.
- 27 Specialist Agents: Agent catalog, clarification, optional classifier routing, and Triad safety.
- ATT&CK Matrix (v18.0): Mappings and validation state across all capabilities.
- Universal Portability: Multi-assistant sync architecture.
- Contributor Guide: Development environment setup, adding plugins, and test gates.
- Troubleshooting: Step-by-step solutions for common setup issues.
- Security Model: Threat modeling, prompt injection resistance, and readiness modes.
- Authenticated Execution: Verifier trust-store setup, one-time approval consumption, migration, and key rotation.
- Service Validation Playbook: Seven-family routing, provider gates, independent evidence, and the disposable loopback lab.
- Engagement Contracts Specification: Schema contracts for engagements, scenarios, action plans, and findings.
- Offline Engagement Reporting: Build scoped JSON and Markdown assessments from local contracts and evidence.
- Engagement Findings and Reporting Specification: Assessment labels, evidence joins, and trust limits.
- Execution Authorization Specification: Cryptographically bound approval envelopes and legacy receipt rejection.
- Isolated Worker and Approval Store Specification: Verifier inputs, worker capability attestation, SQLite approval state, and anti-replay execution.
- Execution Scope & Egress Specification: Execution-time destination verification, cloud metadata defense, and DNS pinning.
- Tool Adapter Registry Specification: Declarative typed parameters, command assembly, and parameter injection prevention.
- Credential and Evidence Handling Specification: Operation-scoped credential resolution, fail-closed redaction, validated execution evidence, and storage/retention boundaries.
- Execution Recovery and Cleanup Specification: Ownership-aware side-effect ledgers, cancellation resilience, non-idempotent handling, and verifiable cleanup receipts.
- Pinned Scenario Registry: Pinned research sources and canonical scenario registry.
- Historical Protocol Topic Reconciliation: Pinned 70-topic coverage, environment limits, and legacy model evidence boundaries.
- Capability Reconciliation: Operational readiness taxonomy and truth-in-advertising invariants.