optimize-postgres-query

Warn

Audited by Snyk on Nov 27, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (low risk: 0.10). The required workflow queries the user's own production database for real parameter values and runs EXPLAIN and A/B comparisons against it, so any outsider-submitted text stored there (for example, user comments) could reach the agent only after the agent selects specific rows.

MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill directs the agent to create and drop indexes with DDL on production databases and to run VACUUM ANALYZE and apply migrations, which changes supporting database state, but no irreversible operational loss is established because each index change has a stated revert.

Issues (2)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 27, 2026, 12:53 AM
Issues
2