Files
sif/modules/recon/librechat-exposure.yaml
T
TigahandGitHub 9e2965b777 feat(modules): detect exposed llm chat frontends (#237)
add recon modules for unauthenticated chat uis that leak config or allow open signup without a key: open webui, librechat, anythingllm, and nextchat.
2026-07-02 12:55:39 -07:00

40 lines
821 B
YAML

# LibreChat Open Registration Exposure Detection Module
id: librechat-exposure
info:
name: LibreChat Open Registration
author: sif
severity: low
description: Detects a LibreChat instance whose pre-login config advertises open registration, letting anyone create an account and use its configured model providers
tags: [librechat, llm, ai, exposure, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/api/config"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "\"emailLoginEnabled\""
- type: regex
part: body
regex:
- '"registrationEnabled"\s*:\s*true'
extractors:
- type: regex
name: librechat_title
part: body
regex:
- '"appTitle"\s*:\s*"([^"]+)"'
group: 1