Skip to main content
Back to registry

llm-security

semgrep/skills

Security rules for building secure LLM applications, based on the OWASP Top 10 for LLM Applications 2025.

Installs159
Install command
npx skills add https://github.com/semgrep/skills --skill llm-security
About this skill
Security rules for building secure LLM applications, based on the OWASP Top 10 for LLM Applications 2025. Proactive mode — When building or reviewing LLM applications, automatically check for relevant security risks based on the application pattern. You don't need to wait for the user to ask about LLM security. Reactive mode — When the user asks about LLM security, use the mapping below to find relevant rule files with detailed vulnerable/secure code examples. Use this to quickly identify which rules matter most for the user's task: See rules/_sections.md for the full index with OWASP/MITRE references. - Identify what the user is building (see "What Are You Building?" below) - Check the priority rules for that pattern - Read the specific rule files from rules/ for code examples - Apply the secure patterns or flag vulnerable ones - LLM01: Prompt Injection ( rules/prompt-injection.md ) - Prevent direct and indirect prompt manipulation - LLM02: Sensitive Information Disclosure ( rules/sensitive-disclosure.md ) - Protect PII, credentials, and proprietary data - LLM03: Supply Chain ( rules/supply-chain.md ) - Secure model sources, training data, and dependencies - LLM04: Data and Model Poisoning ( rules/data-poisoning.md ) - Prevent training data manipulation and backdoors - LLM05: Improper Output Handling ( rules/output-handling.md ) - Sanitize LLM outputs before downstream use -...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does llm-security do?

Security rules for building secure LLM applications, based on the OWASP Top 10 for LLM Applications 2025.

Is llm-security good?

llm-security does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does llm-security work with?

llm-security currently lists compatibility with codex, gemini-cli, opencode, amp, github-copilot, claude-code.

What are alternatives to llm-security?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install llm-security?

npx skills add https://github.com/semgrep/skills --skill llm-security

Related skills

More from semgrep/skills

Related skills

Alternatives in Software Engineering