Skip to main content
skill CX Codex

llm-security — Claude Code skill: LLM security and setup

This skill checks LLM applications against OWASP Top 10 for LLM 2025. Use it for chatbots, RAG pipelines, agents, and LLM APIs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add semgrep/skills --skill llm-security -a claude-code
Open on GitHub

What llm-security does

llm-security gives an LLM application review a security checklist tied to its architecture. It works proactively while building or reviewing a system, and reactively when someone asks about a vulnerability. The workflow maps chatbots, RAG, tool-using agents, training, APIs, and content generation to their main risks.

The package includes a workflow plus rules/ files with vulnerable and safer code examples. The rule set covers prompt injection, sensitive disclosure, supply chain issues, data poisoning, output handling, excessive agency, prompt leakage, vector weaknesses, misinformation, and unbounded consumption. Detailed guidance depends on reading the relevant files in rules/, not just the priority map.

What it helps with

  • check a chatbot for prompt injection
  • review a RAG pipeline for data exposure
  • limit permissions granted to an LLM agent
  • sanitize model output before downstream use
  • spot unbounded LLM resource consumption

Example prompts for the agent

  • Review this chatbot against OWASP Top 10 for LLM 2025 and flag the highest-priority risks.
  • Audit this RAG pipeline for prompt injection, sensitive disclosure, and vector or embedding weaknesses.
  • Check this tool-using LLM agent for excessive agency and unsafe output handling.

How to install llm-security

1Skills CLI (Vercel)

npx skills add semgrep/skills --skill llm-security -a claude-code

2Manually: put the files in place

~/.claude/skills/llm-security/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/llm-security/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about llm-security

How do I install llm-security in Claude Code?

Run npx skills add semgrep/skills --skill llm-security -a claude-code, then use ~/.claude/skills/llm-security/SKILL.md.

What does llm-security do?

It guides security reviews of LLM applications using OWASP Top 10 for LLM 2025 and selects relevant checks for systems such as chatbots, RAG pipelines, agents, and APIs.

Which RAG risks does it prioritize?

For RAG systems, it prioritizes vector and embedding weaknesses, prompt injection, sensitive information disclosure, and misinformation.

Similar skills

All skills for Security →

From the same set3

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor