{
  "schema": "aidefend-secureflow-metadata-v1",
  "flow_id": "aidefend-research-sf0069-praisonai-agentmail-unsigned-webhook-injection",
  "title": "PraisonAI AgentMail: An Unsigned Webhook Starts an Agent Run",
  "subtitle": "Webhook authenticity and initiating-actor authority are separate checks before an agent run.",
  "summary": "PraisonAI connects AI agents to messaging services. Its affected AgentMail webhook handler accepted an unsigned network request as an incoming email, trusted the supplied sender, and dispatched the text into an agent session. A local runtime test reached a canary agent through the real handler; it did not send real email or demonstrate a dangerous tool executing. The vulnerability is tracked as CVE-2026-61428 and fixed in 4.6.78.",
  "reviewed": true,
  "import_status": "curated-research",
  "ai_layers": [
    "autonomous-agents"
  ],
  "risk_impact": [
    "data-exfiltration",
    "resource-hijacking-cost"
  ],
  "affected_components": [
    "PraisonAI AgentMailBot",
    "AgentMail HTTP webhook receiver",
    "Agent session dispatcher"
  ],
  "source_research": {
    "provider": "PraisonAI",
    "primary_url": "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-qj9c-59p6-8cgx",
    "published": "2026-06-25",
    "note": "Source-grounded AIDEFEND curation. ATLAS annotations describe the supported mechanism and do not establish an official ATLAS case or unreported malicious intent."
  },
  "attack_steps": [
    {
      "id": "post-forged-event",
      "title": "Post a Forged message.received Event",
      "zhTitle": "送出偽造的 message.received 事件",
      "summary": "The local reproduction posts an unsigned type/data JSON event with a caller-selected sender and body to the actual AgentMail webhook handler. This handler shape is not the canonical verified provider event format.",
      "zhSummary": "本機重現測試把未簽署的 type／data JSON 事件送到真正的 AgentMail Webhook 接收器，寄件者與內文均由請求端指定。這是受影響接收器接受的格式，不代表提供者正式簽署的事件格式。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": -720,
        "y": 0
      }
    },
    {
      "id": "accept-unsigned-delivery",
      "title": "Accept the Event without Signature Verification",
      "zhTitle": "未驗證簽章就接受事件",
      "summary": "The handler parses the body and recognizes message.received without authenticating the raw delivery or endpoint secret. Webhook/hybrid mode exposes this HTTP admission boundary.",
      "zhSummary": "接收器尚未驗證原始投遞內容與端點秘密值，就解析 JSON 並接受 message.received。問題位於 Webhook／混合模式的 HTTP 事件接收邊界。",
      "tactic": "AML.TA0004",
      "technique": "AML.T0049",
      "layout": {
        "x": -240,
        "y": 0
      }
    },
    {
      "id": "trust-sender-field",
      "title": "Build a Message from the Spoofed Sender",
      "zhTitle": "把偽造寄件者組成內部訊息",
      "summary": "The payload fields become a BotMessage; sender allow/block decisions rely on the attacker-controlled from value. Transport delivery authenticity and actor authorization have not been established.",
      "zhSummary": "請求欄位被轉成 BotMessage；寄件者允許／封鎖名單所使用的 from 值，仍由攻擊者控制。此時既未確認投遞來源，也未確認發起者權限。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 240,
        "y": 0
      }
    },
    {
      "id": "invoke-agent-session",
      "title": "Dispatch the Forged Text to the Agent Session",
      "zhTitle": "將偽造文字交給 Agent 工作階段",
      "summary": "The real handler reaches session.chat in the local runtime test. The agent is a canary recorder and no real email is sent; privileged-tool misuse and message exfiltration remain conditional consequences.",
      "zhSummary": "真正的接收器在本機測試中呼叫到 session.chat。受測 agent 只是記錄是否收到訊息的測試元件，沒有寄出真實郵件；特權工具濫用與郵件外洩仍屬條件式後果。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 720,
        "y": 0
      }
    }
  ],
  "threat_refs": [
    {
      "id": "AML.T0049",
      "name": "Exploit Public-Facing Application"
    }
  ]
}
