Files
sif/modules/recon/triton-api-exposure.yaml
T
TigahandGitHub 122fe5f94b feat(modules): detect exposed gpu inference servers (#236)
add recon modules for unauthenticated gpu serving stacks that leak model info without a key: triton, sglang, and torchserve.
2026-07-02 17:00:41 -07:00

40 lines
807 B
YAML

# Triton Inference Server API Exposure Detection Module
id: triton-api-exposure
info:
name: Triton Inference Server API Exposure
author: sif
severity: high
description: Detects an exposed NVIDIA Triton Inference Server whose metadata api confirms unauthenticated model serving and model-repository control
tags: [triton, nvidia, ai, ml, inference, api, exposure, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/v2"
matchers:
- type: status
status:
- 200
- type: regex
part: body
regex:
- '"name"\s*:\s*"triton"'
- type: word
part: body
words:
- "\"extensions\""
extractors:
- type: regex
name: triton_version
part: body
regex:
- '"version"\s*:\s*"([^"]+)"'
group: 1