solid-security

Community

Secure your SolidStart apps

Authorvallafederico
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance and practical code examples to secure SolidStart applications against common web vulnerabilities.

Core Features & Use Cases

  • XSS Prevention: Demonstrates automatic escaping in JSX and safe usage of innerHTML.
  • CSP Configuration: Shows how to implement Content Security Policy headers using middleware.
  • CORS Handling: Provides middleware examples for configuring Cross-Origin Resource Sharing.
  • CSRF Protection: Offers middleware logic to protect against Cross-Site Request Forgery.
  • Input Validation: Illustrates both server-side (Zod) and client-side validation techniques.
  • Environment Variable Security: Guides on securely managing environment variables.
  • Use Case: A developer can use this Skill to quickly implement robust security measures like preventing XSS attacks and configuring secure CORS policies for their SolidStart API endpoints.

Quick Start

Implement Content Security Policy headers using middleware with nonces in your SolidStart application.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: solid-security
Download link: https://github.com/vallafederico/solid-ai-rules/archive/main.zip#solid-security

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.