security

Document Elixir and Phoenix security patterns for authentication, authorization, and input validation.

517|35|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill security-oliver-kriska
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security
Source: https://github.com/oliver-kriska/claude-elixir-phoenix/tree/main/plugins/elixir-phoenix/skills/security
Command: npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill security-oliver-kriska

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and quick reference for implementing robust security practices in Elixir and Phoenix applications, protecting against common vulnerabilities.

Core Features & Use Cases

  • Best Practices: Enforces "Iron Laws" for secure coding, preventing common mistakes.
  • Pattern Examples: Offers code snippets for secure authentication, authorization, input validation, and more.
  • Use Case: When developing a new feature involving user authentication, consult this Skill for best practices on password hashing, session management, and preventing timing attacks.

Quick Start

Use the security skill to review the best practices for validating user input in Phoenix applications.

Frequently Asked Questions about security

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

FAQPage Schema
How do I prevent SQL injection and XSS in Phoenix applications?

To prevent SQL injection and XSS in Phoenix applications, implement strict input validation and follow established Elixir security patterns. This Skill provides code snippets and reference guides specifically designed to block these common exploits.

What is the best way to implement authentication and authorization in Elixir?

The best way to implement authentication and authorization in Elixir is by following secure coding "Iron Laws" and using provided pattern examples. This ensures robust password hashing, session management, and prevents unauthorized access.

How do I validate user input securely in Phoenix controllers?

Validating user input securely in Phoenix controllers requires applying specific Elixir security patterns. This Skill offers quick start guides and best practices to enforce strict validation rules and protect against common vulnerabilities.

Does this cover the OWASP top 10 vulnerabilities for Elixir and Phoenix?

Yes, this covers the OWASP top 10 vulnerabilities for Elixir and Phoenix. It provides comprehensive security patterns and quick reference guides to help developers protect their applications against the most critical security risks.

How can I prevent timing attacks during user authentication in Elixir?

To prevent timing attacks during user authentication in Elixir, consult this Skill for best practices on secure session management. It offers specific code examples and pattern guides to mitigate side-channel timing exploits.