Agent skill

Senior Security

by borghei in borghei/Claude-Skills

STRIDE threat modeling, DREAD risk scoring, secret detection, and secure architecture design.

MITAuto-check passedSecurity

Install Senior Security

skills CLI
$ npx skills add borghei/Claude-Skills --skill senior-security -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills senior-security --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/engineering/senior-security .claude/skills/senior-security && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
senior-security
GitHub stars
881
Token cost
~1.8k tokens
SKILL.md length
708 words
Files
8 (incl. scripts, references)
Skills in repo
349
Repo updated
First seen
Licence
MIT

At a glance

STRIDE threat modeling, DREAD risk scoring, secret detection, and secure architecture design.

  • Conducting threat models
  • SKILL.md covers Core Capabilities, When to Use, Clarify First and Tools, plus 3 more sections
  • Runs Python scripts from its folder; calls python
  • Reviewing code for vulnerabilities

What it does

Senior Security is an agent skill from borghei/Claude-Skills. 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.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `references/cryptography-implementation.md`, `references/security-architecture-patterns.md` and `references/security-workflows.md`).

It sits in Security, covering Threat modeling and Secure coding. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Conducting threat models
  • Reviewing code for vulnerabilities
  • Designing defense-in-depth
  • Scanning for hardcoded secrets

Example prompts

  • “/senior-security”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Senior Security loads about 1.8k tokens when it runs, and up to ~24k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 708 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~24k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 708 words, ~1,777 tokens.

Download SKILL.mdSave it as .claude/skills/senior-security/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
senior-security
description
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.
license
MIT + Commons Clause
metadata.version
1.1.0
metadata.author
borghei
metadata.category
engineering
metadata.domain
application-security
metadata.updated
2026-06-17
metadata.tags
owasp, threat-modeling, penetration-testing, application-security

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.py finds 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.

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.

Tools

ToolPurposeCommand
threat_modeler.pySTRIDE threat analysis with DREAD risk scoring and mitigation recommendationspython scripts/threat_modeler.py --component "API Gateway" --json
secret_scanner.pyDetect 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.
Show full SKILL.md (242 more words)Show less

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.
  • Incident response planning: severity classification, containment procedures, post-mortem frameworks, and runbook creation.
  • 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

SkillIntegrationData Flow
senior-devopsCI/CD pipeline security gatesThreat model mitigations feed into pipeline hardening requirements; secret scanner runs as a pre-commit or CI step
senior-secopsSecurity monitoring and incident responseThreat model outputs define detection rules; incident severity levels align with SecOps alerting tiers
senior-backendSecure API developmentSecure code review checklist applied to backend PRs; authentication pattern selection guides API auth implementation
senior-architectSecurity architecture decisionsDefense-in-depth layers and Zero Trust principles inform architecture design reviews; STRIDE results feed architecture risk register
senior-qaSecurity testing integrationVulnerability assessment findings become QA regression test cases; OWASP Top 10 mapping drives security test coverage
ra-qm-teamCompliance framework alignmentSecurity controls mapped to SOC 2, PCI-DSS, and HIPAA requirements; threat model documentation satisfies audit evidence needs

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references) in engineering/senior-security of borghei/Claude-Skills.

  • SKILL.md
  • references/cryptography-implementation.md
  • references/security-architecture-patterns.md
  • references/security-workflows.md
  • references/threat-modeling-guide.md
  • references/tool-reference.md
  • scripts/secret_scanner.py
  • scripts/threat_modeler.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

Senior Security next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Senior Security compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Senior Security this skillborghei/Claude-Skills881—~1.8kAutomated safety check: PassMIT
Security Hardeningancoleman/ai-design-components526—~3.5kAutomated safety check: PassMIT
Architecting Securityancoleman/ai-design-components526—~6.3kAutomated safety check: PassMIT
Security By DesignHack23/cia239—~1.9kAutomated safety check: PassApache-2.0
Goericrisco/rsc-harness167—~3.9kAutomated safety check: PassMIT
Security And Hardeningpenpot/penpot61k6 repos~4.7kAutomated safety check: NotesMPL-2.0

Similar skills

  • Security Hardening

    ancoleman/ai-design-components

    Reduces attack surface across OS, container, cloud, network, and database layers using CIS Benchmarks and zero-trust principles.

    526 GitHub stars~3.5k tokensUpdated 10 mo ago
    SecurityAuto-check passed
  • Architecting Security

    ancoleman/ai-design-components

    Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF, CIS Controls, ISO 27001).

    526 GitHub stars~6.3k tokensUpdated 10 mo ago
    SecurityAuto-check passed
  • Threat modeling before coding, STRIDE methodology, defense in depth, security controls in SDLC

    239 GitHub stars~1.9k tokensUpdated today
    SecurityAuto-check passed
  • Go

    ericrisco/rsc-harness

    A skill your agent uses when writing, reviewing, testing, or shipping Go code and HTTP services: idioms, %w error wrapping, goroutine/context/errgroup concurrency, net/http 1.22 routing, log/slog…

    167 GitHub stars~3.9k tokensUpdated today
    SecurityAuto-check passed
  • Hardens code against vulnerabilities. An agent skill from penpot/penpot.

    61k GitHub starsUsed in 6 repos~4.7k tokens
    SecurityAuto-check: notes
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    SecurityAuto-check passed

More from borghei/Claude-Skills

All 349 skills in this repo
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    881 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    881 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    881 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    881 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    881 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Brainstorm Okrs

    borghei/Claude-Skills

    OKR brainstorming and validation using the Radical Focus framework — outcome objectives, measurable key results, counter-metrics.

    881 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Categories

Questions about Senior Security

What does Senior Security do?

STRIDE threat modeling, DREAD risk scoring, secret detection, and secure architecture design. Senior Security is an agent skill from borghei/Claude-Skills. STRIDE threat modeling, DREAD risk scoring, secret detection, and secure architecture design.

When should I use Senior Security?

Senior Security fits situations like: conducting threat models; reviewing code for vulnerabilities; designing defense-in-depth; scanning for hardcoded secrets.

How do I install Senior Security in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill senior-security -a claude-code`. Or copy the skill folder (engineering/senior-security in borghei/Claude-Skills) into .claude/skills/senior-security in your project. Claude Code loads it when a task matches its description.

How do I install Senior Security in Codex?

Run `npx skills add borghei/Claude-Skills --skill senior-security -a codex`. Or copy the skill folder (engineering/senior-security in borghei/Claude-Skills) into .agents/skills/senior-security in your project. Codex loads it when a task matches its description.

Can I use Senior Security in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill senior-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/senior-security, .gemini/skills/senior-security, .github/skills/senior-security and .opencode/skills/senior-security in your project.

What does Senior Security need to run?

Going by SKILL.md and its folder, Senior Security needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Senior Security access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Senior Security safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Senior Security use?

Senior Security is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Senior Security use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 22k tokens, read only when the agent opens those files.

What are the alternatives to Senior Security?

Skills that share tags, products or a category with Senior Security: Security Hardening (ancoleman/ai-design-components, 526 stars), Architecting Security (ancoleman/ai-design-components, 526 stars), Security By Design (Hack23/cia, 239 stars) and Go (ericrisco/rsc-harness, 167 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Senior Security?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 881 GitHub stars. The repository holds 349 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.