/engineering-advanced-skills:senior-securityfrom engineering-advanced-skills
Performs STRIDE threat modeling with DREAD risk scoring, secure architecture design with Zero Trust principles, OWASP Top 10 code reviews, and secret scanning across 20+ credential patterns.
Ships in engineering-advanced-skills. 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.
Read when SKILL.md points to them; scripts run unread.
The agent performs STRIDE threat analysis with DREAD risk scoring, designs defense-in-depth security architectures with Zero Trust principles, conducts secure code reviews against OWASP Top 10, and scans codebases for hardcoded secrets across 20+ credential patterns.
secret_scanner.py finds 20+ credential patterns (AWS/GCP/Azure, GitHub/Slack/Stripe, private keys); CI/CD-ready exit codes.Routing: operational scanning, CVE triage and compliance evidence belong to senior-secops;
auditing a third-party skill before installing it belongs to skill-security-auditor. This
skill is for designing and reviewing your own system.
Before the threat model or scan, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--design), otherwise the component type (--component).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
| Tool | Purpose | Example (runs as written) |
|---|---|---|
threat_modeler.py --design | Derive STRIDE threats per data flow from a JSON model: missing authentication, encryption, validation, rate limiting, logging or least privilege; sensitive data raises severity | python scripts/threat_modeler.py --design assets/sample_design_flawed.json |
threat_modeler.py --component | Generic STRIDE checklist for a component type (same output for any design: use it as a prompt list, not as the model) | python scripts/threat_modeler.py --component "API Gateway" --json |
secret_scanner.py | Hardcoded secrets across 20+ patterns (--severity, --format text/json, -o, --list-patterns) | python scripts/secret_scanner.py assets/sample_secrets_flawed.js |
Design file format: {"name": ..., "flows": [{"from", "to", "data", "crosses_boundary", "authenticated", "encrypted", "validated", "rate_limited", "logged", "least_privilege"}]}.
Flags you leave out are reported as "Unspecified controls" rather than guessed.
Exit codes: 0 nothing High/Critical (--design) or no critical/high secret; 1 the design
has High/Critical threats or a critical/high secret was found; 2 bad input (missing or
invalid file or path). Samples: sample_design_flawed.json exits 1 (an unauthenticated,
unencrypted internal payment hop), sample_design_sound.json exits 0;
sample_secrets_flawed.js (Amazon's documentation example key and a literal password)
exits 1, sample_secrets_clean.js exits 0.
Load the reference that matches the task — keep this file lean and pull detail on demand:
threat_modeler.py and secret_scanner.py. Read when running the bundled scripts.This skill covers:
This skill does NOT cover:
| Skill | Integration | Data Flow |
|---|---|---|
| senior-devops | CI/CD pipeline security gates | Threat model mitigations feed into pipeline hardening requirements; secret scanner runs as a pre-commit or CI step |
| senior-secops | Security monitoring and incident response | Threat model outputs define detection rules; incident severity levels align with SecOps alerting tiers |
| senior-backend | Secure API development | Secure code review checklist applied to backend PRs; authentication pattern selection guides API auth implementation |
| senior-architect | Security architecture decisions | Defense-in-depth layers and Zero Trust principles inform architecture design reviews; STRIDE results feed architecture risk register |
| senior-qa | Security testing integration | Vulnerability assessment findings become QA regression test cases; OWASP Top 10 mapping drives security test coverage |
| ra-qm-team | Compliance framework alignment | Security controls mapped to SOC 2, PCI-DSS, and HIPAA requirements; threat model documentation satisfies audit evidence needs |
Mistake: Listing generic STRIDE threats for "the API" and calling it a threat model.
Why it happens: Checklists are quick and look complete.
Instead: Draw the flows and trust boundaries first, then ask what each flow lacks. --design makes that explicit; --component is only a prompt list.
Mistake: Leaving service-to-service calls unauthenticated and unencrypted because they are "inside". Why it happens: The perimeter feels like a boundary. Instead: Treat every hop between services as a trust boundary (Zero Trust): mutual authentication and TLS internally too. The flawed sample shows the resulting Critical findings.
Mistake: Deleting a committed key from the file and moving on. Why it happens: The scanner goes quiet once the line is gone. Instead: The key is in git history and possibly in clones and CI logs. Revoke and rotate it first, then remove it from history if policy requires.
| File | Purpose |
|---|---|
scripts/threat_modeler.py | Design-driven STRIDE analysis and component checklists with DREAD scoring |
scripts/secret_scanner.py | Hardcoded secret detection |
assets/sample_design_flawed.json, sample_design_sound.json | Data-flow models (exit 1 / exit 0) |
assets/sample_secrets_flawed.js, sample_secrets_clean.js | Secret-scanner fixtures (exit 1 / exit 0) |
references/*.md | Workflows, threat-modeling guide, architecture patterns, cryptography, tool reference |
assets/sample_design_flawed.json (opens in a new tab)assets/sample_design_sound.json (opens in a new tab)assets/sample_secrets_clean.js (opens in a new tab)assets/sample_secrets_flawed.js (opens in a new tab)references/cryptography-implementation.md (opens in a new tab)references/security-architecture-patterns.md (opens in a new tab)references/security-workflows.md (opens in a new tab)references/threat-modeling-guide.md (opens in a new tab)references/tool-reference.md (opens in a new tab)scripts/secret_scanner.py (opens in a new tab)scripts/threat_modeler.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job