/everything-copilot-cli:security-auditfrom everything-copilot-cli
Performs a formal security audit using OWASP Top 10 and STRIDE threat modeling from a CSO perspective. Covers access control, injection, crypto failures, secrets scanning, and more.
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.
A structured security review workflow inspired by gstack's /cso role. Treat every
audit as if you are the Chief Security Officer: adversarial, systematic, and unapologetic
about raising issues.
This skill is distinct from the security-scan development skill — it covers full
threat modeling, not just code-level checks.
Copilot will systematically check each OWASP category:
> Perform an OWASP Top 10 audit on this codebase. For each category:
> 1. Check if the application is potentially vulnerable
> 2. Find specific code locations if vulnerable
> 3. Recommend a fix
> 4. Rate severity: Critical / High / Medium / Low
OWASP categories to cover:
For each major component (API endpoint, service, data store):
> Apply STRIDE threat modeling to the [component]. For each threat type,
> describe the attack vector, assess likelihood (1-5), assess impact (1-5),
> and recommend a mitigation.
| Threat | Question |
|---|---|
| Spoofing | Can an attacker impersonate a user or service? |
| Tampering | Can data be modified in transit or at rest? |
| Repudiation | Can an actor deny performing an action? |
| Information Disclosure | Can sensitive data be exposed unintentionally? |
| Denial of Service | Can the system be made unavailable? |
| Elevation of Privilege | Can a low-privilege user gain higher access? |
> Scan the codebase for hardcoded secrets, API keys, passwords, and tokens.
> Include config files, environment examples, and test fixtures.
Check these patterns:
.env.example files with real values.git log for accidentally committed secrets)> Audit our dependencies for known CVEs. Run npm audit / pip-audit /
> bundler-audit and summarize critical and high severity issues.
> Review the authentication and session management implementation:
> - Token expiration and refresh logic
> - Password hashing (bcrypt/argon2, not MD5/SHA1)
> - Session fixation and hijacking prevention
> - OAuth/OIDC implementation correctness
> - MFA implementation
# 0. Ask before you scan
> Before auditing, ask what the workload must satisfy: data sensitivity, regulatory or
> privacy obligations, who owns which layer (your code vs. the platform vs. a vendor),
> accepted exceptions, and how the team currently proves its controls work.
# 1. Get the lay of the land
> Map the attack surface: list all public API endpoints, auth endpoints,
> file upload handlers, and external service integrations.
# 2. OWASP sweep
> Perform an OWASP Top 10 audit. Start with A01-A03 (highest frequency).
# 3. Threat model critical paths
> Apply STRIDE to our authentication flow and payment processing.
# 4. Secrets scan
> Scan for hardcoded secrets and credentials.
# 5. Dependency check
npm audit --audit-level=high
# 6. Generate report
> Generate a security audit report with:
> - Executive summary (3 sentences)
> - Critical findings (must fix before launch)
> - High findings (fix within 2 weeks)
> - Medium/Low findings (backlog)
> - Recommended next steps
The checklists find defects; the principles explain why the defect class keeps recurring. Tag each critical or high finding with the principle it violates, so the fix targets the process and not only the line:
| Principle | Ask of each finding |
|---|---|
| Security by design | Was a security requirement written down before the code? |
| Zero trust | Was access granted by location or prior trust instead of verified each time? |
| Shift-left | Could a pre-commit, CI, or review check have caught it earlier? |
| Compliance and privacy | Does it break a stated obligation, not only a best practice? |
| Shared responsibility | Is this layer ours to fix, or the platform's or a vendor's? |
A cluster of findings under one principle points to a gap in the development process worth its own
follow-up. A finding that fits none of these five is unclassified, not necessarily a one-off — this
is a shortened list. Principles adapted from the Security pillar in google/skills
google-cloud-waf-security (Apache-2.0), without the Google Cloud product guidance.
Request a structured report:
> Format the audit findings as a Markdown table:
> | Finding | Category | Severity | Location | Recommended Fix |
| Skill | Scope | When |
|---|---|---|
| security-audit (this skill) | Full threat model: OWASP + STRIDE + auth + deps. Strategic/CSO view. | Pre-launch, quarterly, new auth feature |
security-scan | Code-level grep patterns + npm audit. Quick tactical scan. | Before every PR, CI integration |
evaluate-repository | Repository-wide 7-dimension scorecard (secrets, deps, input validation, auth, error handling, supply chain, AI agent governance). | Onboarding to unknown codebase |
Run security-scan every PR. Run security-audit every sprint or release. Run evaluate-repository once on unfamiliar codebases.
security-scan — Quick code-level vulnerability scan (OWASP grep + STRIDE per feature)evaluate-repository — Full repo security scorecardpr-multi-perspective-review — Security Lens in PR reviewssecret-detection — Dedicated secret and credential scanningWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
security-audit, threat-modeling, owasp-top-10, stride, secrets-scan
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