senior-security
БесплатноЗапускает вложенные скриптыНе проверенSTRIDE threat modeling, DREAD risk scoring, secret detection, and secure architecture design. Use when conducting threat models, reviewing code for…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Senior Security Engineer
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.
Core Capabilities
- Threat modeling — STRIDE per-element analysis, DREAD risk scoring, DFD creation, attack trees, and mitigation mapping.
- Security architecture — defense-in-depth layering, Zero Trust, authentication pattern selection (OAuth/OIDC, JWT, mTLS, FIDO2), and encryption strategy.
- Vulnerability assessment — automated (SAST/DAST/dependency/secret) plus manual testing, OWASP Top 10 mapping, severity classification, and remediation tracking.
- Secure code review — auth/authz, data handling, and crypto review with a checklist and secure-vs-insecure pattern catalog.
- Incident response — triage, containment, eradication, recovery, post-mortem, with severity tiers and runbook checklist.
- Secret detection —
secret_scanner.pyfinds 20+ credential patterns (AWS/GCP/Azure, GitHub/Slack/Stripe, private keys); CI/CD-ready exit codes. - Compliance mapping — OWASP ASVS, CIS Benchmarks, NIST CSF, PCI-DSS, HIPAA, SOC 2 at the application layer.
When to Use
- Conducting a threat model or attack-surface analysis on a system or component.
- Reviewing code for vulnerabilities before deployment.
- Designing a secure, defense-in-depth or Zero Trust architecture.
- Scanning a codebase for hardcoded secrets and credentials.
- Running a vulnerability assessment or planning incident response.
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.
Clarify First
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.
- Target component/system: what to threat-model or scan; for a real model, its data flows (
--design), otherwise the component type (--component). - Assets & trust boundaries: what is being protected and where untrusted input enters (drives DREAD scoring and mitigations).
- Task: threat model / code vuln review / secret scan / incident-response plan (selects the tool and the output).
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.
Tools Overview
| 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.
References
Load the reference that matches the task — keep this file lean and pull detail on demand:
- references/security-workflows.md — the 5 full workflows (threat modeling, security architecture, vulnerability assessment, secure code review, incident response) with all decision matrices (STRIDE, OWASP Top 10, severity, code-review checklist), the security tools catalog, compliance frameworks, security headers, anti-patterns, troubleshooting table, and success criteria. Read when executing any security workflow.
- references/threat-modeling-guide.md — STRIDE methodology, attack trees, DREAD scoring, DFD creation, threat templates. Read when building a threat model.
- **[ref
Установить senior-security в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл senior-security?
STRIDE threat modeling, DREAD risk scoring, secret detection, and secure architecture design. Use when conducting threat models, reviewing code for vulnerabilities, designing defense-in-depth, or scanning for hardcoded secrets.
Как установить скилл senior-security?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл senior-security запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic