Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Senior Security

ASecurity

Security engineering perspective: threat modeling, secure design review, vulnerability triage, and defense in depth. Use when assessing risks, reviewing for vulnerabilities, or responding to security findings.

2 stars
0 votes
0 copies
0 views
Added 9/29/2026
ai-agentsrustgoshellsqlawsapisecurity

Works with

cliapi

Security Analysis

A100/100

Scanned 9/29/2026

$npx -y skills add aicodedecode/awesome-muse-skills --skill senior-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Senior Security?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Senior Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aicodedecode-senior-security/badge)](https://www.skillsdirectory.com/skills/aicodedecode-senior-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: senior-security
description: Security engineering perspective: threat modeling, secure design review, vulnerability triage, and defense in depth. Use when assessing risks, reviewing for vulnerabilities, or responding to security findings.
category: development
---

# Senior Security Engineer

## Overview

A senior security engineer thinks like an attacker and builds like a defender: **threat-model first,
then layer defenses so no single failure is catastrophic**. This skill captures that mindset —
how to model threats proportionate to the actual risk, review designs and code for the
vulnerabilities that matter, triage findings by exploitability rather than scanner severity, and
respond to incidents without panic.

The through-line: perfect security doesn't exist; the job is making attacks expensive and failures
contained.

## When to use

- Threat-modeling a new feature or system before building.
- Reviewing code or architecture for security issues.
- Triaging vulnerability reports, scanner output, or bug-bounty submissions.
- Designing auth, session handling, or data-protection mechanisms.
- Responding to a suspected breach or security incident.

## Core concepts

- **Threat modeling (lightweight).** For each feature ask four questions: What are we protecting?
  Who wants it and what can they do? Where are the trust boundaries (where does untrusted input
  cross into trusted processing)? What breaks if each component is compromised? A 30-minute
  whiteboard version beats a 30-page document nobody reads.
- **Trust boundaries.** Every place data crosses from untrusted to trusted — HTTP input, file
  uploads, third-party webhooks, deserialized blobs — is where validation, auth, and encoding must
  happen. Draw these boundaries explicitly; vulnerabilities cluster at them.
- **Defense in depth.** No single control is reliable: validate input *and* parameterize queries
  *and* apply least-privilege DB roles *and* encode output. Layers overlap so one mistake isn't
  a breach.
- **The big four (web).** Most real breaches come from: broken access control (missing or
  client-side-only authorization), injection (SQL, command, XSS via unescaped output), broken
  authentication/session management, and sensitive data exposure (over-logging, verbose errors,
  unencrypted storage). Master these before worrying about exotic attacks.
- **Severity = exploitability × impact.** A "critical" scanner finding on an unreachable internal
  endpoint matters less than a "medium" IDOR on user data. Triage by: can an attacker reach it?
  What do they gain? How hard is exploitation really?
- **Secure defaults.** The safe path must be the easy path: frameworks' built-in escaping, ORMs'
  parameterized queries, deny-by-default authorization. If developers must remember to be secure,
  they won't be — make insecurity require effort.

## Practical workflow

1. **Model the threat (30 min).** Assets, actors, trust boundaries, top 3 attack scenarios. Write
   it down — one page.
2. **Review the design against the model.** For each trust boundary: is input validated? Is authz
   enforced server-side? Are failures closed (deny by default) rather than open?
3. **Review code at the sinks.** Trace untrusted input to where it's used: queries (parameterized?),
   shell/system calls (avoided or strictly allow-listed?), HTML output (contextually escaped?),
   deserialization (of trusted data only?), file paths (no traversal?).
4. **Check the boring stuff.** Secrets in code/logs, verbose errors to clients, missing rate
   limits on auth endpoints, CORS `*` with credentials, dependencies with known CVEs on reachable paths.
5. **Triage findings.** Reproduce or reason about exploitability; rank by reachable impact; fix
   the remotely-exploitable data-access issues before the theoretical crypto weaknesses.
6. **Verify the fix.** Re-test the exploit path, add a regression test that fails without the fix,
   and check for the same pattern elsewhere in the codebase (vulnerabilities travel in packs).

Triage scorecard:

```text
Finding: reflected input rendered unescaped in admin panel
[ ] Reachable by attacker?      Yes — any authenticated user can submit the field
[ ] Auth required?              Yes, but low-privilege accounts exist (self-signup)
[ ] Impact if exploited?        Session hijack of admin → full compromise
[ ] Exploit difficulty?         Low — no special conditions
→ Verdict: fix this sprint; also audit all other admin-panel render paths.
```

## Common pitfalls

- **Scanner-driven security.** Treating scanner output as the security program. Scanners find known
  patterns; they miss broken access control and business-logic flaws — where the real breaches are.
- **Client-side authorization.** Hiding buttons instead of enforcing permissions server-side. The
  client is attacker-controlled; every authz check that matters runs on the server.
- **Blocklisting input.** Trying to filter "bad" characters instead of allow-listing "good" ones and
  using safe APIs (parameterized queries, contextual encoding). Blocklists always miss something.
- **Security by obscurity.** "Nobody knows this endpoint exists" is not access control. Assume
  attackers enumerate everything.
- **Over-focusing on exotic attacks** while missing missing-authz on the new admin API. Boring
  vulnerabilities cause exciting incidents.
- **Logging secrets.** API keys, tokens, and PII in logs turn a log leak into a credential leak.
  Redact at the logging layer, not by developer discipline.
- **Incident panic.** Shutting everything down before preserving evidence, or silently patching
  without understanding scope. Have a runbook: contain, preserve logs, assess scope, then eradicate.

Attribution

aicodedecodeaicodedecode
View sourceSee grades on GitHubMore from aicodedecode →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →