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
- Define environments, networks, clusters, accounts, namespaces, services, identities, evidence window, approved observation methods, and exclusions.
- 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.
- 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.
- Record each surface's bind address, network path, authentication, authorization, tenant boundary, rate control, transport protection, and logging from supplied configuration or approved observation.
- 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.
- Trace sensitive flows: prompts, retrieved context, model artifacts, adapters, outputs, telemetry, credentials, metadata, and temporary files.
- Keep evidence states separate:
declared,reachable,authenticated,authorized,resource-accessed, andeffect-demonstrated. - 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.
- 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.
- Produce separate validation handoffs for unresolved live behavior; keep this audit from becoming an exploit plan.
Boundary with adjacent skills
- Use
ai-surface-reconfor externally observable AI-system mapping. - Use
model-artifact-lifecycle-auditfor artifact intake through retirement. - Use
agent-surface-auditfor 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.


