/everything-copilot-cli:evaluate-repositoryfrom everything-copilot-cli
Scores a codebase across 7 security dimensions (secrets, dependencies, input validation, auth, error handling, supply chain, AI agent governance) and produces a prioritized remediation plan. Use before merging forks, deploying, onboarding projects, or granting agent autonomy.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
gh CLI or Copilot GitHub MCP for fetching issue/PR history (optional, enriches results)# Confirm what's being evaluated
git --no-pager log --oneline -10
git --no-pager tag --sort=-creatordate | Select-Object -First 5
# Find sensitive file categories
git ls-files | Where-Object { $_ -match '\.(env|pem|key|p12|pfx|secret)$' }
git ls-files | Where-Object { $_ -match '(secret|credential|password|token)' -and $_ -notmatch 'test|spec|mock' }
For each dimension below, assign a score and list specific findings:
# Scan for hardcoded secrets patterns
git --no-pager grep -in "password\s*=\s*['\"][^'\"]" -- "*.ts" "*.js" "*.py" "*.go"
git --no-pager grep -in "api_key\s*=\s*['\"][^'\"]"
git --no-pager grep -in "secret\s*=\s*['\"][^'\"]"
# Check .gitignore covers sensitive files
Get-Content .gitignore | Select-String "\.env|\.pem|\.key|secret"
Red flags (score → 1–3):
.env or .pem files committed (not in .gitignore)# Node.js
npm audit --audit-level=high 2>&1 | Select-Object -Last 20
# Python
pip-audit 2>&1 | Select-Object -Last 10
# Check for very outdated dependencies
npm outdated 2>&1 | Select-Object -First 20
Red flags (score → 1–3):
# SQL injection patterns
git --no-pager grep -n "query.*\+.*req\." -- "*.ts" "*.js" "*.py"
git --no-pager grep -n "execute.*f'" -- "*.py"
# Command injection
git --no-pager grep -n "exec.*req\.\|spawn.*req\.\|shell.*true" -- "*.js" "*.ts"
# Unsanitized template literals in queries
git --no-pager grep -n '\$\{.*req\.' -- "*.ts" "*.js"
Red flags (score → 1–3):
exec(), eval(), or shell# Find auth-related files
git ls-files | Where-Object { $_ -match 'auth|login|token|session|jwt' }
# Check for auth bypass patterns
git --no-pager grep -n "skipAuth\|bypassAuth\|noAuth\|TODO.*auth" -- "*.ts" "*.js" "*.py"
# Verify token expiration
git --no-pager grep -n "expiresIn\|exp\s*:" -- "*.ts" "*.js"
Red flags (score → 1–3):
expiresIn missing)# Check for stack trace exposure in API responses
git --no-pager grep -n "error\.stack\|err\.stack" -- "*.ts" "*.js" | Where-Object { $_ -notmatch 'test|spec|log' }
# Overly broad catch blocks that swallow errors
git --no-pager grep -n "catch.*\{\s*\}" -- "*.ts" "*.js"
# console.log with sensitive data
git --no-pager grep -n "console\.log.*password\|console\.log.*token\|console\.log.*secret" -- "*.ts" "*.js"
Red flags (score → 1–3):
# Check CI/CD pipeline for secret handling
Get-ChildItem .github/workflows -ErrorAction SilentlyContinue | Get-Content |
Select-String "secrets\." | Select-Object -First 10
# Check for pinned dependencies (reduces supply chain risk)
Get-Content package.json | ConvertFrom-Json | Select-Object -ExpandProperty dependencies
# Check for SECURITY.md / responsible disclosure policy
Test-Path SECURITY.md
Test-Path .github/SECURITY.md
Red flags (score → 1–3):
SECURITY.md or security disclosure policy"*" or "latest") for production deps# Check whether this repository actually exposes agent / LLM surfaces
git ls-files | Where-Object { $_ -match 'agent|llm|mcp|openai|anthropic|claude|langchain|gpt|gemini|codex|vertex|bedrock|ollama|litellm' }
# Look for resource limits and execution bounds
git --no-pager grep -n "maxTokens\|max_tokens\|timeout\|rate_limit\|maxRetries" -- "*.ts" "*.js" "*.py"
# Look for tool access controls or allowlists
git --no-pager grep -n "allowedTools\|toolWhitelist\|allowlist\|tool_guard" -- "*.ts" "*.js" "*.py"
# Check maintainer-controlled agent instructions and MCP configs
git ls-files | Where-Object {
$_ -match '(^|/)(AGENTS\.md|CLAUDE\.md|GEMINI\.md|SKILL\.md|\.mcp\.json|mcp-config\.json)$'
}
# Check whether untrusted GitHub event text can reach automation paths
git --no-pager grep -n "issue_comment\|pull_request\|pull_request_target\|workflow_run\|repository_dispatch" -- ".github/workflows/*.yml" ".github/workflows/*.yaml"
# Check whether prior agent runs leave reviewable traces or artifacts
git ls-files | Where-Object { $_ -match '(^|/)(runs|traces|artifacts)/' }
Use this dimension only when the repo actually contains agentic behavior. If no such
surface exists, mark the dimension N/A and exclude it from the average.
Red flags (score → 1–3):
Readiness evidence to collect before enabling automation broadly:
AGENTS.md, SKILL.md, MCP config)Compound-risk check: If the same agent path can access sensitive data, ingest untrusted content, and trigger outbound communication or tool execution, treat Dimension 7 as a top-priority governance risk until explicit trust boundaries, approval gates, and reviewable traces are in place.
╔══════════════════════════╦═══════╦══════════════════════════════════════════╗
║ Dimension ║ Score ║ Key Finding ║
╠══════════════════════════╬═══════╬══════════════════════════════════════════╣
║ Secrets & Credentials ║ 7/10 ║ .env.example checked in, no actuals ║
║ Dependency Security ║ 5/10 ║ 2 high CVEs in express-validator 5.x ║
║ Input Validation ║ 8/10 ║ Zod validation on all routes ║
║ Auth & Authorization ║ 6/10 ║ JWT has no expiration set ║
║ Error Handling ║ 9/10 ║ Custom error handler hides stack traces ║
║ Supply Chain & Config ║ 7/10 ║ No SECURITY.md present ║
║ AI Agent Governance ║ N/A ║ No agent or LLM execution surface found ║
╠══════════════════════════╬═══════╬══════════════════════════════════════════╣
║ OVERALL ║ 7/10 ║ Exclude N/A dimensions from the average ║
╚══════════════════════════╩═══════╩══════════════════════════════════════════╝
P0 (Block deployment):
P1 (Fix before next release):
P2 (Fix in next sprint):
security-scan: security-scan checks your own code; evaluate-repository assesses third-party code you're adoptingnpm install: dependency graph changes on every installsecurity-scan — automated scan of your own codebasecode-reviewer — full code quality review agentWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job