Back to Home
shawnmcrowley icon

ai_workflows

by shawnmcrowley

Overview

A comprehensive system for building, managing, and executing AI workflows, intelligent agents, and document processing pipelines leveraging Langflow's visual builder, PostgreSQL for vector database capabilities, and local Ollama models for privacy-focused AI processing.

Installation

Run Command
npm start

Environment Variables

  • LANGFLOW_DATABASE_URL
  • LANGFLOW_CONFIG_DIR
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_DB
  • OLLAMA_HOST
  • OLLAMA_BASE_URL

Security Notes

The source code presents critical security vulnerabilities. Firstly, a Langflow API key (`sk-AEDsSFO3Lg3H85crq64Co1hmezOIhraCVCvxO8LKeZU`) is hardcoded in `src/app/scripts/index.js`. If this script is exposed client-side, the API key would be immediately compromised. Secondly, the `executeWorkflowAction` server action in `src/app/actions/workflow-actions.js` allows a user-controlled `endpoint` to be used in server-side `fetch` requests (`executeGenericRequest`). This introduces a severe Server-Side Request Forgery (SSRF) vulnerability, enabling potential attackers to make the server request internal network resources, scan internal networks, or trigger unintended actions on other internal services. The Langflow `APIRequest` component within `flows/External API.json` also directly uses a `url_input` for `httpx` requests, presenting another SSRF vector if that specific Langflow flow can be triggered with malicious input.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Stars0
Forks0
Last Update2026-01-16

Tags

AIWorkflowsLangflowOllamaPostgreSQLDocument ProcessingSemantic SearchAI Agents