security

Apply threat modeling and boundary validation to new features.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security is a design discipline that ensures threat modeling, authn/authz planning, secrets management, input validation, and OWASP awareness guide feature design from the outset to prevent vulnerabilities.

Core Features & Use Cases

  • Threat modeling: map callers, inputs, data touched, and risks for each feature.
  • Boundary validation: enforce strict schemas, canonicalization, and size limits at the API or interface boundary.
  • Authorization decisions: require explicit access-control checks for protected actions.
  • Secrets handling: promote secrets management and avoid embedding credentials in code or config.
  • Logging & observing: log security events with context while scrubing PII and secrets.
  • OWASP alignment: apply Top 10 considerations to all new surfaces.

Quick Start

Proactively model security for a new feature by identifying threat surfaces and defining boundary validation and authorization rules before coding.

Frequently Asked Questions about security

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

FAQPage Schema
How do I apply threat modeling to a new software feature?

Threat modeling for new features involves mapping callers, inputs, data touched, and potential risks before coding. This process proactively identifies threat surfaces, allowing you to define strict boundary validation and authorization rules early in the design phase.

What is the best way to enforce input validation at API boundaries?

The best way to enforce input validation at API boundaries is to apply strict schemas, canonicalization, and size limits directly at the interface. This boundary validation rejects unsafe inputs immediately before they can reach internal services or data persistence layers.

How do I design explicit authorization checks for protected actions?

Designing authorization checks requires requiring explicit access-control decisions for every protected action. By integrating strict authz planning into your feature design, you ensure that authorization rules are enforced before any user input or external integration triggers sensitive operations.

Why do I need secrets management to isolate credentials from code?

You need secrets management to prevent embedding credentials directly in code or configuration files. Isolating secrets from code ensures sensitive data remains protected, reducing the risk of exposure during threat modeling and preventing unauthorized access to protected actions.

How does OWASP Top 10 alignment improve API endpoint security?

OWASP Top 10 alignment improves API endpoint security by applying critical vulnerability considerations to all new surfaces. It ensures your design-time security decisions address common risks like broken authentication, boundary validation failures, and improper authorization before deployment.

Can I use this security design process for internal services and external integrations?

Yes, this security design process is applicable to any feature handling user input, authentication, or data persistence across both API endpoints and internal services. It enforces boundary validation and explicit authorization decisions for all external integration interactions.