secure-by-design-patterns

Route security tasks to relevant security-architecture reference sheets.

14|3|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/tachyon-beep/skillpacks --skill secure-by-design-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secure-by-design-patterns
Source: https://github.com/tachyon-beep/skillpacks/tree/main/plugins/ordis-security-architect/skills/using-security-architect/secure-by-design-patterns.md
Command: npx skills add https://github.com/tachyon-beep/skillpacks --skill secure-by-design-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Embeds security into system design with Zero-Trust, least privilege, and fail-fast principles.

Core Features & Use Cases

  • Zero-Trust architecture patterns with explicit verification and authentication
  • Design guidance to ensure security is baked into the architecture, not bolted on later
  • Patterns and anti-patterns to avoid common security pitfalls

Quick Start

When evaluating a new or refactored system, route to secure-by-design-patterns to ensure security-first design decisions.

Frequently Asked Questions about secure-by-design-patterns

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

FAQPage Schema
How do I apply zero-trust and least-privilege principles to system architecture?

Zero-trust architecture requires explicit verification and authentication at every layer, rejecting implicit trust. Least-privilege grants only the minimum access needed per component. Build these into initial design decisions—threat modeling, control placement, and authentication flows—so security isn't retrofitted later.

What's the difference between secure-by-design and bolting security on after deployment?

Secure-by-design embeds security into architecture from the start through fail-fast principles, defense-in-depth layering, and threat modeling. Bolted-on security adds controls reactively and leaves architectural weaknesses. Design-phase integration is vastly cheaper and more effective than post-deployment patching.

When should I use threat modeling and controls design for a new system?

Initiate threat modeling and controls design during system design or refactoring, before implementation. Map threats early, design mitigating controls into architecture, and review compliance requirements against your design. This prevents costly rework and ensures security-first decisions across new builds and existing systems.

How do I ensure compliance requirements are factored into architecture design?

Compliance-aware design maps regulatory or organizational controls to architectural decisions upfront. Route compliance mapping across your design phases, document how controls are implemented, and align threat modeling outputs with compliance scope. This prevents gaps between design and audit.

What patterns and anti-patterns should I avoid when designing secure systems?

Common anti-patterns include implicit trust between components, overly permissive roles, single points of failure, and security added late. Secure patterns apply defense-in-depth, explicit verification, least-privilege role design, and fail-fast mechanisms. Reference architecture reviews to identify and correct anti-patterns early.

Do I need threat modeling for existing systems or only new designs?

Threat modeling applies to both new systems and existing ones undergoing refactoring or security review. It identifies current gaps, informs control redesign, and guides architecture improvements. Compliance mapping and security-architecture reviews work across both contexts.