model-serving-security

model-serving-security is a skill for Claude Code from jassics/awesome-claude-security. It costs 73 tokens per session (586 once invoked), scanned A, original, GPL-3.0.

A security review for a deployed model inference endpoint—the API or service that receives requests and returns model results.

In plain words
What is it for?
It is for hardening REST, gRPC, hosted, and common model-serving endpoints.
Why use it?
It helps address weak authentication, excessive use, unsafe inputs, and attacks that try to copy or infer sensitive information from a model.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mlops-security plugin — 3 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jassics/awesome-claude-security/model-serving-security
Any agent
npx skills add jassics/awesome-claude-security --skill model-serving-security
Clone the repo
git clone --depth 1 https://github.com/jassics/awesome-claude-security

Made for: Claude Code.

Or install mlops-security, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for model-serving-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/jassics/awesome-claude-security/model-serving-security.svg)](https://agentmods.dev/skills/jassics/awesome-claude-security/model-serving-security)
Your own site
<a href="https://agentmods.dev/skills/jassics/awesome-claude-security/model-serving-security"><img src="https://agentmods.dev/badge/skills/jassics/awesome-claude-security/model-serving-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.00586
Opus 5 $0.00036 $0.00293
Sonnet 5 $0.00015 $0.00117
Haiku 4.5 $0.00007 $0.00059

Measured 3d ago against content hash 481e04bc3632, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

model-serving-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mlops-security/skills/model-serving-security/SKILL.md · 55 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 55 lines · 73 tokens per session scan A 481e04bc3632

Subscribe to this mod's changes

model-serving-security is a skill published in the GitHub repository jassics/awesome-claude-security (6 stars, last pushed 1mo ago), licensed GPL-3.0. It adds 73 tokens to every session and 586 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

add-ai-webapi

Integrates Power Pages generative-AI summarization APIs (PREVIEW) into a Single Page Application (SPA) site — the Search Summary API and the Data Summarization API — on any record-detail or list page. Generates per-target service code (CSRF-handled) and AI site settings; delegates Web API settings, table permissions…

microsoft/power-platform-skills · 226 tokens

nano-banana

This skill should be used for Python scripting and Gemini image generation. Use when users ask to generate images, create AI art, edit images with AI, or run Python scripts with uv. Trigger phrases include "generate an image", "create a picture", "draw", "make an image of", "nano banana", or any image generation…

NikiforovAll/claude-code-rules · 73 tokens

prompt-tuning

Tune a prompt, or anything whose quality is measured by non-deterministic model output, without chasing noise - a noise baseline before the first edit, medians over repeated runs, enforcement AFTER generation rather than in the wording. Use when iterating on prompts or model-judged output.

jjanczur/tyran · 58 tokens

review-prompt

Review LLM prompts against the prompt-engineering skill's principles — leading with where each line came from — and report the findings without modifying files. Use when reviewing prompt quality, auditing a prompt, evaluating a system prompt, or checking whether prompt issues are high-confidence and fixable.

doodledood/manifest-dev · 60 tokens

meta-prompting

Enhanced reasoning patterns via slash commands (/think, /verify, /adversarial, /edge, /compare, /confidence, /budget, /constrain, /json, /flip, /assumptions, /tensions, /analyze, /trade) or natural language ("argue against", "what could break", "show reasoning", "deep review", "meta-prompts", "thinking modes"…

iliaal/whetstone · 104 tokens

grill-po

Requirements grilling session with a Product Owner (or anyone in that role). Challenges plans against the existing domain model, sharpens terminology, and updates documentation (bounded-context files, Gherkin features, DMDs (Domain Model Decisions)) inline as decisions crystallise. Use when the user wants to discuss…

t1/tdder · 82 tokens