security-guidelines

Provide application security guidelines covering input validation, XSS, SQL injection, and secrets management.

1|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/hypeJunction/ai-assistant-starter --skill security-guidelines-hypejunction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-guidelines
Source: https://github.com/hypeJunction/ai-assistant-starter/tree/main/skills/security-guidelines
Command: npx skills add https://github.com/hypeJunction/ai-assistant-starter --skill security-guidelines-hypejunction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides essential guidelines and code examples to prevent common security vulnerabilities such as SQL injection, XSS, and insecure secrets management.

Core Features & Use Cases

  • Input Validation: Demonstrates robust validation techniques using Zod to prevent injection attacks.
  • XSS Prevention: Offers clear examples of how to safely render user-provided HTML.
  • SQL Injection Prevention: Shows how to use parameterized queries or ORMs to avoid SQL injection.
  • Secrets Management: Guides on securely handling API keys and other sensitive information.
  • Security Headers: Lists recommended HTTP security headers for enhanced protection.

Quick Start

Follow the provided examples to implement input validation for all external data sources.

Frequently Asked Questions about security-guidelines

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

FAQPage Schema
How do I prevent SQL injection and XSS vulnerabilities in my web application?

To prevent SQL injection and XSS vulnerabilities, you should use parameterized queries or ORMs for database access and safely sanitize user-provided HTML before rendering. This Skill provides code examples for both techniques.

What is the best way to validate external input data to prevent injection attacks?

Input validation is the best way to prevent injection attacks, and this Skill demonstrates robust validation techniques using Zod. You must apply these validation rules to all external data sources entering your application.

How should I securely manage API keys and secrets in my codebase?

Secure secrets management requires handling API keys and sensitive information through dedicated practices rather than hardcoding them. This Skill provides guidelines on securely managing secrets to mitigate common vulnerabilities.

What HTTP security headers should I add to my application for enhanced protection?

Recommended HTTP security headers are essential for enhanced application protection against common threats. This Skill lists specific security headers you should configure to enforce defense in depth and secure defaults.

Does this Skill cover secure coding practices for authentication mechanisms?

Yes, this Skill covers secure coding practices for authentication mechanisms. It enforces least privilege and defense in depth principles through practical code examples and best practice recommendations.

When do I need to implement defense in depth and least privilege principles?

You need to implement defense in depth and least privilege principles whenever handling input validation, authentication, or secrets management. This Skill provides actionable guidelines to enforce these secure defaults across your application.