security

Enforce secure coding practices for inputs, secrets, sessions, and integrations.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/arvindbattula/my-agent-config --skill security-arvindbattula
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security
Source: https://github.com/arvindbattula/my-agent-config/tree/main/skills/security
Command: npx skills add https://github.com/arvindbattula/my-agent-config --skill security-arvindbattula

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Software often becomes vulnerable when handling user input, authentication data, or external integrations. This Skill codifies defensive patterns to prevent breaches, data leaks, and misconfigurations.

Core Features & Use Cases

  • Validate external input at system boundaries (API routes, form handlers, and service interfaces).
  • Securely manage secrets, credentials, and configuration data across environments.
  • Enforce safe authentication, authorization, and session handling with defensive defaults.

Quick Start

Audit a new feature by applying input validation, secret management, and secure defaults according to the guidelines in this Skill.

Frequently Asked Questions about security

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

FAQPage Schema
How do I validate external input at API boundaries to prevent security vulnerabilities?

Input validation at API boundaries prevents security vulnerabilities by enforcing strict schema checks and defensive defaults on incoming data. This approach applies secure coding practices across API routes, form handlers, and service interfaces to block malicious payloads.

What is the best way to manage secrets and credentials across staging and production environments?

Secure secret management across staging and production environments requires enforcing defensive defaults for configuration data. This prevents data leaks and misconfigurations by codifying patterns to safely handle credentials without exposing them in code or logs.

How do I enforce safe authentication and session handling in web apps and microservices?

Safe authentication and session handling in web apps and microservices relies on enforcing access control and defensive defaults. This protects user data by applying secure authorization patterns across all services handling authentication flows.

Does this secure coding approach work for serverless functions handling third-party calls?

Yes, this secure coding approach works for serverless functions handling third-party calls by enforcing safe data handling and input validation. It applies defensive patterns to prevent breaches during external integrations and API interactions.

When should I apply threat modeling and secure headers during development?

Apply threat modeling and secure headers during development when building features that handle user data, authentication, or storage. Enforcing these defensive patterns early prevents vulnerabilities before reaching staging or production environments.