TC-2025-0041 · MCP · MCP

[email protected]

Toxic Agent Flow (Lethal Trifecta): an untrusted public GitHub issue contains a prompt injection that causes the over-scoped GitHub MCP server to read private repositories and publish their contents in a public pull request.

Signed ledger verdict

TC-2025-0041
Known bad (exit 2) mcp:[email protected]

IOC & scope: mcp:[email protected] (Private Repo Exfil via Issue Prompt Injection). Verified by human review and signed into the CC-BY 4.0 OSV v1.6.0 feed.

Recorded timestamp
2025-05-26
Canonical SHA-256
c60cbe735531723d…
Local hook action
Block (exit 2)
01 8-Vector Capability X-Ray (ABOM) & OWASP Agentic Crosswalk

Deterministic capability profile and taxonomy mapping.

Every artifact in the threat.cafe ledger is profiled across eight execution vectors and mapped to the OWASP Top 10 for Agentic Applications (ASI01-ASI10) and Agentic Skills & Tools (AST01-AST10).

8-Vector Capability X-Ray (ABOM)

  1. 1. Filesystem
    Sensitive paths touched: private_github_repositories
  2. 2. Environment
    Variables harvested: GITHUB_PERSONAL_ACCESS_TOKEN (repo full scope)
  3. 3. Network
    Outbound egress domains: api.github.com (public PR/issue creation)
  4. 4. Subprocess
    Process execution primitives: None observed
  5. 5. Lifecycle
    Install / startup hooks: None observed
  6. 6. OAuth / MCP
    Declared scopes: repo, read:org, workflow
  7. 7. Obfuscation
    Encoding / steganography: None observed
  8. 8. Provenance
    Attestation status: toxic_agent_flow_composition

Governance & detector mapping

  1. OWASP Agentic ASI (2026): ASI01 (Agent Goal Hijack), ASI02 (Tool Misuse & Exploitation), ASI03 (Identity & Privilege Abuse)
  2. OWASP Agentic AST (2026): AST02 (Tool & Skill Injection), AST07 (Cross-Tool Privilege Escalation)
  3. Deterministic rules matched: CONFIG_06_LETHAL_TRIFECTA

Version scoping & related records

  • No other versions of this package are currently listed on the board. Unlisted versions evaluate to unknown under local policy.yml.

Local CLI verification

$ threat-cafe-hook check "mcp:[email protected]"
[threat.cafe] known_bad: mcp:[email protected] (TC-2025-0041)
  Reason:  Toxic Agent Flow (Lethal Trifecta): an untrusted public GitHub issue contains a prompt in
  Source: https://invariantlabs.ai/blog/mcp-github-vulnerability (credited to Invariant Labs (Snyk))

OSV v1.6.0 machine-readable record

Included in /feed.json under CC-BY 4.0 license and verified by /feed.json.sig.

{
  "schema_version": "1.6.0",
  "id": "TC-2025-0041",
  "modified": "2025-05-26T14:00:00Z",
  "published": "2025-05-26T14:00:00Z",
  "summary": " Toxic Agent Flow (Lethal Trifecta): an untrusted public GitHub issue contains a prompt injection that causes the over-scoped GitHub MCP server to read private repositories and publish their contents in a public pull request.",
  "affected": [
    {
      "package": {
        "ecosystem": "mcp",
        "name": "github-mcp-lethal-trifecta"
      },
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "credits": [
    {
      "name": "Invariant Labs (Snyk)",
      "type": "FINDER"
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://invariantlabs.ai/blog/mcp-github-vulnerability"
    },
    {
      "type": "WEB",
      "url": "https://threat.cafe/incidents/tc-2025-0041/"
    }
  ],
  "database_specific": {
    "target": "mcp:[email protected]",
    "kind": "mcp",
    "verdict": "known_bad",
    "ioc": "mcp:[email protected] (Private Repo Exfil via Issue Prompt Injection)",
    "artifact_sha256": "c60cbe735531723da1259e6b9292ed6ab731f1c46b3a030c9ac5fc1760945c56",
    "owasp_asi": [
      "ASI01",
      "ASI02",
      "ASI03"
    ],
    "owasp_ast": [
      "AST02",
      "AST07"
    ],
    "rules_matched": [
      "CONFIG_06_LETHAL_TRIFECTA"
    ],
    "abom": {
      "fs_sensitive": [
        "private_github_repositories"
      ],
      "env_harvest": [
        "GITHUB_PERSONAL_ACCESS_TOKEN (repo full scope)"
      ],
      "net_egress": [
        "api.github.com (public PR/issue creation)"
      ],
      "proc_exec": [],
      "install_hooks": [],
      "oauth_scopes": [
        "repo",
        "read:org",
        "workflow"
      ],
      "obfuscation": [],
      "provenance": "toxic_agent_flow_composition"
    },
    "license": "CC-BY-4.0",
    "record_digest": "sha256:52f556a3d424ea7341f3a591099516bdbdb4ab79474b0b1a1776b2cdbdd62423",
    "release_signature_url": "https://threat.cafe/feed.json.sig"
  }
}

Have additional IOCs or a maintainer remediation update for TC-2025-0041?

Maintainer disputes and version-scoping updates are reviewed by a human within our 48-hour dispute SLA.