Review Vllm Security review-vllm-security

Prevent recurring vLLM security defects when designing, implementing, or reviewing models, processors, media loaders, endpoints and request fields, tool parsers, deployment settings, and changes to shared engine state, caches, or worker transports.

Use it when input changes how vLLM spends resources, crosses a trust boundary, or affects other requests.

Works in Claude, ChatGPT, Codex and more
Our test
9/10✓ Verified
tested Dec 6, 2026
GitHub stars
98k
vllm-project/vllm
Added by
0
members
Updated
Dec 6
commit b338d20
Content
10 files
no scripts · 32 KB
License
Apache 2.0
free to use

What our test found

Le skill fournit une méthode structurée et concrète pour examiner les frontières de confiance, les budgets et les chemins alternatifs, avec des vérifications adaptées aux changements vLLM.

Request we tested it on“I’m adding a `max_frames` field to a vLLM multimodal route. What checks and tests should I plan before submitting the PR?”

Limits spotted

  • The response depends on reference files and repository documentation that may not be available in all contexts.
  • The checklist is dense; the skill could do more to help prioritize risks based on the scope of the change.
View on GitHub ↗
name: review-vllm-security
description: Prevent recurring vLLM security defects when designing, implementing, or reviewing models, processors, media loaders, endpoints and request fields, tool parsers, deployment settings, and changes to shared engine state, caches, or worker transports. Use when input changes how vLLM spends resources, crosses a trust boundary, or affects other requests.

Review vLLM security

Use this before choosing an implementation and again when reviewing the diff. Read the project's and . Follow the for a reported vulnerability.

Review workflow

  1. Trace every affected input from its source to the first operation that trusts it or spends resources on it. Distinguish inference callers, model output, artifact authors, operators, and trusted peers. Include conversions, defaults, expansion, and the error path.
  2. Use the quick screen below to identify applicable failure families. Open only the review-area files relevant to your change. The change-type table gives starting points, and the quick screen may identify other areas.
  3. Search for sibling consumers by field or operation. When applicable, compare Python and Rust, HTTP and gRPC, streaming and buffered flows, model or backend overrides, and opt-in and fallback paths. Identify where each path enforces the control and which paths share it.
  4. Confirm where rejected work, cancellation, or a timeout leaves resources and shared state. For each applicable risk, record the enforcing boundary, the sibling paths checked, and the observed behavior or remaining verification.

Quick screen

| Review area | Question to answer | | --- | --- | | [Resource budgets][budgets] | What bounds the bytes, counts, work, and retained state before each stage incurs the cost? | | [Input invariants and fault containment][input] | Which checks prevent invalid inputs from reaching the engine, scheduler, or native consumer? | | [Cache, request, and peer ownership][ownership] | What preserves ownership when requests, buffers, cache keys, and transfer IDs are reused? | | [Parser and rendering complexity][parsing] | What bounds parsing, compilation, and rendering under malformed or fragmented input and concurrent work? | | [Artifact trust and unsafe interpretation][artifacts] | What permits executable loading, and are trust choices and revision pins enforced at every actual load? | | [Fetch, filesystem, and decoder policy][fetch] | What confines every network destination, file access, and decoder invocation? | | [Authorization and capability gates][access] | Who can reach the action, set privileged state, or select and invoke a tool? | | [Sensitive output and error responses][output] | What can enter responses, logs, metrics, or model context, and how large can it become? |

Detailed checks by change

Start with the families for each affected change type. Each file includes examples from published advisories.

| Change type | Checklist files | | --- | --- | | Endpoint, request field, or frontend | [Authorization][access], [resource budgets][budgets], [input invariants][input], [sensitive output][output] | | Multimodal model, processor, or media backend | [Fetch and decoder policy][fetch], [resource budgets][budgets], [input invariants][input], [artifact trust][artifacts] | | Model, tokenizer, quantization, or artifact loading | [Artifact trust][artifacts], [path confinement][fetch], [native input invariants][input] | | Structured output, template, reasoning, or tool calls | [Parser complexity][parsing], [authorization][access], [resource budgets][budgets], [sensitive output][output] | | Engine, scheduler, sampler, or native kernel | [Input invariants][input], [resource budgets][budgets], [shared-state ownership][ownership] | | Cache, batching, IPC, or disaggregated serving | [Ownership][ownership], [authorization][access], [resource budgets][budgets], [safe IPC decoding][artifacts] | | Deployment, configuration, or plugin | [Authorization][access], [artifact trust][artifacts] | | Errors, logging, metrics, or usage reporting | [Sensitive output][output], [resource budgets][budgets] |

Use the relevant section of when you need vLLM entry points or examples of what to verify.

For a limit regression, use a small configured cap or a stubbed consumer. Check valid boundary behavior and rejection before expensive work. For shared-state changes, follow a failed or cancelled request with a valid one, or interleave two requests and verify their results and cleanup independently.

[budgets]: references/failure-modes/resource-budgets.md [input]: references/failure-modes/input-invariants.md [ownership]: references/failure-modes/cache-and-request-ownership.md [parsing]: references/failure-modes/parser-and-rendering.md [artifacts]: references/failure-modes/artifact-trust.md [fetch]: references/failure-modes/fetch-and-decoder-policy.md [access]: references/failure-modes/authorization.md [output]: references/failure-modes/sensitive-output.md