{
  "schema": "aidefend-secureflow-metadata-v1",
  "flow_id": "aidefend-research-sf0095-sekoia-flowise-honeypot-agent-abuse",
  "title": "Flowise Honeypot: Unauthenticated API Abuse, Beacon Setup, and Agent Probing",
  "subtitle": "A Flowise API decoy recorded real credential harvesting, workflow changes and attempts to misuse an agent without exposing a working model or shell.",
  "summary": "Sekoia recorded six phases of real attacker traffic against an internet-facing decoy that emulated Flowise 2.2.8, a platform for building AI workflows. The exposed management API let the attacker retrieve planted credentials and add a workflow configured to call back. The attacker then tried to override prompts, probe session memory and ask the simulated agent about real third-party infrastructure. The decoy returned simulated responses, so the requests do not establish real command execution, database access or a Nightingale compromise.",
  "reviewed": true,
  "import_status": "curated-research",
  "ai_layers": [
    "autonomous-agents",
    "ai-infrastructure",
    "rag-knowledge"
  ],
  "risk_impact": [
    "credential-identity-theft",
    "data-exfiltration",
    "resource-hijacking-cost",
    "model-poisoning-integrity"
  ],
  "affected_components": [
    "Flowise 2.2.8 REST management endpoints (/api/v1/credentials, /api/v1/chatflows, /api/v1/variables)",
    "Flowise workflow builder and HTTP Request node execution surface",
    "Flowise /api/v1/prediction/{id} inference endpoint and overrideConfig.systemMessage parameter",
    "Connected RAG knowledge store, session memory, and internal network reachability"
  ],
  "source_research": {
    "provider": "Sekoia TDR Team",
    "primary_url": "https://www.sekoia.com/blog/a-honeypots-tale-deconstructing-an-attack-on-genai-infrastructure",
    "published": "2026-10-19",
    "note": "The exposed surface was a custom Flowise REST API emulator with per-IP session simulation and a fake event stream. The source confirms attacker requests and decoy responses, not actual LLM inference, real shell or database access, a successful outbound callback, or compromise of the referenced third-party target."
  },
  "attack_steps": [
    {
      "id": "fingerprint-enum",
      "title": "Identify the exposed Flowise API and list workflows",
      "zhTitle": "探測對外開放的 Flowise API 並列出對話工作流程",
      "summary": "The attacker fingerprinted and enumerated the unrestricted management surface presented by Sekoia's Flowise 2.2.8 emulator.",
      "zhSummary": "攻擊者辨識 Sekoia 模擬的 Flowise 2.2.8，接著列出未要求身分驗證的管理介面提供的工作流程。",
      "tactic": "AML.TA0004",
      "technique": "AML.T0132",
      "layout": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "credential-exfil",
      "title": "Retrieve the decoy API and database credentials",
      "zhTitle": "從蜜罐取走誘餌 API 與資料庫憑證",
      "summary": "Credential detail requests returned planted OpenAI, Anthropic and RAG PostgreSQL credentials. These were decoy records.",
      "zhSummary": "攻擊者查詢個別憑證後，收到研究團隊預先放入的 OpenAI、Anthropic 和 RAG PostgreSQL 誘餌憑證。",
      "tactic": "AML.TA0013",
      "technique": "AML.T0083",
      "layout": {
        "x": 650,
        "y": -670
      }
    },
    {
      "id": "api-surface-scan",
      "title": "Enumerate management routes and probe prediction",
      "zhTitle": "掃描 14 個管理 API 路由並測試推論端點",
      "summary": "After a pause of roughly two hours, the attacker swept 14 management routes and sent a small request to probe the prediction interface.",
      "zhSummary": "間隔約兩小時後，攻擊者先掃描 14 個管理 API 路由，再送出一個簡短的請求試探推論介面能不能用。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 650,
        "y": 0
      }
    },
    {
      "id": "workflow-beacon",
      "title": "Change workflow definitions and configure a callback",
      "zhTitle": "嘗試更改工作流程並新增 HTTP 回連流程",
      "summary": "The attacker tried renaming an existing flow and added System Status with an HTTP Request callback. A configured callback is evidence of intent, not that the decoy executed it.",
      "zhSummary": "攻擊者先試著替既有流程改名，又在新增的 System Status 流程裡放入 HTTP Request 節點，企圖讓它在執行時對外回連。不過這只代表流程曾被這樣設定，報告並未證實蜜罐真的有送出該請求。",
      "tactic": "AML.TA0006",
      "technique": "AML.T0081",
      "layout": {
        "x": 1300,
        "y": -670
      }
    },
    {
      "id": "prompt-memory-override",
      "title": "Probe shell access, session memory and prompt overrides",
      "zhTitle": "嘗試執行命令、探查記憶並覆寫系統提示詞",
      "summary": "The submitted prediction requests probed shell access, prompt disclosure and cross-session memory. One request tried to set overrideConfig.systemMessage. The emulator supplied simulated responses.",
      "zhSummary": "攻擊者送出推論請求，先後試探能不能執行系統命令、套出系統提示詞及跨越工作階段讀取記憶，其中一筆還傳入 overrideConfig.systemMessage 試圖覆寫提示詞。不過蜜罐全程只回傳模擬結果。",
      "tactic": "AML.TA0005",
      "technique": "AML.T0051.000",
      "layout": {
        "x": 1300,
        "y": 0
      }
    },
    {
      "id": "rag-internal-recon",
      "title": "Ask the decoy to query internal RAG data and scan a fake host",
      "zhTitle": "要求查詢內部 RAG 資料並掃描模擬主機",
      "summary": "Under a supposed security assessment, the attacker asked for finance retrieval and internal reconnaissance. The target and database were simulated.",
      "zhSummary": "攻擊者自稱受委託在做資安評估，要求代理查詢財務資料並掃描內部網路；但這些內部主機和資料庫同樣都只是蜜罐模擬出來的。",
      "tactic": "AML.TA0009",
      "technique": "AML.T0085.000",
      "layout": {
        "x": 1910,
        "y": 0
      }
    },
    {
      "id": "offensive-llm-pivot",
      "title": "Request analysis of a real Nightingale target and poll decoy state",
      "zhTitle": "要求分析外部 Nightingale 系統並持續查詢蜜罐狀態",
      "summary": "The attacker supplied Redis entry names from a real external target and asked for guidance in Chinese. Later requests polled variables and workflows about every ten minutes.",
      "zhSummary": "攻擊者提供了真實外部目標的 Redis 資料鍵名，要求以中文分析 Nightingale v6。後來約每 10 分鐘查詢一次蜜罐的變數和流程。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 2520,
        "y": 0
      }
    }
  ],
  "threat_refs": [
    {
      "id": "AML.T0132",
      "name": "Misconfigured or Publicly Exposed AI Services"
    },
    {
      "id": "AML.T0083",
      "name": "Credentials from AI Agent Configuration"
    },
    {
      "id": "AML.T0081",
      "name": "Modify AI Agent Configuration"
    },
    {
      "id": "AML.T0051.000",
      "name": "Direct"
    },
    {
      "id": "AML.T0085.000",
      "name": "RAG Databases"
    }
  ],
  "reader_narrative": {
    "pathCount": 2,
    "topologyNote": "The arrows follow related requests at the decoy. Obtaining planted credentials was not a prerequisite for creating the workflow, and a requested activity is not a confirmed execution result.",
    "groups": [
      {
        "id": "p1",
        "kind": "shared",
        "eyebrow": "Phase 1",
        "label": "Identify the decoy and retrieve decoy credentials",
        "summary": "Real requests reached the emulated management API and retrieved planted credential records.",
        "stepIds": [
          "fingerprint-enum",
          "credential-exfil"
        ]
      },
      {
        "id": "p34",
        "kind": "path",
        "eyebrow": "Phases 3–4",
        "label": "Management requests and a configured beacon",
        "summary": "After a pause, the attacker scanned management routes and configured a workflow callback. The path does not depend on using the decoy credentials.",
        "stepIds": [
          "api-surface-scan",
          "workflow-beacon"
        ]
      },
      {
        "id": "p5",
        "kind": "path",
        "eyebrow": "Phases 5–6",
        "label": "Simulated agent probes and later polling",
        "summary": "The attacker requested command execution, data retrieval and help analyzing a real external target. The decoy did not run a real model or connect to internal systems.",
        "stepIds": [
          "prompt-memory-override",
          "rag-internal-recon",
          "offensive-llm-pivot"
        ]
      }
    ]
  }
}
