security-mindset

Provide security principles and checklists for identifying vulnerabilities in software development.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Objective-Arts/lens-dist --skill security-mindset
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-mindset
Source: https://github.com/Objective-Arts/lens-dist/tree/main/canon/security-mindset
Command: npx skills add https://github.com/Objective-Arts/lens-dist --skill security-mindset

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers and teams adopt a proactive security posture by encouraging them to think like an attacker, identify vulnerabilities, and build more secure software from the ground up.

Core Features & Use Cases

  • Promotes attacker's perspective: Encourages questioning trust assumptions and validating all inputs.
  • Provides key principles: Outlines concepts like threat modeling, attack surface reduction, and fail-secure design.
  • Offers practical guidance: Includes security review questions, common vulnerabilities, and anti-patterns to avoid.
  • Use Case: Before starting a new feature that handles user authentication, invoke this Skill to ensure all security considerations are addressed during the design phase.

Quick Start

Use the security-mindset skill to review the authentication flow for potential vulnerabilities.

Frequently Asked Questions about security-mindset

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

FAQPage Schema
How do I identify security vulnerabilities during a code review?

To identify security vulnerabilities during a code review, adopt an attacker mindset by questioning trust assumptions, validating all inputs, and using actionable checklists to mitigate common risks.

What is threat modeling and when should I use it in software development?

Threat modeling is a proactive design technique used to reduce the attack surface and minimize trust boundaries. Use it during secure design discussions before implementing new features like user authentication.

How do I design a secure authentication flow from scratch?

Design a secure authentication flow by applying defense in depth, minimizing trust assumptions, and following fail-secure design principles to ensure all inputs are validated against potential attacker vectors.

What are the best practices for adopting an attacker mindset for secure coding?

Best practices for secure coding include reducing the attack surface, implementing fail-secure designs, and continuously questioning trust assumptions to proactively identify and mitigate potential vulnerabilities.

Can I apply security-first principles to existing codebases?

Yes, you can apply security-first principles to existing codebases by conducting targeted security reviews that check for anti-patterns, validate inputs, and enforce defense in depth across vulnerable modules.

Why does minimizing trust boundaries help prevent vulnerabilities?

Minimizing trust boundaries helps prevent vulnerabilities by limiting the attack surface and ensuring that systems fail securely, forcing explicit validation of all data crossing between trusted and untrusted zones.