AgentReadyHomeAgent Listing

← PostgreSQL MCP

PostgreSQL MCP — agentic threat model

5.6AIVSS 5.6 · Medium

The PostgreSQL MCP agent presents a moderate-to-high risk profile due to direct database credential handling (DATABASE_URL), mitigated by explicit read-only transaction enforcement and row-capping guardrails.

OWASP AIVSS score rationale

AIVSS = (CVSS_Base + AARS) × Mitigation_Factor, where AARS = (10 − CVSS_Base) × (Factor_Sum / 10) × ThM
CVSS base 6.5AARS uplift 0.98Factor sum 2.8/10Threat ×1.0Mitigation ×0.75
Autonomy of Action
0.40
Goal-Driven Planning
0.20
Self-Modification
0.00
Dynamic Tool Use
0.60
Persistent Memory
0.10
Contextual Awareness
0.30
Dynamic Identity
0.50
Multi-Agent Interactions
0.20
Non-Determinism
0.30
Opacity & Reflexivity
0.20

Scored with the canonical OWASP AIVSS formula (AIVSS calculator reference); agentic risk factors estimated from the agent’s described capabilities.

MAESTRO 7-layer threat model

Per-layer threats for this agent. Layers tagged “not certain from listing” are general, caveated commentary where the public description didn’t pin that layer.

L1 · Foundation Models⚠ not certain from listing

Not certain from the listing — The agent acts as an MCP server and does not specify a native foundation model, but it is vulnerable to indirect prompt injection from database content that could manipulate the calling LLM.

L2 · Data Operations✓ mapped

Exposes database schemas, metadata, and table contents via SELECT queries. Primary risks include data exfiltration of sensitive database records and potential bypass of the row-limit cap if queries are structured maliciously.

L3 · Agent Frameworks✓ mapped

Integrates via the Model Context Protocol (MCP). Vulnerabilities include potential tool misuse where an orchestrating agent crafts complex, resource-intensive SELECT queries to cause denial of service on the database.

L4 · Deployment & Infrastructure✓ mapped

Requires a DATABASE_URL environment variable containing full database credentials. If the hosting environment or MCP host is compromised, these credentials could be leaked, exposing the database to direct, non-read-only access.

L5 · Evaluation & Observability⚠ not certain from listing

Not certain from the listing — The agent enforces a configurable MCP_MAX_ROWS result cap, but the listing does not detail internal logging, query auditing, or anomaly detection for unusual data access patterns.

L6 · Security & Compliance (cross-cutting)✓ mapped

Enforces read-only transactions and row limits as primary guardrails. However, it relies on the underlying database's access control policies and lacks native user-level authentication or fine-grained column-level authorization.

L7 · Agent Ecosystem✓ mapped

Designed to expose database tools to other agents in an MCP ecosystem. This introduces risks of cascading failures or unauthorized data exposure if a compromised upstream agent orchestrates the queries.

MAESTRO — the 7-layer agentic threat-modeling framework (Cloud Security Alliance / Ken Huang).