llm-security-ops
LLM application security review (OWASP Top 10 for LLM Applications 2025) and local LLM lab ops (Docker Compose + Ollama). Project-owned domain skill…
от agent-kit-startup★ 24 звезды на GitHub
Установить llm-security-ops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
LLM Security + Ops (domain skill)
Project-owned domain skill (.cursor/skills/domain/, one-way: never contributed to the registry; see ADR 2026-08-17_urutau-llm-lab-external-curriculum-domain-skill). Distilled from the public Urutau-LLM-Lab curriculum, which stays external — this repository does not vendor, fork, or patch the lab.
Voice: detect, mitigate, review. This skill contains no exploit payloads, CTF flags, planted prompts, or attack procedures. It teaches how to recognize and fix LLM-application weaknesses and how to run a local, isolated LLM lab.
When to load
- Reviewing code that sends user input to an LLM (chat endpoints, agents, RAG, tool use)
- Reviewing system prompts, prompt templates, or LLM output handling
- Operating or debugging a local LLM stack (Docker Compose + Ollama, provider-switch setups)
- Security review of anything matching OWASP Top 10 for LLM Applications 2025 themes
Binding (do not duplicate classic AppSec)
- Route review work through the
security-revieweragent (.cursor/agents/security-reviewer.md) and thecybersecpack discipline (registry/packs/cybersec/). This skill adds the LLM-specific layer only. - Classic checks — hardcoded secrets, auth on endpoints, PII in logs, SQL/XSS injection, CORS, rate limiting — stay owned by the core
security-reviewskill (registry/skills/core/security-review/SKILL.md) and the L0git-secrets-safetyrule. Do not restate them here; run both layers together on LLM-adjacent diffs.
Review checklists — ready/wip curriculum items first
LLM01: Prompt Injection (curriculum: ready)
Detect:
- User input concatenated into the system prompt or template without separation of roles
- Untrusted content (retrieved docs, web pages, file uploads) fed to the model as if it were instructions
- No detection of instruction-like input ("ignore previous...", role-play pivots) in high-privilege flows
Mitigate / review:
- Clear role separation (system vs user messages); never rebuild the system prompt from user data
- Treat all model input from external sources as data, not instructions; delimit and label it
- Least privilege downstream: a jailbroken response must not be able to trigger privileged actions on its own
- Output-side validation for sensitive flows (see LLM05) instead of trusting prompt-side defenses alone
LLM07: System Prompt Leakage (curriculum: ready)
Detect:
- Secrets, credentials, internal URLs, or business rules embedded in the system prompt
- Application behavior that echoes or summarizes its own instructions on request
- Logs or error paths that include the full prompt payload
Mitigate / review:
- Assume the system prompt is ultimately extractable: keep secrets and authorization logic out of it (enforce server-side)
- The system prompt may state policy, but policy enforcement lives in code
- Log prompt metadata (template id, length), not full prompt bodies
LLM06: Excessive Agency (curriculum: wip)
Detect:
- LLM-invoked tools/functions with broader permissions than the feature needs
- Irreversible or high-impact actions (writes, payments, deletes, sends) triggered by model output without human confirmation
- Agent loops with no step budget, allow-list, or scope boundary
Mitigate / review:
- Minimal tool surface: expose only the operations the use case needs, with narrow parameters
- HITL confirmation on destructive or externally visible actions
- Per-tool authorization checked server-side per call, not once per session
Review checklists — planned curriculum items (short form)
- LLM02 Sensitive Information Disclosure: no PII/secrets in training data, context windows, or transcripts; scrub model I/O logs; per-user data isolation in RAG stores.
- LLM05 Improper Output Handling: treat model output as untrusted input — encode before rendering (XSS), parameterize before queries, validate before shell/tool execution.
- LLM03 Supply Chain: pin and verify model sources, weights, adapters, and container images; review third-party prompts/plugins like third-party code.
- LLM09 Misinformation: ground high-stakes answers (citations/RAG), communicate uncertainty, human review where wrong answers cause harm.
- LLM10 Unbounded Consumption: rate limits, max token/step budgets, per-user quotas, cost alarms on LLM endpoints.
- LLM04 Data & Model Poisoning / LLM08 Vector & Embedding Weaknesses: no lab challenge yet (curriculum gap); review against the OWASP item text directly — see the map companion.
Companions
- owasp-llm-map.md — OWASP LLM Top 10 (2025) to curriculum challenge map, with coverage gaps
- local-lab-ops.md — running the local lab: Docker Compose topology, Ollama model management, provider switch, hygiene
- mitigation-patterns.md — reusable mitigatio
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- local-lab-ops.md
- mitigation-patterns.md
- owasp-llm-map.md
FAQ
Что делает скилл llm-security-ops?
LLM application security review (OWASP Top 10 for LLM Applications 2025) and local LLM lab ops (Docker Compose + Ollama). Project-owned domain skill; educational detect/mitigate/review only. Not contributeable upstream.
Как установить скилл llm-security-ops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл llm-security-ops запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…