Files
sif/modules/recon/metaflow-metadata-exposure.yaml
T
TigahandGitHub c24617d16c feat(recon): add kubeflow pipelines and metaflow exposure modules (#290)
detect an anonymously reachable kubeflow pipelines apiserver, whose
same api accepts pipeline run submission with an attacker-supplied
workflow manifest (arbitrary container execution), and a metaflow
metadata service leaking flow and owner enumeration. match distinctive
snake_case json keys with status 200, fail closed on empty instances
to avoid the bare-substring false-positive class.
2026-07-22 12:46:15 -07:00

38 lines
829 B
YAML

# Metaflow Metadata Service Exposure Detection Module
id: metaflow-metadata-exposure
info:
name: Metaflow Metadata Service Exposure
author: sif
severity: medium
description: Detects a Metaflow metadata service reachable without auth, disclosing every registered flow's name, owner and creation time over its rest api
tags: [metaflow, mlops, data-orchestration, pipeline, api, exposure, unauth, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/flows"
matchers:
- type: word
part: body
words:
- "\"flow_id\""
- "\"user_name\""
- "\"ts_epoch\""
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: metaflow_flow_id
part: body
regex:
- '"flow_id"\s*:\s*"([^"]+)"'
group: 1