Agent skill

llm-app-security

Secure LLM-powered applications with input validation, output controls, tenant isolation, and abuse prevention.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/llm-app-security

Metadata

Additional technical details for this skill

author
devops-skills
version
1.0

SKILL.md

LLM Application Security

Harden chatbots and AI features embedded in web and mobile products.

Baseline Security Checklist

  • Validate and classify all user-provided context.
  • Separate system prompts from user content strictly.
  • Add moderation for toxic, harmful, and policy-violating outputs.
  • Enforce tenant boundaries in retrieval and memory layers.
  • Rate-limit high-cost endpoints.

Secure RAG Pattern

  1. Ingest content with malware and secret scanning.
  2. Tag documents by tenant and access policy.
  3. Filter retrieval candidates by user authorization.
  4. Add provenance metadata in final responses.

Related Skills

  • ai-agent-security - Agent-specific controls
  • sast-scanning - Secure coding checks

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results