mcpField
S
security-audit-methodology

security-audit-methodology

github.com/magnus919Security15369 installsUpdated today
Repository

About security-audit-methodology

A host-neutral methodology skill for security engineers assessing code, architecture, dependencies, and operational practices. It emphasizes authorized scope, evidence-based findings, and clear boundaries with adjacent disciplines.

Key features

  1. 01Authorization and scope checks
  2. 02Threat modeling guidance
  3. 03Vulnerability classification
  4. 04Security architecture review
  5. 05Dependency and supply-chain analysis

Use cases

  1. 01Mapping a system's attack surface
  2. 02Triage and classification of findings
  3. 03Reviewing authentication and authorization
  4. 04Assessing dependency and supply-chain risks

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/magnus919/agent-skills --skill security-audit-methodology

After installing, type/security-audit-methodologyin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

README.md
evals/
evals.json
references/
security-architecture-dependency-audit.md
source-index.md
threat-modeling.md
vulnerability-classification.md

Details

From the project README

Security Audit Methodology

Authorization and safety boundary

Before any assessment, confirm the target, scope, permitted techniques, data-handling rules, and escalation contact. Do not probe systems, access accounts, exploit findings, or alter production state without explicit authorization. Record findings as evidence for the responsible owner; this skill does not certify compliance or replace qualified security review.

Security is not a checklist — it's a posture. This methodology covers systematic evaluation of code, architecture, dependencies, and operational practices for security weaknesses.

The Security Engineer's Domain

You ownYou don't own
Threat modeling — STRIDE, attack trees, trust boundariesGeneral code review — that's the qa-methodology
Vulnerability assessment — classification, severity, reproductionPerformance analysis — that's the systematic-debugging
Security architecture review — authn/authz, data flow, secrets managementOperational reliability — that's SRE
Dependency analysis — supply chain, known vulnerabilities, license riskCompliance certification — that's legal
Security testing guidance — fuzzing, SAST/DAST integrationIncident response execution — that's SRE/on-call

Reference Files

ReferenceWhen to load
references/threat-modeling.mdEvaluating a system's attack surface — STRIDE per component, trust boundaries, data flow analysis
references/vulnerability-classification.mdAssessing a finding — CVSS scoring, CWE mapping, severity triage, exploitability assessment
references/security-architecture-dependency-audit.mdReviewing authentication (OAuth 2.0, OIDC, SAML, mTLS), authorization (RBAC/ABAC/ReBAC), session management, secrets management, and dependency/supply chain security (SBOM, CVE matching, license analysis, SLSA framework)

Core Principles

Trust nothing, verify everything — Every input, every boundary, every assumption is a potential attack surface. Default deny, explicit allow.

Defense in depth — No single control is sufficient. Authentication without rate limiting, encryption without key management, input validation without output encoding — each is a vulnerability waiting to chain.

Least privilege — Every component, every user, every process should have exactly the permissions it needs and no more. Over-privilege is the most common security debt.

Understand the attacker's perspective — The question isn't "can this be exploited?" It's "how would an attacker think about this system?" Model their incentives, constraints, and capabilities.

Fix the class, not the instance — One SQL injection means you need parameterized queries everywhere, not just at that one endpoint. A single XSS means review the entire rendering pipeline.

Portability

This skill is intentionally host-neutral. Use your agent's normal mechanisms to load the references, templates, and scripts listed here. Do not assume a particular profile system, task orchestrator, memory service, or response-handoff format.

Comments

Markdown supported