senior-security

Generates STRIDE threat models with DREAD scoring and scans codebases for hardcoded secrets.

2|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/BryanPinheiro77/FinanceBot-BackEnd --skill senior-security-bryanpinheiro77
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: senior-security
Source: https://github.com/BryanPinheiro77/FinanceBot-BackEnd/tree/main/.agents/skills/senior-security
Command: npx skills add https://github.com/BryanPinheiro77/FinanceBot-BackEnd --skill senior-security-bryanpinheiro77

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Security reviews often stall because threat modeling is manual and inconsistent, and hardcoded credentials slip into repositories unnoticed. This Skill produces structured STRIDE threat models with DREAD risk scores for any system component and runs a pattern-based secret scan, while routing specialized security requests (pen-testing, incident response, cloud posture, red team, AI security) to the correct sibling skill. ## Core Features & Use Cases - STRIDE Threat Modeling: Generates per-component threat reports with STRIDE categories, DREAD scores, and mitigations via scripts/threat_modeler.py, with JSON output and an interactive scoping mode. - Secret Scanning: Detects 20+ secret patterns (AWS keys, GitHub tokens, private keys, database connection strings) via scripts/secret_scanner.py, exiting non-zero on critical or high findings. - Security Routing: Directs requests outside threat modeling — vulnerability assessment, incident triage, compliance checks, adversarial review — to the specialist skill that owns that lane. - Use Case: Before shipping a new authentication service, run the threat modeler on the component, sort threats by DREAD score, assign owners for anything scoring 7 or above, then run the secret scan to confirm no credentials are committed. ## Quick Start Ask the assistant to threat-model the user authentication component and scan the repository for exposed secrets before the next release.

Frequently Asked Questions about senior-security

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

FAQPage Schema
How do I run a STRIDE threat model on a system component?▼

Run threat_modeler.py with the --component flag, for example --component "User Authentication". It maps the component to threat categories, outputs STRIDE threats with DREAD scores and mitigations, and supports --json, --interactive, and --list-threats modes.

How do I scan a codebase for hardcoded secrets and API keys?▼

Run secret_scanner.py against a file or directory path. It checks 20+ regex patterns covering AWS keys, GitHub tokens, private keys, and database connection strings, and exits with code 1 when critical or high severity findings exist.

What is DREAD scoring and how is it calculated?▼

DREAD rates each threat on Damage, Reproducibility, Exploitability, Affected users, and Discoverability, each from 1 to 10. The average of the five factors gives the risk score; threats averaging 7 or above need a named mitigation owner before the design ships.

Does this skill handle penetration testing or incident response?▼

No. This skill owns only threat modeling and secret scanning. Pen-testing, incident triage, cloud posture checks, red-team planning, and AI security are routed to dedicated sibling skills listed in its routing table.

What are the limitations of the built-in threat database?▼

The threat database covers authentication, API, database, network, and storage categories with predefined threats. Components not matching these mappings return all threats, so highly specialized systems may need manual threat identification beyond the built-in catalog.