senior-security

Analyze threats, scan for secrets, and design secure architectures using STRIDE and OWASP.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill senior-security-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: senior-security
Source: https://github.com/Tgoldi/claude-skills/tree/main/senior-security
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill senior-security-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Security work like threat modeling, vulnerability assessment, and secret detection is often skipped or done inconsistently because it requires deep expertise and structured methodology. This Skill provides repeatable workflows for threat modeling, secure code review, incident response, and cryptography implementation. ## Core Features & Use Cases - Threat Modeling: Apply STRIDE analysis to data flow diagrams with DREAD risk scoring and mitigation mapping. - Secret Scanning: Run the included secret_scanner.py script to detect hardcoded AWS keys, GitHub tokens, private keys, and passwords across 20+ patterns. - Secure Architecture & Crypto Guidance: Reference guides cover Zero Trust, defense-in-depth, OAuth 2.0 + PKCE, AES-256-GCM, Argon2id password hashing, and key management. - Use Case: Before shipping a new API, run a STRIDE threat model on its components, scan the repository for leaked credentials, and review authentication code against the OWASP Top 10 checklist. ## Quick Start Ask the assistant to conduct a STRIDE threat model of your authentication service and scan the project directory for hardcoded secrets.

Frequently Asked Questions about senior-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I conduct a STRIDE threat model?

Build a data flow diagram with external entities, processes, data stores, and data flows, then apply the six STRIDE categories to each element. Score each threat with DREAD and map mitigations such as MFA for spoofing or encryption for information disclosure.

How do I scan code for hardcoded secrets and API keys?

Run the included secret_scanner.py script against a file or directory to detect AWS keys, GitHub tokens, private keys, and passwords across 20+ regex patterns. It outputs text or JSON reports and exits with code 1 when critical or high severity findings exist.

What is the difference between STRIDE and DREAD?

STRIDE categorizes threats by type (spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege). DREAD scores each identified threat numerically across damage, reproducibility, exploitability, affected users, and discoverability to prioritize remediation.

Which password hashing algorithm should I use?

Use Argon2id with OWASP-recommended parameters (64 MB memory, 3 iterations) as the first choice, with bcrypt at 12+ rounds as a widely supported alternative. Avoid MD5, SHA-1, and plain SHA-256 for password storage.

Can the secret scanner run in CI/CD pipelines?

Yes, secret_scanner.py supports JSON output via --format json and returns a non-zero exit code when critical or high severity secrets are found, making it suitable for blocking builds in CI/CD pipelines.