
llm-security
Security guidelines for LLM applications based on OWASP Top 10 for LLM 2025
by semgrepFree
Description
The llm-security skill gives an agent security guidance for building LLM applications, based on the OWASP Top 10 for LLM Applications 2025. It works in two modes. In proactive mode, when the agent builds or reviews an LLM app, it checks for the relevant risks based on the application pattern, without waiting to be asked. In reactive mode, when a user asks about LLM security, the agent uses a mapping to find rule files with vulnerable and secure code examples. The workflow starts by identifying what is being built, such as a RAG system or an agent, then checks the priority rules for that pattern, reads the specific rule files, and applies the secure patterns or flags the vulnerable ones. The skill is published by semgrep in the skills repository on GitHub. It is meant for developers and reviewers of AI features who want a checklist tied to a recognized standard. Install it with: npx skills add https://github.com/semgrep/skills --skill llm-security. Security audits show Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Warn.…
Highlights
- Based on OWASP Top 10 for LLM 2025
- Proactive checks while building
- Reactive lookup of rule files
- Vulnerable and secure code examples
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate llm-security.
People also visit

owasp-security
Reviews code for security vulnerabilities and guides secure implementation

agent-owasp-compliance
Check any AI agent codebase against the OWASP Agentic Security Initiative

shellward-security-guide
AI agent security guide for prompt injection, DLP, dangerous command blocking
llm-security FAQ
What standard does it follow?
The OWASP Top 10 for LLM Applications 2025.
How does it check my app?
In proactive mode it checks risks as you build or review. In reactive mode it finds the rule files that answer your question.
Does it show code examples?
Yes. The rule files include vulnerable and secure code examples.
How do I install it?
Run npx skills add https://github.com/semgrep/skills --skill llm-security.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Warn.
What are the best llm-security alternatives?
Popular alternatives to llm-security include owasp-security, agent-owasp-compliance and llm-prompt-injection. See all llm-security alternatives











