Files
sif/modules/recon/zenml-server-exposure.yaml
T
TigahandGitHub 9e8fb3a8d5 feat(modules): detect exposed ml platforms (#240)
add recon modules for unauthenticated ml platforms that leak cluster or deployment info without a key: h2o, mindsdb, and zenml.
2026-07-02 17:00:47 -07:00

45 lines
890 B
YAML

# ZenML Server Exposure Detection Module
id: zenml-server-exposure
info:
name: ZenML Server Exposure
author: sif
severity: medium
description: Detects an exposed ZenML MLOps server over its unauthenticated info endpoint, disclosing the version and deployment topology including the database and secrets-store backends
tags: [zenml, ai, ml, mlops, exposure, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/api/v1/info"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "\"deployment_type\""
- type: word
part: body
words:
- "\"secrets_store_type\""
- type: word
part: body
words:
- "\"auth_scheme\""
extractors:
- type: regex
name: zenml_version
part: body
regex:
- '"version"\s*:\s*"([^"]+)"'
group: 1