Files
sif/modules/recon/mindsdb-api-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
925 B
YAML

# MindsDB API Exposure Detection Module
id: mindsdb-api-exposure
info:
name: MindsDB API Exposure
author: sif
severity: high
description: Detects an exposed MindsDB server; with http auth disabled by default its sql and model api is reachable without a key, and the unauthenticated status endpoint discloses the version and whether auth is required
tags: [mindsdb, ai, ml, database, exposure, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/api/status"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "\"mindsdb_version\""
- type: word
part: body
words:
- "\"environment\""
- type: word
part: body
words:
- "\"provider\""
extractors:
- type: regex
name: mindsdb_version
part: body
regex:
- '"mindsdb_version"\s*:\s*"([^"]+)"'
group: 1