preventing-sql-injection

Community

Guard SQL with tagged templates, not unsafe strings.

Authordjankies
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces safe SQL construction in Prisma by using $queryRaw with tagged templates instead of $queryRawUnsafe, preventing SQL injection.

Core Features & Use Cases

  • Safe Raw SQL: Parameterized queries via tagged templates.
  • Safe Composition: Use Prisma.sql for dynamic AND safe query composition.
  • Threat Scenarios: Guard against injecting user input into SQL strings.

Quick Start

Replace any $queryRawUnsafe usage with $queryRaw... and validate with Prisma.sql composition where needed.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: preventing-sql-injection
Download link: https://github.com/djankies/claude-configs/archive/main.zip#preventing-sql-injection

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.