> 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.
34k tokens
context cost
the whole folder, loaded on every use
8
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
447
stars on the repo
on the repository, not the skill itself
Install
one command, takes just this skill from the repository
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.
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.
Clarify First
Before the threat model or scan, confirm these inputs. If any is unknown or vague, ASK — do not assume:
[ ] Target component/system — what to threat-model or scan (--component; defines the STRIDE analysis scope)
[ ] 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)
Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
| secret_scanner.py | Detect hardcoded secrets/credentials across 20+ patterns (CI/CD-ready exit codes) | python scripts/secret_scanner.py /path/to/project --severity high |
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.
references/security-architecture-patterns.md — Zero Trust, defense-in-depth, authentication patterns (OAuth/PKCE, JWT, MFA), API security, data protection, secret management. Read when designing secure architecture.
references/cryptography-implementation.md — AES-GCM, ChaCha20, RSA, Ed25519, password hashing (Argon2/bcrypt), HMAC, key management/rotation, HSM integration, common crypto mistakes. Read when implementing or reviewing cryptography.
references/tool-reference.md — full flag tables, usage examples, and output formats for threat_modeler.py and secret_scanner.py. Read when running the bundled scripts.
Scope & Limitations
This skill covers:
Application-level security: threat modeling, secure code review, secret detection, and vulnerability assessment for web applications and APIs.
Security architecture design: defense-in-depth layering, Zero Trust patterns, authentication/authorization model selection, and encryption strategy.
Compliance mapping: OWASP ASVS, CIS Benchmarks, NIST CSF, PCI-DSS, HIPAA, and SOC 2 alignment at the application layer.
This skill does NOT cover:
Infrastructure and cloud security hardening (see senior-devops and aws-solution-architect).
Runtime security monitoring, SIEM rule authoring, and SOC operations (see senior-secops).
Full regulatory compliance programs, audit evidence collection, and certification processes (see ra-qm-team).
Network penetration testing tooling, red team operations, and physical security assessments.
Integration Points
| 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 |