跳到正文
Skillpedia
安全29k · #9518

senior-security

它能做什么

这项技能让智能体使用 STRIDE 和 DREAD 方法为系统梳理威胁,并把其他安全任务导向合适的专业技能。适合设计新系统或在发布前审查系统的工程师。

适用场景

  • ✓当你在设计新系统、想尽早找出其中的威胁的时候。
  • ✓当你需要用 DREAD 按严重程度为威胁打分时。
  • ✓当你需要快速扫描可能已提交到代码中的密钥的时候。

技能链接

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/senior-security/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/senior-security/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请用 STRIDE 为我们的新支付服务建立威胁模型,并用 DREAD 为主要威胁打分。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会按类别识别威胁,用 DREAD 为其打分,并运行快速的密钥扫描。对于其他安全主题,它会把你导向更专业的技能。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Senior Security Engineer — Threat Modeling + Security Router

This skill does exactly one job itself — STRIDE/DREAD threat modeling (plus a quick secret scan) — and routes every other security request to the specialist skill that owns that lane. Do not duplicate sibling content here; route instead.

Routing Table (read this first)

The user wants... Route to Why that skill owns it
Vulnerability assessment, pen-test methodology, OWASP Top 10 testing ../security-pen-testing/ Ships vulnerability_scanner.py + dependency_auditor.py with exit-code contracts
Incident triage, SEV classification, forensics, containment ../incident-response/ SEV1–SEV4 taxonomy, NIST SP 800-61 phases, incident_triage.py
Production outage command (non-security incidents) ../incident-commander/ Severity classifier + timeline + postmortem tools
Security monitoring, CVE triage SLAs, compliance checks (SOC 2 etc.), security headers ../senior-secops/ security_scanner.py + compliance_checker.py, CVE SLA table
Hostile/adversarial code review ../adversarial-reviewer/ 3-persona review with BLOCK/CONCERNS/CLEAN verdict
Secure code review as part of general review ../code-reviewer/ Language dispatch + regression fixtures
Cloud IAM escalation paths, S3 exposure, security groups ../cloud-security/ cloud_posture_check.py with per-check exit codes
Threat hunting, IOC sweeps, anomaly detection ../threat-detection/ z-score anomaly + IOC staleness tooling
Red-team engagement planning, ATT&CK kill chains ../red-team/ engagement_planner.py with authorization gate
LLM/AI attack surface (prompt injection, poisoning) ../ai-security/ ATLAS-mapped ai_threat_scanner.py

If the request spans lanes (e.g., "secure this new architecture"), do the threat model here first — its output (prioritized threats + mitigations) tells you which siblings to load next. Never bulk-load multiple security skills speculatively.

What This Skill Owns: STRIDE Threat Modeling

Workflow

  1. Scope: assets to protect, trust boundaries, data flows (external entities, processes, data stores, flows).
  2. Generate the threat model per component:
    python3 scripts/threat_modeler.py --component "User Authentication" --assets "credentials,sessions" --json --output threats.json
    
    Output: per-threat STRIDE category, DREAD score (Damage, Reproducibility, Exploitability, Affected users, Discoverability — each 1–10), and suggested mitigations. Repeat per DFD element; --interactive walks scoping questions; --list-threats shows the threat database.
  3. Consume the output: sort threats.json by DREAD score descending; everything ≥ 7 average needs a named mitigation owner before the design ships. Map each mitigation to the responsible sibling lane (e.g., IAM threats → cloud-security, injection threats → code-reviewer).
  4. Quick secret sweep while you have the codebase open:
    python3 scripts/secret_scanner.py /path/to/project --format json --severity high
    
    20+ patterns (AWS keys, GitHub tokens, private keys, generic credentials). Any critical/high finding blocks merge until rotated and moved to a secret manager.
  5. Verification gate: every DFD element has ≥ 1 STRIDE row considered, every threat with DREAD ≥ 7 has an owner + mitigation, and the secret scan exits with zero high/critical findings. Re-run both tools after mitigations land — that re-run is the done signal, not the document.

STRIDE per Element Matrix

DFD Element S T R I D E
External Entity X X
Process X X X X X X
Data Store X X X X
Data Flow X X X

(S=Spoofing→authn, T=Tampering→integrity, R=Repudiation→audit logs, I=Info Disclosure→encryption/access control, D=DoS→rate limiting/redundancy, E=Elevation→least privilege.)

References (load on demand)

Document Content
references/threat-modeling-guide.md STRIDE methodology, attack trees, DREAD scoring, DFD creation
references/security-architecture-patterns.md Zero Trust, defense-in-depth, authentication patterns, API security
references/cryptography-implementation.md AES-GCM, Ed25519, pa
常见问题

什么是 STRIDE?

一种按类别发现威胁的方法,类别包括欺骗、篡改和信息泄露等。

DREAD 有什么作用?

它为每个威胁打分,帮你决定先修复哪一个。

它也处理事件响应吗?

不处理。事件响应和渗透测试会被导向各自的技能。

详情

作者的原始描述

Use for STRIDE threat modeling, DREAD scoring or a quick secret scan, or to route a security request to the right specialist. Models threats with threat_modeler.py and scans with secret_scanner.py.

repo: alirezarezvani/claude-skills

热度

GitHub 星标
29k
排名
#9518
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能