TC-2025-0044 · NPM · MCP

[email protected]

Lethal Trifecta in Supabase MCP deployment: running with service_role privileges allowed untrusted support ticket text to inject SQL that read and exfiltrated sensitive database tables.

Signed ledger verdict

TC-2025-0044
Known bad (exit 2) npm:[email protected]

IOC & scope: npm:[email protected] (Service-Role SQL Injection via Support Tickets). Verified by human review and signed into the CC-BY 4.0 OSV v1.6.0 feed.

Credited finder
General Analysis ↗
Recorded timestamp
2025-06-10
Canonical SHA-256
4a439fc5be66ad9b…
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: None observed
  2. 2. Environment
    Variables harvested: SUPABASE_SERVICE_ROLE_KEY
  3. 3. Network
    Outbound egress domains: *.supabase.co/rest/v1/rpc/exec_sql
  4. 4. Subprocess
    Process execution primitives: None observed
  5. 5. Lifecycle
    Install / startup hooks: None observed
  6. 6. OAuth / MCP
    Declared scopes: database:service_role_bypass_rls
  7. 7. Obfuscation
    Encoding / steganography: None observed
  8. 8. Provenance
    Attestation status: overprivileged_mcp_configuration

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_01_PLAINTEXT_SECRET, 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 "npm:[email protected]"
[threat.cafe] known_bad: npm:[email protected] (TC-2025-0044)
  Reason: Lethal Trifecta in Supabase MCP deployment: running with service_role privileges allowed u
  Source: https://www.generalanalysis.com/blog/supabase-mcp-blog (credited to General Analysis)

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-0044",
  "modified": "2025-06-10T15:00:00Z",
  "published": "2025-06-10T15:00:00Z",
  "summary": "Lethal Trifecta in Supabase MCP deployment: running with service_role privileges allowed untrusted support ticket text to inject SQL that read and exfiltrated sensitive database tables.",
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "supabase-mcp-server"
      },
      "versions": [
        "0.3.2"
      ]
    }
  ],
  "credits": [
    {
      "name": "General Analysis",
      "type": "FINDER"
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.generalanalysis.com/blog/supabase-mcp-blog"
    },
    {
      "type": "WEB",
      "url": "https://threat.cafe/incidents/tc-2025-0044/"
    }
  ],
  "database_specific": {
    "target": "npm:[email protected]",
    "kind": "mcp",
    "verdict": "known_bad",
    "ioc": "npm:[email protected] (Service-Role SQL Injection via Support Tickets)",
    "artifact_sha256": "4a439fc5be66ad9b69ad841c09bc00be63aa56da251d9f7a0d7b9d5d38730443",
    "owasp_asi": [
      "ASI01",
      "ASI02",
      "ASI03"
    ],
    "owasp_ast": [
      "AST02",
      "AST07"
    ],
    "rules_matched": [
      "CONFIG_01_PLAINTEXT_SECRET",
      "CONFIG_06_LETHAL_TRIFECTA"
    ],
    "abom": {
      "fs_sensitive": [],
      "env_harvest": [
        "SUPABASE_SERVICE_ROLE_KEY"
      ],
      "net_egress": [
        "*.supabase.co/rest/v1/rpc/exec_sql"
      ],
      "proc_exec": [],
      "install_hooks": [],
      "oauth_scopes": [
        "database:service_role_bypass_rls"
      ],
      "obfuscation": [],
      "provenance": "overprivileged_mcp_configuration"
    },
    "license": "CC-BY-4.0",
    "record_digest": "sha256:238625886b86f2ab55ef91d3b856944d3f66062330af593b568e04700ce160df",
    "release_signature_url": "https://threat.cafe/feed.json.sig"
  }
}

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

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