T09 · Insecure Skill Coding Practices
- Location
lib/api.js:27- Finding
Bearer Credentials and Sensitive Data Can Be Transmitted over Plaintext HTTP
- Content
View full analysis
{ ``` ### Technical Analysis The client automatically uses Node.js's plaintext `http` module whenever `RAGFLOW_URL` does not use HTTPS. No validation rejects an `http://` endpoint or warns the user before sending sensitive information. Every request includes `RAGFLOW_API_KEY` as a bearer credential. Depending on the operation, the same connection can also carry uploaded document contents, retrieval questions, dataset identifiers, and dataset-management commands. HTTP provides neither transport confidentiality nor server authentication, and it does not protect responses from modification. Although the configured RAGFlow server is an intended data recipient, allowing plaintext transport unnecessarily exposes both the credential and RAG data to systems positioned along the network path. ### Attack Path 1. A user or deployment configures `RAGFLOW_URL ...[truncated 1413 chars]- Remediation
View remediation
