{
  "schema": "aidefend-secureflow-metadata-v1",
  "flow_id": "aidefend-research-sf0104-together-ai-coding-agent-credential-prompt-leak",
  "title": "Together AI Prompt Leak: A Coding Agent Committed a Credential, Then Customer Prompt Samples Were Downloaded",
  "subtitle": "Together AI says an AI coding agent committed a credential to its public xorl repository. An unauthorized party used it to download customer prompt samples stored in a private Hugging Face repository, then searched the samples for credentials to other services and tested them.",
  "summary": "Together AI, a provider of hosted model inference, disclosed on November 21, 2026 that an unauthorized party downloaded stored samples of customer prompts. An AI coding agent had committed a credential to xorl, the company's public GitHub repository, and that credential gave access to a private repository on Hugging Face, the model and dataset hosting platform, where the samples were kept for software testing. While the credential was exposed, the party obtained it, downloaded the samples, searched them for credentials to other services and tested those; five were canary credentials from a Dragos security experiment. Together AI has given no counts, and its review of what the samples contain is still under way.",
  "reviewed": true,
  "import_status": "curated-research",
  "ai_layers": [
    "ai-infrastructure",
    "autonomous-agents"
  ],
  "risk_impact": [
    "data-exfiltration",
    "credential-identity-theft"
  ],
  "affected_components": [
    "Together AI serverless inference prompt samples",
    "Private Hugging Face repository used as a test data store",
    "AI coding agent in the xorl development workflow",
    "Customer credentials contained in prompts"
  ],
  "source_research": {
    "provider": "Together AI",
    "primary_url": "https://www.together.ai/blog/security-event-prompt-leakage-for-requests-in-june-and-july-of-2026",
    "published": "2026-11-21",
    "note": "Together AI's notice confirms the download and the credential testing. It does not state the number of prompts or customers, the date of the commit, how long the credential was exposed, which coding agent was used, or whether any credential found in the samples gave access to another service. Dragos does not name Together AI in its study."
  },
  "attack_steps": [
    {
      "id": "agent-commits-credential",
      "title": "AI coding agent commits a private-repository credential to the public xorl repository",
      "zhTitle": "AI 程式開發 agent 把私有 repo 的憑證提交到公開的 xorl repo",
      "summary": "During development of xorl, Together AI's public GitHub repository, an AI coding agent committed a credential that gave access to a private Hugging Face repository. Together AI's automated scanning detected the exposed credential and the commit was reverted. The notice does not say how the credential got into the commit.",
      "zhSummary": "Together AI 開發公開的 GitHub repo xorl 時，一個 AI 程式開發 agent 提交了一組能存取私有 Hugging Face repo 的憑證。Together AI 的自動掃描偵測到這組外露的憑證，團隊也還原了這次提交。公告沒有說明憑證是怎麼被寫進提交內容的。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "obtain-exposed-credential",
      "title": "Unauthorized party obtains the credential during the exposure window",
      "zhTitle": "未經授權的第三方在憑證外露期間取得憑證",
      "summary": "While the credential was exposed, an unauthorized party obtained it. Together AI does not identify the party or say how long the exposure lasted.",
      "zhSummary": "在憑證外露的這段期間，有未經授權的第三方取得了這組憑證。Together AI 沒有指出對方是誰，也沒有說明外露持續了多久。",
      "tactic": "AML.TA0002",
      "technique": "AML.T0095.000",
      "layout": {
        "x": 610,
        "y": 0
      }
    },
    {
      "id": "download-prompt-samples",
      "title": "Use the credential to download stored prompt samples from the private Hugging Face repository",
      "zhTitle": "用這組憑證從私有 Hugging Face repo 下載提示詞樣本",
      "summary": "The party used the credential to download the prompt samples Together AI had stored for software testing. The samples came from requests to MiniMax M3, GLM-5.2 and Kimi K2.6, primarily on June 24, July 4, July 8 and July 14, 2026.",
      "zhSummary": "未經授權的第三方用這組憑證，下載 Together AI 為了軟體測試而存放的提示詞樣本。樣本取自客戶送給 MiniMax M3、GLM-5.2 與 Kimi K2.6 的請求，日期主要是 2026 年 6 月 24 日、7 月 4 日、7 月 8 日與 7 月 14 日。",
      "tactic": "AML.TA0009",
      "technique": "AML.T0035",
      "layout": {
        "x": 1220,
        "y": 0
      }
    },
    {
      "id": "search-samples-for-credentials",
      "title": "Search the downloaded prompts for credentials to other services",
      "zhTitle": "在下載的提示詞裡搜尋其他服務的憑證",
      "summary": "The party searched the downloaded samples for credentials to other services that were present in the prompt text.",
      "zhSummary": "下載之後，這個第三方在樣本裡搜尋提示詞內容中出現的其他服務憑證。",
      "tactic": "AML.TA0013",
      "technique": "AML.T0055",
      "layout": {
        "x": 1830,
        "y": 0
      }
    },
    {
      "id": "test-harvested-credentials",
      "title": "Test whether the credentials found in the prompts are valid",
      "zhTitle": "測試從提示詞裡找到的憑證是否有效",
      "summary": "The party tested whether those credentials were valid. Five of the tested credentials were canary credentials associated with a Dragos security experiment. The notice does not say whether any real credential worked.",
      "zhSummary": "這個第三方逐一測試找到的憑證是否有效。被測試的憑證當中，有五組是與 Dragos 資安實驗有關的誘餌憑證。公告沒有說明是否有真實憑證通過測試。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 2440,
        "y": 0
      }
    }
  ],
  "threat_refs": [
    {
      "id": "AML.T0095.000",
      "name": "Code Repositories"
    },
    {
      "id": "AML.T0035",
      "name": "AI Artifact Collection"
    },
    {
      "id": "AML.T0055",
      "name": "Unsecured Credentials"
    }
  ],
  "reader_narrative": {
    "pathCount": 1,
    "topologyNote": "One ordered chain. The first step is an unintended action by Together AI's own coding agent. Every later step is the unauthorized party's.",
    "groups": [
      {
        "id": "exposure",
        "kind": "shared",
        "eyebrow": "Starting point",
        "label": "A coding agent publishes a credential",
        "summary": "During development of the public xorl repository, an AI coding agent committed a credential for a private Hugging Face repository.",
        "stepIds": [
          "agent-commits-credential"
        ]
      },
      {
        "id": "collection",
        "kind": "path",
        "eyebrow": "Unauthorized access",
        "label": "The credential is used to download stored prompt samples",
        "summary": "An unauthorized party obtained the credential while it was exposed and downloaded the samples.",
        "stepIds": [
          "obtain-exposed-credential",
          "download-prompt-samples"
        ]
      },
      {
        "id": "reuse",
        "kind": "path",
        "eyebrow": "Follow-on use",
        "label": "Credentials inside the prompts are searched and tested",
        "summary": "The party looked for credentials to other services in the samples and tested them. Five were Dragos canary credentials.",
        "stepIds": [
          "search-samples-for-credentials",
          "test-harvested-credentials"
        ]
      }
    ]
  }
}
