Skip to content
Skills Library
Security · Review & audit

model-serving-exposure-audit

/model-serving-exposure-audit

Audits model-serving APIs, administrative and debug surfaces, vector stores, object storage, caches, workload identity, metadata access, and orchestration credentials. Use when reviewing the deployed infrastructure around model inference.

Repository
skills ↗
Licence
Apache-2.0
Last repository change
15.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 15.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Audits model-serving APIs, administrative and debug surfaces, vector stores, object storage, caches, workload identity, metadata access, and orchestration credentials. Use when reviewing the deployed infrastructure around model inference.

Original author description

Audits model-serving APIs, administrative and debug surfaces, vector stores, object storage, caches, workload identity, metadata access, and orchestration credentials. Use when reviewing the deployed infrastructure around model inference.

How it works

  1. When to Use
  2. When NOT to Use
  3. Workflow
  4. Boundary with adjacent skills
  5. Deliverable
  6. Rationalizations to reject
Original SKILL.md headings · 83 lines, 540 words
SKILL.md preview
---
name: model-serving-exposure-audit
description: "Audits model-serving APIs, administrative and debug surfaces, vector stores, object storage, caches, workload identity, metadata access, and orchestration credentials. Use when reviewing the deployed infrastructure around model inference."
metadata:
  portability: universal
  discipline: blue-team
  domain: ai-systems
  tags: [model-serving, infrastructure, workload-identity, debug, exposure]
---

# Model serving exposure audit

Review the infrastructure that loads and serves models. Separate network
reachability, authentication, authorization, effective identity, and
demonstrated access so a visible endpoint does not become an overstated finding.

## When to Use

- Reviewing model servers, gateways, batch inference, deployment controllers,
  or supporting data services.
- Auditing administrative, debug, metrics, metadata, storage, secret, and
  workload-identity exposure around inference.
- Investigating whether a serving component has more authority than its role
  requires.

## When NOT to Use

- Do not actively enumerate, authenticate to, or exploit a service without the
  corresponding written authority.
- Do not retrieve real credentials or sensitive model data to prove a control
  gap when configuration and benign identity evidence suffice.
- Do not treat a banner, port, or product name as proof of a vulnerability.

## Workflow

1. Define environments, networks, clusters, accounts, namespaces, services,
   identities, evidence window, approved observation methods, and exclusions.
2. Inventory the serving chain: clients, API gateways, model routers, inference
   servers, batch workers, deployment controllers, registries, object stores,
   vector databases, feature stores, caches, queues, telemetry, and admin planes.
3. Inventory surfaces by function rather than port:
   - inference, streaming, embedding, and batch APIs;
   - health, metrics, profiling, tracing, debug, and documentation endpoints;
   - model load, unload, configuration, adapter, and promotion controls;
   - storage, cache, queue, registry, and vector-store interfaces;
   - orchestrator, node, metadata, secret, and workload-identity services.
4. Record each surface's bind address, network path, authentication,
   authorization, tenant boundary, rate control, transport protection, and
   logging from supplied configuration or approved observation.
5. Map effective identities and privileges. Include service accounts, instance
   roles, managed identities, tokens, filesystem access, device access, network
   egress, registry permissions, secret access, and impersonation rights.
6. Trace sensitive flows: prompts, retrieved context, model artifacts, adapters,
   outputs, telemetry, credentials, metadata, and temporary files.
7. Keep evidence states separate: `declared`, `reachable`, `authenticated`,
   `authorized`, `resource-accessed`, and `effect-demonstrated`.
8. Review cross-service trust: gateway-to-server headers, proxy identity,
   controller-to-node authority, registry-to-loader trust, callback destinations,
   and tenant or namespace propagation.
9. Review hardening and response: minimal images, patch and dependency evidence,
   filesystem and process isolation, egress limits, secret rotation, exact model
   identity in logs, alerting, revocation, rollback, and residual workloads.
10. Produce separate validation handoffs for unresolved live behavior; keep this
    audit from becoming an exploit plan.

## Boundary with adjacent skills

- Use `ai-surface-recon` for externally observable AI-system mapping.
- Use `model-artifact-lifecycle-audit` for artifact intake through retirement.
- Use `agent-surface-audit` for agent tool definitions and parameter risk.

## Deliverable

Return the service and surface inventory, network and trust map, effective
identity matrix, sensitive-flow map, evidence-state findings, hardening gaps,
telemetry and response coverage, unknowns, and bounded validation handoffs.

## Rationalizations to reject

- **“It is only reachable inside the cluster.”** Internal reachability still
  intersects compromised workloads, tenants, and service identities.
- **“Authentication is enabled.”** Verify authorization, audience, target,
  tenant, and privilege after authentication.
- **“The metadata service is standard.”** Effective workload access depends on
  platform configuration, identity scope, and network controls.
- **“The debug endpoint contains no secrets.”** It may disclose paths, models,
  arguments, environment, topology, or control functions.
- **“The model server only performs inference.”** Loaders, adapters, plugins,
  filesystems, devices, and callbacks can carry broader authority.
- **“A version match proves exploitability.”** Preserve applicability and live
  validation as separate evidence.
Files in this package (3)
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB
  • assets/zero-lab-mark.svg 9 KB

Versions

The database has no other skills named model-serving-exposure-audit.

Database snapshot: 13.11.2026 · package version 03e127338256 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100model-serving-security
    Harden a deployed model inference endpoint — authn/authz, rate limiting and abuse control, input validation, and exposure to model-extraction / inversion / membership-inference attacks. Use when reviewing how a model is served (REST/gRPC, Triton/TorchServe/KServe, or a hosted…
  • 90deploy-recon
    Audit current model deployment topology — serving config, latency profile, version inventory. Use when asked "what models are deployed", "audit our serving setup", or "inventory our model versions".
  • 100oidc-integration
    Enforce OIDC IdP integration for inference engines. Use when designing, building, or reviewing authentication for inference engines, LLM APIs, or AI model serving endpoints.
  • 100ai-systems-security
    Secure AI-powered products and infrastructure. Use when integrating LLM APIs, deploying model-serving infrastructure, building agent workflows, connecting MCP servers, or reviewing AI system architecture for security gaps.
  • 90rag-data-exposure-audit
    Assesses document authorization, tenant isolation, raw-chunk fields, citations, caches, exports, and sensitive-source leakage in retrieval systems. Use when an authorized RAG assessment must determine what data each identity can retrieve or disclose.
  • 90inference-serving-topology
    LLM/model inference serving architecture: the engine → serving → orchestration layering (vLLM/SGLang/TensorRT-LLM, Triton, KServe/Ray Serve), KV-cache & continuous batching, prefill-decode disaggregation, and scaling. Architect-level topology, not model training. USE WHEN:…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.