Files
sif/modules/recon/fastgpt-init-exposure.yaml
T
TigahandGitHub abcc22de38 feat(modules): detect exposed rag and knowledge apps (#238)
add recon modules for unauthenticated rag/search apps that leak config or health without a key: perplexica, verba, onyx, and fastgpt.
2026-07-02 17:00:44 -07:00

45 lines
936 B
YAML

# FastGPT Init Data Exposure Detection Module
id: fastgpt-init-exposure
info:
name: FastGPT Init Data Exposure
author: sif
severity: medium
description: Detects an exposed FastGPT knowledge-base chat platform; its init endpoint discloses the public system config, feature flags, and the configured model providers without authentication
tags: [fastgpt, llm, ai, rag, chat, ui, exposure, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/api/common/system/getInitData"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "\"feConfigs\""
- type: word
part: body
words:
- "\"modelProviders\""
- type: word
part: body
words:
- "\"aiproxyChannels\""
extractors:
- type: regex
name: fastgpt_title
part: body
regex:
- '"systemTitle"\s*:\s*"([^"]+)"'
group: 1